]> git.lizzy.rs Git - rust.git/blob - src/test/ui/exhaustive_integer_patterns.stderr
6fabbebf4875aaf7b18109b6b72f5f5262538209
[rust.git] / src / test / ui / exhaustive_integer_patterns.stderr
1 error: unreachable pattern
2   --> $DIR/exhaustive_integer_patterns.rs:32:9
3    |
4 LL |         200 => {} //~ ERROR unreachable pattern
5    |         ^^^
6    |
7 note: lint level defined here
8   --> $DIR/exhaustive_integer_patterns.rs:13:9
9    |
10 LL | #![deny(unreachable_patterns)]
11    |         ^^^^^^^^^^^^^^^^^^^^
12
13 error[E0004]: non-exhaustive patterns: `128u8..=255u8` not covered
14   --> $DIR/exhaustive_integer_patterns.rs:37:11
15    |
16 LL |     match x { //~ ERROR non-exhaustive patterns
17    |           ^ pattern `128u8..=255u8` not covered
18
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
21    |
22 LL |     match x { //~ ERROR non-exhaustive patterns
23    |           ^ patterns `11u8..=19u8`, `31u8..=34u8`, `36u8..=69u8` and 1 more not covered
24
25 error: unreachable pattern
26   --> $DIR/exhaustive_integer_patterns.rs:53:9
27    |
28 LL |         -2..=20 => {} //~ ERROR unreachable pattern
29    |         ^^^^^^^
30
31 error[E0004]: non-exhaustive patterns: `-128i8..=-8i8`, `-6i8`, `121i8..=124i8` and 1 more not covered
32   --> $DIR/exhaustive_integer_patterns.rs:50:11
33    |
34 LL |     match x { //~ ERROR non-exhaustive patterns
35    |           ^ patterns `-128i8..=-8i8`, `-6i8`, `121i8..=124i8` and 1 more not covered
36
37 error[E0004]: non-exhaustive patterns: `-128i8` not covered
38   --> $DIR/exhaustive_integer_patterns.rs:99:11
39    |
40 LL |     match 0i8 { //~ ERROR non-exhaustive patterns
41    |           ^^^ pattern `-128i8` not covered
42
43 error[E0004]: non-exhaustive patterns: `0i16` not covered
44   --> $DIR/exhaustive_integer_patterns.rs:107:11
45    |
46 LL |     match 0i16 { //~ ERROR non-exhaustive patterns
47    |           ^^^^ pattern `0i16` not covered
48
49 error[E0004]: non-exhaustive patterns: `128u8..=255u8` not covered
50   --> $DIR/exhaustive_integer_patterns.rs:125:11
51    |
52 LL |     match 0u8 { //~ ERROR non-exhaustive patterns
53    |           ^^^ pattern `128u8..=255u8` not covered
54
55 error[E0004]: non-exhaustive patterns: `(0u8, Some(_))` and `(2u8..=255u8, Some(_))` not covered
56   --> $DIR/exhaustive_integer_patterns.rs:137:11
57    |
58 LL |     match (0u8, Some(())) { //~ ERROR non-exhaustive patterns
59    |           ^^^^^^^^^^^^^^^ patterns `(0u8, Some(_))` and `(2u8..=255u8, Some(_))` not covered
60
61 error: aborting due to 9 previous errors
62
63 For more information about this error, try `rustc --explain E0004`.