rust/src/test/ui/rfc-2008-non-exhaustive
David Wood 7ffbd62445
ignore uninhabited non-exhaustive variant fields
This commit modifies the uninhabitedness checking so that the fields of
a non-exhaustive variant (which is not local) are ignored if they are
uninhabited. This is an improvement over the previous behaviour which
considered all non-local non-exhaustive variants useful because
unreachable patterns are now detected.

Signed-off-by: David Wood <david@davidtw.co>
2019-10-23 22:10:58 +01:00
..
auxiliary
improper_ctypes
uninhabited
enum_same_crate.rs
enum.rs
enum.stderr
invalid-attribute.rs
invalid-attribute.stderr Reword malformed attribute input diagnostics 2019-05-25 11:55:50 -07:00
struct.rs
struct.stderr
structs_same_crate.rs
variant.rs
variant.stderr
variants_fictive_visibility.rs
variants_same_crate.rs