RFC 2008: Future-proofing enums/structs with #[non_exhaustive] attribute This work-in-progress pull request contains my changes to implement [RFC 2008](https://github.com/rust-lang/rfcs/pull/2008). The related tracking issue is #44109. As of writing, enum-related functionality is not included and there are some issues related to tuple/unit structs. Enum related tests are currently ignored. WIP PR requested by @nikomatsakis [in Gitter](https://gitter.im/rust-impl-period/WG-compiler-middle?at=59e90e6297cedeb0482ade3e). |
||
|---|---|---|
| .. | ||
| ast_validation.rs | ||
| Cargo.toml | ||
| consts.rs | ||
| diagnostics.rs | ||
| hir_stats.rs | ||
| lib.rs | ||
| loops.rs | ||
| mir_stats.rs | ||
| no_asm.rs | ||
| static_recursion.rs | ||