rust/src/librustc_privacy
bors 20ca02569a Auto merge of #53721 - arielb1:exhaustively-unpun, r=nikomatsakis
fix `is_non_exhaustive` confusion between structs and enums

Structs and enums can both be non-exhaustive, with a very different
meaning. This PR splits `is_non_exhaustive` to 2 separate functions - 1
for structs, and another for enums, and fixes the places that got the
usage confused.

Fixes #53549.

r? @eddyb
2018-09-06 06:42:19 +00:00
..
Cargo.toml Light restructuring. 2018-08-23 13:12:53 +01:00
diagnostics.rs
lib.rs Auto merge of #53721 - arielb1:exhaustively-unpun, r=nikomatsakis 2018-09-06 06:42:19 +00:00