about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorDavid Wood <david@davidtw.co>2019-10-14 18:55:32 +0100
committerDavid Wood <david@davidtw.co>2019-10-23 22:10:58 +0100
commit7ffbd62445b9706325d01ec8be8e70c41404fe0d (patch)
treed968523abcb2a40c5dc6cc34f694d3bd999316c7 /src/test/debuginfo/enum-thinlto.rs
parent4a8c5b20c7772bc5342b83d4b0696ea216ef75a7 (diff)
downloadrust-7ffbd62445b9706325d01ec8be8e70c41404fe0d.tar.gz
rust-7ffbd62445b9706325d01ec8be8e70c41404fe0d.zip
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>
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions