@@ -10,29 +10,29 @@ note: lint level defined here
10
10
LL | #![deny(unreachable_patterns)]
11
11
| ^^^^^^^^^^^^^^^^^^^^
12
12
13
- error[E0004]: non-exhaustive patterns: `128u8... 255u8` not covered
13
+ error[E0004]: non-exhaustive patterns: `128u8..= 255u8` not covered
14
14
--> $DIR/exhaustive_integer_patterns.rs:37:11
15
15
|
16
16
LL | match x { //~ ERROR non-exhaustive patterns
17
- | ^ pattern `128u8... 255u8` not covered
17
+ | ^ pattern `128u8..= 255u8` not covered
18
18
19
- error[E0004]: non-exhaustive patterns: `11u8... 19u8`, `31u8... 34u8`, `36u8... 69u8` and 1 more not covered
19
+ error[E0004]: non-exhaustive patterns: `11u8..= 19u8`, `31u8..= 34u8`, `36u8..= 69u8` and 1 more not covered
20
20
--> $DIR/exhaustive_integer_patterns.rs:42:11
21
21
|
22
22
LL | match x { //~ ERROR non-exhaustive patterns
23
- | ^ patterns `11u8... 19u8`, `31u8... 34u8`, `36u8... 69u8` and 1 more not covered
23
+ | ^ patterns `11u8..= 19u8`, `31u8..= 34u8`, `36u8..= 69u8` and 1 more not covered
24
24
25
25
error: unreachable pattern
26
26
--> $DIR/exhaustive_integer_patterns.rs:53:9
27
27
|
28
28
LL | -2..=20 => {} //~ ERROR unreachable pattern
29
29
| ^^^^^^^
30
30
31
- error[E0004]: non-exhaustive patterns: `-128i8... -8i8`, `-6i8`, `121i8... 124i8` and 1 more not covered
31
+ error[E0004]: non-exhaustive patterns: `-128i8..= -8i8`, `-6i8`, `121i8..= 124i8` and 1 more not covered
32
32
--> $DIR/exhaustive_integer_patterns.rs:50:11
33
33
|
34
34
LL | match x { //~ ERROR non-exhaustive patterns
35
- | ^ patterns `-128i8... -8i8`, `-6i8`, `121i8... 124i8` and 1 more not covered
35
+ | ^ patterns `-128i8..= -8i8`, `-6i8`, `121i8..= 124i8` and 1 more not covered
36
36
37
37
error[E0004]: non-exhaustive patterns: `-128i8` not covered
38
38
--> $DIR/exhaustive_integer_patterns.rs:99:11
0 commit comments