rust/src/librustc_passes
bors d762b1d6c6 Auto merge of #45394 - davidtwco:rfc-2008, r=petrochenkov
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).
2017-11-04 18:07:07 +00:00
..
ast_validation.rs Auto merge of #45394 - davidtwco:rfc-2008, r=petrochenkov 2017-11-04 18:07:07 +00:00
Cargo.toml Remove internal liblog 2017-03-23 11:28:00 -07:00
consts.rs Add several lints into unused lint group 2017-10-29 22:14:23 +03:00
diagnostics.rs extended information for E0571 break with value in non-loop loop 2017-08-09 01:33:49 -07:00
hir_stats.rs Fix -Z hir-stats always panics (fix #43232). 2017-08-12 19:53:15 +08:00
lib.rs convert constant promotion into a query 2017-10-16 17:32:22 -04:00
loops.rs Merge remote-tracking branch 'origin/master' into gen 2017-08-16 10:03:47 -07:00
mir_stats.rs add TerminatorKind::FalseEdges and use it in matches 2017-11-02 09:43:36 +03:00
no_asm.rs annotate stricter lifetimes on LateLintPass methods to allow them to forward to a Visitor 2016-12-06 11:28:51 +01:00
static_recursion.rs use field init shorthand EVERYWHERE 2017-08-15 15:29:17 -07:00