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
9 error[E0004]: non-exhaustive patterns: type `uninhabited::UninhabitedStruct` is non-empty
10 --> $DIR/match.rs:23:11
15 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
17 error[E0004]: non-exhaustive patterns: type `uninhabited::UninhabitedTupleStruct` is non-empty
18 --> $DIR/match.rs:27:11
23 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
25 error[E0004]: non-exhaustive patterns: `Tuple(_)` and `Struct { .. }` not covered
26 --> $DIR/match.rs:31:11
29 | ^ patterns `Tuple(_)` and `Struct { .. }` not covered
31 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
33 error: aborting due to 4 previous errors
35 For more information about this error, try `rustc --explain E0004`.