1 // aux-build:unstable.rs
5 use unstable::UnstableEnum;
8 match UnstableEnum::Stable {
9 UnstableEnum::Stable => {}
11 //~^^^ non-exhaustive patterns: `Stable2` and `_` not covered
13 match UnstableEnum::Stable {
14 UnstableEnum::Stable => {}
15 UnstableEnum::Stable2 => {}
17 //~^^^^ non-exhaustive patterns: `_` not covered