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