7ffbd62445
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> |
||
---|---|---|
.. | ||
auxiliary | ||
improper_ctypes | ||
uninhabited | ||
enum_same_crate.rs | ||
enum.rs | ||
enum.stderr | ||
invalid-attribute.rs | ||
invalid-attribute.stderr | ||
struct.rs | ||
struct.stderr | ||
structs_same_crate.rs | ||
variant.rs | ||
variant.stderr | ||
variants_fictive_visibility.rs | ||
variants_same_crate.rs |