]>
Commit | Line | Data |
---|---|---|
60c5eb7d | 1 | error[E0004]: non-exhaustive patterns: type `IndirectUninhabitedEnum` is non-empty |
e74abb32 | 2 | --> $DIR/indirect_match_same_crate.rs:34:11 |
48663c56 XL |
3 | | |
4 | LL | pub struct IndirectUninhabitedEnum(UninhabitedEnum); | |
60c5eb7d | 5 | | ---------------------------------------------------- `IndirectUninhabitedEnum` defined here |
48663c56 XL |
6 | ... |
7 | LL | match x {} | |
8 | | ^ | |
9 | | | |
10 | = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms | |
11 | ||
60c5eb7d | 12 | error[E0004]: non-exhaustive patterns: type `IndirectUninhabitedStruct` is non-empty |
e74abb32 | 13 | --> $DIR/indirect_match_same_crate.rs:38:11 |
48663c56 XL |
14 | | |
15 | LL | pub struct IndirectUninhabitedStruct(UninhabitedStruct); | |
60c5eb7d | 16 | | -------------------------------------------------------- `IndirectUninhabitedStruct` defined here |
48663c56 XL |
17 | ... |
18 | LL | match x {} | |
19 | | ^ | |
20 | | | |
21 | = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms | |
22 | ||
60c5eb7d | 23 | error[E0004]: non-exhaustive patterns: type `IndirectUninhabitedTupleStruct` is non-empty |
e74abb32 | 24 | --> $DIR/indirect_match_same_crate.rs:42:11 |
48663c56 XL |
25 | | |
26 | LL | pub struct IndirectUninhabitedTupleStruct(UninhabitedTupleStruct); | |
60c5eb7d | 27 | | ------------------------------------------------------------------ `IndirectUninhabitedTupleStruct` defined here |
48663c56 XL |
28 | ... |
29 | LL | match x {} | |
30 | | ^ | |
31 | | | |
32 | = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms | |
33 | ||
60c5eb7d | 34 | error[E0004]: non-exhaustive patterns: type `IndirectUninhabitedVariants` is non-empty |
e74abb32 | 35 | --> $DIR/indirect_match_same_crate.rs:48:11 |
48663c56 XL |
36 | | |
37 | LL | pub struct IndirectUninhabitedVariants(UninhabitedVariants); | |
60c5eb7d | 38 | | ------------------------------------------------------------ `IndirectUninhabitedVariants` defined here |
48663c56 XL |
39 | ... |
40 | LL | match x {} | |
41 | | ^ | |
42 | | | |
43 | = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms | |
44 | ||
45 | error: aborting due to 4 previous errors | |
46 | ||
47 | For more information about this error, try `rustc --explain E0004`. |