|
1 | 1 | error: unreachable pattern
|
2 |
| - --> $DIR/exhaustive_integer_patterns.rs:32:9 |
| 2 | + --> $DIR/exhaustive_integer_patterns.rs:33:9 |
3 | 3 | |
|
4 | 4 | LL | 200 => {} //~ ERROR unreachable pattern
|
5 | 5 | | ^^^
|
6 | 6 | |
|
7 | 7 | note: lint level defined here
|
8 |
| - --> $DIR/exhaustive_integer_patterns.rs:13:9 |
| 8 | + --> $DIR/exhaustive_integer_patterns.rs:14:9 |
9 | 9 | |
|
10 | 10 | LL | #![deny(unreachable_patterns)]
|
11 | 11 | | ^^^^^^^^^^^^^^^^^^^^
|
12 | 12 |
|
13 | 13 | error[E0004]: non-exhaustive patterns: `128u8..=255u8` not covered
|
14 |
| - --> $DIR/exhaustive_integer_patterns.rs:37:11 |
| 14 | + --> $DIR/exhaustive_integer_patterns.rs:38:11 |
15 | 15 | |
|
16 | 16 | LL | match x { //~ ERROR non-exhaustive patterns
|
17 | 17 | | ^ pattern `128u8..=255u8` not covered
|
18 | 18 |
|
19 | 19 | error[E0004]: non-exhaustive patterns: `11u8..=19u8`, `31u8..=34u8`, `36u8..=69u8` and 1 more not covered
|
20 |
| - --> $DIR/exhaustive_integer_patterns.rs:42:11 |
| 20 | + --> $DIR/exhaustive_integer_patterns.rs:43:11 |
21 | 21 | |
|
22 | 22 | LL | match x { //~ ERROR non-exhaustive patterns
|
23 | 23 | | ^ patterns `11u8..=19u8`, `31u8..=34u8`, `36u8..=69u8` and 1 more not covered
|
24 | 24 |
|
25 | 25 | error: unreachable pattern
|
26 |
| - --> $DIR/exhaustive_integer_patterns.rs:53:9 |
| 26 | + --> $DIR/exhaustive_integer_patterns.rs:54:9 |
27 | 27 | |
|
28 | 28 | LL | -2..=20 => {} //~ ERROR unreachable pattern
|
29 | 29 | | ^^^^^^^
|
30 | 30 |
|
31 | 31 | error[E0004]: non-exhaustive patterns: `-128i8..=-8i8`, `-6i8`, `121i8..=124i8` and 1 more not covered
|
32 |
| - --> $DIR/exhaustive_integer_patterns.rs:50:11 |
| 32 | + --> $DIR/exhaustive_integer_patterns.rs:51:11 |
33 | 33 | |
|
34 | 34 | LL | match x { //~ ERROR non-exhaustive patterns
|
35 | 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 |
| - --> $DIR/exhaustive_integer_patterns.rs:99:11 |
| 38 | + --> $DIR/exhaustive_integer_patterns.rs:100:11 |
39 | 39 | |
|
40 | 40 | LL | match 0i8 { //~ ERROR non-exhaustive patterns
|
41 | 41 | | ^^^ pattern `-128i8` not covered
|
42 | 42 |
|
43 | 43 | error[E0004]: non-exhaustive patterns: `0i16` not covered
|
44 |
| - --> $DIR/exhaustive_integer_patterns.rs:107:11 |
| 44 | + --> $DIR/exhaustive_integer_patterns.rs:108:11 |
45 | 45 | |
|
46 | 46 | LL | match 0i16 { //~ ERROR non-exhaustive patterns
|
47 | 47 | | ^^^^ pattern `0i16` not covered
|
48 | 48 |
|
49 | 49 | error[E0004]: non-exhaustive patterns: `128u8..=255u8` not covered
|
50 |
| - --> $DIR/exhaustive_integer_patterns.rs:125:11 |
| 50 | + --> $DIR/exhaustive_integer_patterns.rs:126:11 |
51 | 51 | |
|
52 | 52 | LL | match 0u8 { //~ ERROR non-exhaustive patterns
|
53 | 53 | | ^^^ pattern `128u8..=255u8` not covered
|
54 | 54 |
|
55 | 55 | error[E0004]: non-exhaustive patterns: `(0u8, Some(_))` and `(2u8..=255u8, Some(_))` not covered
|
56 |
| - --> $DIR/exhaustive_integer_patterns.rs:137:11 |
| 56 | + --> $DIR/exhaustive_integer_patterns.rs:138:11 |
57 | 57 | |
|
58 | 58 | LL | match (0u8, Some(())) { //~ ERROR non-exhaustive patterns
|
59 | 59 | | ^^^^^^^^^^^^^^^ patterns `(0u8, Some(_))` and `(2u8..=255u8, Some(_))` not covered
|
60 | 60 |
|
61 | 61 | error[E0004]: non-exhaustive patterns: `(126u8..=127u8, false)` not covered
|
62 |
| - --> $DIR/exhaustive_integer_patterns.rs:142:11 |
| 62 | + --> $DIR/exhaustive_integer_patterns.rs:143:11 |
63 | 63 | |
|
64 | 64 | LL | match (0u8, true) { //~ ERROR non-exhaustive patterns
|
65 | 65 | | ^^^^^^^^^^^ pattern `(126u8..=127u8, false)` not covered
|
66 | 66 |
|
67 | 67 | error[E0004]: non-exhaustive patterns: `340282366920938463463374607431768211455u128` not covered
|
68 |
| - --> $DIR/exhaustive_integer_patterns.rs:162:11 |
| 68 | + --> $DIR/exhaustive_integer_patterns.rs:163:11 |
69 | 69 | |
|
70 | 70 | LL | match 0u128 { //~ ERROR non-exhaustive patterns
|
71 | 71 | | ^^^^^ pattern `340282366920938463463374607431768211455u128` not covered
|
72 | 72 |
|
73 | 73 | error[E0004]: non-exhaustive patterns: `5u128..=340282366920938463463374607431768211455u128` not covered
|
74 |
| - --> $DIR/exhaustive_integer_patterns.rs:166:11 |
| 74 | + --> $DIR/exhaustive_integer_patterns.rs:167:11 |
75 | 75 | |
|
76 | 76 | LL | match 0u128 { //~ ERROR non-exhaustive patterns
|
77 | 77 | | ^^^^^ pattern `5u128..=340282366920938463463374607431768211455u128` not covered
|
78 | 78 |
|
79 | 79 | error[E0004]: non-exhaustive patterns: `0u128..=3u128` not covered
|
80 |
| - --> $DIR/exhaustive_integer_patterns.rs:170:11 |
| 80 | + --> $DIR/exhaustive_integer_patterns.rs:171:11 |
81 | 81 | |
|
82 | 82 | LL | match 0u128 { //~ ERROR non-exhaustive patterns
|
83 | 83 | | ^^^^^ pattern `0u128..=3u128` not covered
|
|
0 commit comments