1
1
error[E0004]: non-exhaustive patterns: `u8::MAX` not covered
2
- --> $DIR/exhaustiveness.rs:47 :8
2
+ --> $DIR/exhaustiveness.rs:48 :8
3
3
|
4
4
LL | m!(0u8, 0..255);
5
5
| ^^^ pattern `u8::MAX` not covered
@@ -8,7 +8,7 @@ LL | m!(0u8, 0..255);
8
8
= note: the matched value is of type `u8`
9
9
10
10
error[E0004]: non-exhaustive patterns: `u8::MAX` not covered
11
- --> $DIR/exhaustiveness.rs:48 :8
11
+ --> $DIR/exhaustiveness.rs:49 :8
12
12
|
13
13
LL | m!(0u8, 0..=254);
14
14
| ^^^ pattern `u8::MAX` not covered
@@ -17,7 +17,7 @@ LL | m!(0u8, 0..=254);
17
17
= note: the matched value is of type `u8`
18
18
19
19
error[E0004]: non-exhaustive patterns: `0_u8` not covered
20
- --> $DIR/exhaustiveness.rs:49 :8
20
+ --> $DIR/exhaustiveness.rs:50 :8
21
21
|
22
22
LL | m!(0u8, 1..=255);
23
23
| ^^^ pattern `0_u8` not covered
@@ -26,7 +26,7 @@ LL | m!(0u8, 1..=255);
26
26
= note: the matched value is of type `u8`
27
27
28
28
error[E0004]: non-exhaustive patterns: `42_u8` not covered
29
- --> $DIR/exhaustiveness.rs:50 :8
29
+ --> $DIR/exhaustiveness.rs:51 :8
30
30
|
31
31
LL | m!(0u8, 0..42 | 43..=255);
32
32
| ^^^ pattern `42_u8` not covered
@@ -35,7 +35,7 @@ LL | m!(0u8, 0..42 | 43..=255);
35
35
= note: the matched value is of type `u8`
36
36
37
37
error[E0004]: non-exhaustive patterns: `i8::MAX` not covered
38
- --> $DIR/exhaustiveness.rs:51 :8
38
+ --> $DIR/exhaustiveness.rs:52 :8
39
39
|
40
40
LL | m!(0i8, -128..127);
41
41
| ^^^ pattern `i8::MAX` not covered
@@ -44,7 +44,7 @@ LL | m!(0i8, -128..127);
44
44
= note: the matched value is of type `i8`
45
45
46
46
error[E0004]: non-exhaustive patterns: `i8::MAX` not covered
47
- --> $DIR/exhaustiveness.rs:52 :8
47
+ --> $DIR/exhaustiveness.rs:53 :8
48
48
|
49
49
LL | m!(0i8, -128..=126);
50
50
| ^^^ pattern `i8::MAX` not covered
@@ -53,7 +53,7 @@ LL | m!(0i8, -128..=126);
53
53
= note: the matched value is of type `i8`
54
54
55
55
error[E0004]: non-exhaustive patterns: `i8::MIN` not covered
56
- --> $DIR/exhaustiveness.rs:53 :8
56
+ --> $DIR/exhaustiveness.rs:54 :8
57
57
|
58
58
LL | m!(0i8, -127..=127);
59
59
| ^^^ pattern `i8::MIN` not covered
@@ -62,7 +62,7 @@ LL | m!(0i8, -127..=127);
62
62
= note: the matched value is of type `i8`
63
63
64
64
error[E0004]: non-exhaustive patterns: `0_i8` not covered
65
- --> $DIR/exhaustiveness.rs:54 :11
65
+ --> $DIR/exhaustiveness.rs:55 :11
66
66
|
67
67
LL | match 0i8 {
68
68
| ^^^ pattern `0_i8` not covered
@@ -71,7 +71,7 @@ LL | match 0i8 {
71
71
= note: the matched value is of type `i8`
72
72
73
73
error[E0004]: non-exhaustive patterns: `u128::MAX` not covered
74
- --> $DIR/exhaustiveness.rs:59 :8
74
+ --> $DIR/exhaustiveness.rs:60 :8
75
75
|
76
76
LL | m!(0u128, 0..=ALMOST_MAX);
77
77
| ^^^^^ pattern `u128::MAX` not covered
@@ -80,7 +80,7 @@ LL | m!(0u128, 0..=ALMOST_MAX);
80
80
= note: the matched value is of type `u128`
81
81
82
82
error[E0004]: non-exhaustive patterns: `5_u128..=u128::MAX` not covered
83
- --> $DIR/exhaustiveness.rs:60 :8
83
+ --> $DIR/exhaustiveness.rs:61 :8
84
84
|
85
85
LL | m!(0u128, 0..=4);
86
86
| ^^^^^ pattern `5_u128..=u128::MAX` not covered
@@ -89,7 +89,7 @@ LL | m!(0u128, 0..=4);
89
89
= note: the matched value is of type `u128`
90
90
91
91
error[E0004]: non-exhaustive patterns: `0_u128` not covered
92
- --> $DIR/exhaustiveness.rs:61 :8
92
+ --> $DIR/exhaustiveness.rs:62 :8
93
93
|
94
94
LL | m!(0u128, 1..=u128::MAX);
95
95
| ^^^^^ pattern `0_u128` not covered
@@ -98,7 +98,7 @@ LL | m!(0u128, 1..=u128::MAX);
98
98
= note: the matched value is of type `u128`
99
99
100
100
error[E0004]: non-exhaustive patterns: `(126_u8..=127_u8, false)` not covered
101
- --> $DIR/exhaustiveness.rs:69 :11
101
+ --> $DIR/exhaustiveness.rs:70 :11
102
102
|
103
103
LL | match (0u8, true) {
104
104
| ^^^^^^^^^^^ pattern `(126_u8..=127_u8, false)` not covered
0 commit comments