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)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2018-05-25 03:47:37 -05:00
|
|
|
error[E0004]: non-exhaustive patterns: `128u8..=255u8` not covered
|
2018-05-19 19:55:05 -05:00
|
|
|
--> $DIR/exhaustive_integer_patterns.rs:37:11
|
|
|
|
|
|
2018-05-21 19:03:05 -05:00
|
|
|
LL | match x { //~ ERROR non-exhaustive patterns
|
2018-05-25 03:47:37 -05:00
|
|
|
| ^ pattern `128u8..=255u8` not covered
|
2018-05-19 19:55:05 -05:00
|
|
|
|
2018-05-25 03:47:37 -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-25 03:47:37 -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-25 03:47:37 -05:00
|
|
|
error[E0004]: non-exhaustive patterns: `-128i8..=-8i8`, `-6i8`, `121i8..=124i8` and 1 more 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-25 03:47:37 -05:00
|
|
|
| ^ patterns `-128i8..=-8i8`, `-6i8`, `121i8..=124i8` and 1 more not covered
|
2018-05-19 19:55:05 -05:00
|
|
|
|
2018-05-21 19:03:05 -05:00
|
|
|
error[E0004]: non-exhaustive patterns: `-128i8` not covered
|
|
|
|
--> $DIR/exhaustive_integer_patterns.rs:99:11
|
|
|
|
|
|
|
|
|
LL | match 0i8 { //~ ERROR non-exhaustive patterns
|
|
|
|
| ^^^ pattern `-128i8` not covered
|
|
|
|
|
|
|
|
error[E0004]: non-exhaustive patterns: `0i16` not covered
|
|
|
|
--> $DIR/exhaustive_integer_patterns.rs:107:11
|
|
|
|
|
|
|
|
|
LL | match 0i16 { //~ ERROR non-exhaustive patterns
|
|
|
|
| ^^^^ pattern `0i16` not covered
|
|
|
|
|
2018-06-02 04:53:47 -05:00
|
|
|
error[E0004]: non-exhaustive patterns: `128u8..=255u8` not covered
|
|
|
|
--> $DIR/exhaustive_integer_patterns.rs:125:11
|
|
|
|
|
|
|
|
|
LL | match 0u8 { //~ ERROR non-exhaustive patterns
|
|
|
|
| ^^^ pattern `128u8..=255u8` not covered
|
|
|
|
|
2018-08-12 14:47:23 -05:00
|
|
|
error[E0004]: non-exhaustive patterns: `(0u8, Some(_))` and `(2u8..=255u8, Some(_))` not covered
|
|
|
|
--> $DIR/exhaustive_integer_patterns.rs:137:11
|
|
|
|
|
|
|
|
|
LL | match (0u8, Some(())) { //~ ERROR non-exhaustive patterns
|
|
|
|
| ^^^^^^^^^^^^^^^ patterns `(0u8, Some(_))` and `(2u8..=255u8, Some(_))` not covered
|
|
|
|
|
2018-08-13 21:02:31 -05:00
|
|
|
error[E0004]: non-exhaustive patterns: `(126u8..=127u8, false)` not covered
|
|
|
|
--> $DIR/exhaustive_integer_patterns.rs:142:11
|
|
|
|
|
|
|
|
|
LL | match (0u8, true) { //~ ERROR non-exhaustive patterns
|
|
|
|
| ^^^^^^^^^^^ pattern `(126u8..=127u8, false)` not covered
|
|
|
|
|
|
|
|
error: aborting due to 10 previous errors
|
2018-05-19 19:55:05 -05:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0004`.
|