@@ -16,30 +16,6 @@ help: Please ensure that all possible cases are being handled; possibly adding w
1616LL | let _ = match x {}; //~ ERROR non-exhaustive
1717 | ^
1818
19- error[E0004]: non-exhaustive patterns: type (Void,) is non-empty
20- --> $DIR/uninhabited-matches-feature-gated.rs:23:19
21- |
22- LL | let _ = match x {}; //~ ERROR non-exhaustive
23- | ^
24- |
25- help: Please ensure that all possible cases are being handled; possibly adding wildcards or more match arms.
26- --> $DIR/uninhabited-matches-feature-gated.rs:23:19
27- |
28- LL | let _ = match x {}; //~ ERROR non-exhaustive
29- | ^
30-
31- error[E0004]: non-exhaustive patterns: type [Void; 1] is non-empty
32- --> $DIR/uninhabited-matches-feature-gated.rs:26:19
33- |
34- LL | let _ = match x {}; //~ ERROR non-exhaustive
35- | ^
36- |
37- help: Please ensure that all possible cases are being handled; possibly adding wildcards or more match arms.
38- --> $DIR/uninhabited-matches-feature-gated.rs:26:19
39- |
40- LL | let _ = match x {}; //~ ERROR non-exhaustive
41- | ^
42-
4319error[E0004]: non-exhaustive patterns: `&[_]` not covered
4420 --> $DIR/uninhabited-matches-feature-gated.rs:29:19
4521 |
@@ -58,7 +34,7 @@ error[E0005]: refutable pattern in local binding: `Err(_)` not covered
5834LL | let Ok(x) = x;
5935 | ^^^^^ pattern `Err(_)` not covered
6036
61- error: aborting due to 7 previous errors
37+ error: aborting due to 5 previous errors
6238
6339Some errors occurred: E0004, E0005.
6440For more information about an error, try `rustc --explain E0004`.
0 commit comments