|
1 | 1 | error[E0004]: non-exhaustive patterns: `Err(_)` not covered
|
2 |
| - --> $DIR/uninhabited-matches-feature-gated.rs:5:19 |
| 2 | + --> $DIR/uninhabited-matches-feature-gated.rs:7:19 |
3 | 3 | |
|
4 | 4 | LL | let _ = match x {
|
5 | 5 | | ^ pattern `Err(_)` not covered
|
6 | 6 | |
|
7 | 7 | = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
8 | 8 |
|
9 | 9 | error[E0004]: non-exhaustive patterns: type `&Void` is non-empty
|
10 |
| - --> $DIR/uninhabited-matches-feature-gated.rs:10:19 |
| 10 | + --> $DIR/uninhabited-matches-feature-gated.rs:12:19 |
11 | 11 | |
|
12 | 12 | LL | let _ = match x {};
|
13 | 13 | | ^
|
14 | 14 | |
|
15 | 15 | = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
16 | 16 |
|
17 | 17 | error[E0004]: non-exhaustive patterns: type `(Void,)` is non-empty
|
18 |
| - --> $DIR/uninhabited-matches-feature-gated.rs:13:19 |
| 18 | + --> $DIR/uninhabited-matches-feature-gated.rs:15:19 |
19 | 19 | |
|
20 | 20 | LL | let _ = match x {};
|
21 | 21 | | ^
|
22 | 22 | |
|
23 | 23 | = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
24 | 24 |
|
25 | 25 | error[E0004]: non-exhaustive patterns: type `[Void; 1]` is non-empty
|
26 |
| - --> $DIR/uninhabited-matches-feature-gated.rs:16:19 |
| 26 | + --> $DIR/uninhabited-matches-feature-gated.rs:18:19 |
27 | 27 | |
|
28 | 28 | LL | let _ = match x {};
|
29 | 29 | | ^
|
30 | 30 | |
|
31 | 31 | = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
32 | 32 |
|
33 | 33 | error[E0004]: non-exhaustive patterns: `&[_]` not covered
|
34 |
| - --> $DIR/uninhabited-matches-feature-gated.rs:19:19 |
| 34 | + --> $DIR/uninhabited-matches-feature-gated.rs:21:19 |
35 | 35 | |
|
36 | 36 | LL | let _ = match x {
|
37 | 37 | | ^ pattern `&[_]` not covered
|
38 | 38 | |
|
39 | 39 | = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
40 | 40 |
|
41 | 41 | error[E0004]: non-exhaustive patterns: `Err(_)` not covered
|
42 |
| - --> $DIR/uninhabited-matches-feature-gated.rs:27:19 |
| 42 | + --> $DIR/uninhabited-matches-feature-gated.rs:29:19 |
43 | 43 | |
|
44 | 44 | LL | let _ = match x {
|
45 | 45 | | ^ pattern `Err(_)` not covered
|
46 | 46 | |
|
47 | 47 | = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
|
48 | 48 |
|
49 | 49 | error[E0005]: refutable pattern in local binding: `Err(_)` not covered
|
50 |
| - --> $DIR/uninhabited-matches-feature-gated.rs:32:9 |
| 50 | + --> $DIR/uninhabited-matches-feature-gated.rs:34:9 |
51 | 51 | |
|
52 | 52 | LL | let Ok(x) = x;
|
53 | 53 | | ^^^^^ pattern `Err(_)` not covered
|
|
0 commit comments