2018-05-19 19:55:05 -05:00
|
|
|
error: unreachable pattern
|
|
|
|
--> $DIR/exhaustive_integer_patterns.rs:32:9
|
|
|
|
|
|
|
|
|
LL | 200 => {} //~ ERROR unreachable pattern
|
|
|
|
| ^^^
|
|
|
|
|
|
|
|
|
note: lint level defined here
|
|
|
|
--> $DIR/exhaustive_integer_patterns.rs:13:9
|
|
|
|
|
|
|
|
|
LL | #![deny(unreachable_patterns)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0004]: non-exhaustive patterns: `128u8...255u8` not covered
|
|
|
|
--> $DIR/exhaustive_integer_patterns.rs:37:11
|
|
|
|
|
|
|
|
|
LL | match x { //~ ERROR non-exhaustive patterns: `128u8...255u8` not covered
|
|
|
|
| ^ pattern `128u8...255u8` not covered
|
|
|
|
|
2018-05-21 14:50:40 -05:00
|
|
|
error[E0004]: non-exhaustive patterns: `11u8...19u8`, `31u8...34u8`, `36u8...69u8` and 1 more not covered
|
2018-05-19 19:55:05 -05:00
|
|
|
--> $DIR/exhaustive_integer_patterns.rs:42:11
|
|
|
|
|
|
|
|
|
LL | match x { //~ ERROR non-exhaustive patterns
|
2018-05-21 14:50:40 -05:00
|
|
|
| ^ patterns `11u8...19u8`, `31u8...34u8`, `36u8...69u8` and 1 more not covered
|
2018-05-19 19:55:05 -05:00
|
|
|
|
|
|
|
error: unreachable pattern
|
|
|
|
--> $DIR/exhaustive_integer_patterns.rs:53:9
|
|
|
|
|
|
|
|
|
LL | -2..=20 => {} //~ ERROR unreachable pattern
|
|
|
|
| ^^^^^^^
|
|
|
|
|
2018-05-21 14:50:40 -05:00
|
|
|
error[E0004]: non-exhaustive patterns: `-128i8...-6i8` and `122i8...127i8` not covered
|
2018-05-19 19:55:05 -05:00
|
|
|
--> $DIR/exhaustive_integer_patterns.rs:50:11
|
|
|
|
|
|
|
|
|
LL | match x { //~ ERROR non-exhaustive patterns
|
2018-05-21 14:50:40 -05:00
|
|
|
| ^ patterns `-128i8...-6i8` and `122i8...127i8` not covered
|
2018-05-19 19:55:05 -05:00
|
|
|
|
|
|
|
error: aborting due to 5 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0004`.
|