1
1
error[E0004]: non-exhaustive patterns: pattern `IndirectUninhabitedEnum` of type `IndirectUninhabitedEnum` is not handled
2
- --> $DIR/indirect_match_same_crate.rs:35 :11
2
+ --> $DIR/indirect_match_same_crate.rs:34 :11
3
3
|
4
4
LL | pub struct IndirectUninhabitedEnum(UninhabitedEnum);
5
5
| ----------------------------------------------------
@@ -13,7 +13,7 @@ LL | match x {}
13
13
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
14
14
15
15
error[E0004]: non-exhaustive patterns: pattern `IndirectUninhabitedStruct` of type `IndirectUninhabitedStruct` is not handled
16
- --> $DIR/indirect_match_same_crate.rs:39 :11
16
+ --> $DIR/indirect_match_same_crate.rs:38 :11
17
17
|
18
18
LL | pub struct IndirectUninhabitedStruct(UninhabitedStruct);
19
19
| --------------------------------------------------------
@@ -27,7 +27,7 @@ LL | match x {}
27
27
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
28
28
29
29
error[E0004]: non-exhaustive patterns: pattern `IndirectUninhabitedTupleStruct` of type `IndirectUninhabitedTupleStruct` is not handled
30
- --> $DIR/indirect_match_same_crate.rs:43 :11
30
+ --> $DIR/indirect_match_same_crate.rs:42 :11
31
31
|
32
32
LL | pub struct IndirectUninhabitedTupleStruct(UninhabitedTupleStruct);
33
33
| ------------------------------------------------------------------
@@ -41,7 +41,7 @@ LL | match x {}
41
41
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
42
42
43
43
error[E0004]: non-exhaustive patterns: pattern `IndirectUninhabitedVariants` of type `IndirectUninhabitedVariants` is not handled
44
- --> $DIR/indirect_match_same_crate.rs:49 :11
44
+ --> $DIR/indirect_match_same_crate.rs:48 :11
45
45
|
46
46
LL | pub struct IndirectUninhabitedVariants(UninhabitedVariants);
47
47
| ------------------------------------------------------------
0 commit comments