about summary refs log tree commit diff
path: root/src/test/ui/run-pass/iterators/iter-sum-overflow-debug.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-09-06 06:42:19 +0000
committerbors <bors@rust-lang.org>2018-09-06 06:42:19 +0000
commit20ca02569ae3e1dc29962e92739fbab632abf241 (patch)
tree00d5155617647e0d559f3180c23b5a4e16310011 /src/test/ui/run-pass/iterators/iter-sum-overflow-debug.rs
parent27e5457f3fa6c6e322e05352f0109f2cd511396c (diff)
parentae2ad30bf1f3f924ed9ef977b3d2782f85fe2593 (diff)
downloadrust-20ca02569ae3e1dc29962e92739fbab632abf241.tar.gz
rust-20ca02569ae3e1dc29962e92739fbab632abf241.zip
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
Diffstat (limited to 'src/test/ui/run-pass/iterators/iter-sum-overflow-debug.rs')
0 files changed, 0 insertions, 0 deletions