1 error[E0004]: non-exhaustive patterns: type `uninhabited::UninhabitedEnum` is non-empty
2 --> $DIR/match.rs:19:11
7 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
8 = note: the matched value is of type `uninhabited::UninhabitedEnum`
10 error[E0004]: non-exhaustive patterns: type `uninhabited::UninhabitedStruct` is non-empty
11 --> $DIR/match.rs:23:11
16 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
17 = note: the matched value is of type `uninhabited::UninhabitedStruct`
19 error[E0004]: non-exhaustive patterns: type `uninhabited::UninhabitedTupleStruct` is non-empty
20 --> $DIR/match.rs:27:11
25 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
26 = note: the matched value is of type `uninhabited::UninhabitedTupleStruct`
28 error[E0004]: non-exhaustive patterns: `Tuple(_)` and `Struct { .. }` not covered
29 --> $DIR/match.rs:31:11
32 | ^ patterns `Tuple(_)` and `Struct { .. }` not covered
34 ::: $DIR/auxiliary/uninhabited.rs:17:23
36 LL | #[non_exhaustive] Tuple(!),
38 LL | #[non_exhaustive] Struct { x: ! }
41 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
42 = note: the matched value is of type `uninhabited::UninhabitedVariants`
44 error: aborting due to 4 previous errors
46 For more information about this error, try `rustc --explain E0004`.