1 error[E0004]: non-exhaustive patterns: type `IndirectUninhabitedEnum` is non-empty
2 --> $DIR/indirect_match_same_crate.rs:34:11
7 note: `IndirectUninhabitedEnum` defined here
8 --> $DIR/indirect_match_same_crate.rs:20:12
10 LL | pub struct IndirectUninhabitedEnum(UninhabitedEnum);
11 | ^^^^^^^^^^^^^^^^^^^^^^^
12 = note: the matched value is of type `IndirectUninhabitedEnum`
13 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown
20 error[E0004]: non-exhaustive patterns: type `IndirectUninhabitedStruct` is non-empty
21 --> $DIR/indirect_match_same_crate.rs:38:11
26 note: `IndirectUninhabitedStruct` defined here
27 --> $DIR/indirect_match_same_crate.rs:22:12
29 LL | pub struct IndirectUninhabitedStruct(UninhabitedStruct);
30 | ^^^^^^^^^^^^^^^^^^^^^^^^^
31 = note: the matched value is of type `IndirectUninhabitedStruct`
32 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown
39 error[E0004]: non-exhaustive patterns: type `IndirectUninhabitedTupleStruct` is non-empty
40 --> $DIR/indirect_match_same_crate.rs:42:11
45 note: `IndirectUninhabitedTupleStruct` defined here
46 --> $DIR/indirect_match_same_crate.rs:24:12
48 LL | pub struct IndirectUninhabitedTupleStruct(UninhabitedTupleStruct);
49 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
50 = note: the matched value is of type `IndirectUninhabitedTupleStruct`
51 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown
58 error[E0004]: non-exhaustive patterns: type `IndirectUninhabitedVariants` is non-empty
59 --> $DIR/indirect_match_same_crate.rs:48:11
64 note: `IndirectUninhabitedVariants` defined here
65 --> $DIR/indirect_match_same_crate.rs:26:12
67 LL | pub struct IndirectUninhabitedVariants(UninhabitedVariants);
68 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
69 = note: the matched value is of type `IndirectUninhabitedVariants`
70 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown
77 error: aborting due to 4 previous errors
79 For more information about this error, try `rustc --explain E0004`.