2020-11-20 13:03:56 -06:00
|
|
|
error: unreachable pattern
|
2020-11-22 16:21:09 -06:00
|
|
|
--> $DIR/reachability.rs:17:17
|
2020-11-20 13:03:56 -06:00
|
|
|
|
|
|
|
|
LL | m!(0u8, 42, 42);
|
|
|
|
| ^^
|
|
|
|
|
|
|
|
|
note: the lint level is defined here
|
2020-11-22 16:21:09 -06:00
|
|
|
--> $DIR/reachability.rs:3:9
|
2020-11-20 13:03:56 -06:00
|
|
|
|
|
|
|
|
LL | #![deny(unreachable_patterns)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: unreachable pattern
|
2020-11-22 16:21:09 -06:00
|
|
|
--> $DIR/reachability.rs:21:22
|
2020-11-20 13:03:56 -06:00
|
|
|
|
|
|
|
|
LL | m!(0u8, 20..=30, 20);
|
|
|
|
| ^^
|
|
|
|
|
|
|
|
error: unreachable pattern
|
2020-11-22 16:21:09 -06:00
|
|
|
--> $DIR/reachability.rs:22:22
|
2020-11-20 13:03:56 -06:00
|
|
|
|
|
|
|
|
LL | m!(0u8, 20..=30, 21);
|
|
|
|
| ^^
|
|
|
|
|
|
|
|
error: unreachable pattern
|
2020-11-22 16:21:09 -06:00
|
|
|
--> $DIR/reachability.rs:23:22
|
2020-11-20 13:03:56 -06:00
|
|
|
|
|
|
|
|
LL | m!(0u8, 20..=30, 25);
|
|
|
|
| ^^
|
|
|
|
|
|
|
|
error: unreachable pattern
|
2020-11-22 16:21:09 -06:00
|
|
|
--> $DIR/reachability.rs:24:22
|
2020-11-20 13:03:56 -06:00
|
|
|
|
|
|
|
|
LL | m!(0u8, 20..=30, 29);
|
|
|
|
| ^^
|
|
|
|
|
|
|
|
error: unreachable pattern
|
2020-11-22 16:21:09 -06:00
|
|
|
--> $DIR/reachability.rs:25:22
|
2020-11-20 13:03:56 -06:00
|
|
|
|
|
|
|
|
LL | m!(0u8, 20..=30, 30);
|
|
|
|
| ^^
|
|
|
|
|
|
|
|
error: unreachable pattern
|
2020-11-22 16:21:09 -06:00
|
|
|
--> $DIR/reachability.rs:28:21
|
2020-11-20 13:03:56 -06:00
|
|
|
|
|
|
|
|
LL | m!(0u8, 20..30, 20);
|
|
|
|
| ^^
|
|
|
|
|
|
|
|
error: unreachable pattern
|
2020-11-22 16:21:09 -06:00
|
|
|
--> $DIR/reachability.rs:29:21
|
2020-11-20 13:03:56 -06:00
|
|
|
|
|
|
|
|
LL | m!(0u8, 20..30, 21);
|
|
|
|
| ^^
|
|
|
|
|
|
|
|
error: unreachable pattern
|
2020-11-22 16:21:09 -06:00
|
|
|
--> $DIR/reachability.rs:30:21
|
2020-11-20 13:03:56 -06:00
|
|
|
|
|
|
|
|
LL | m!(0u8, 20..30, 25);
|
|
|
|
| ^^
|
|
|
|
|
|
|
|
error: unreachable pattern
|
2020-11-22 16:21:09 -06:00
|
|
|
--> $DIR/reachability.rs:31:21
|
2020-11-20 13:03:56 -06:00
|
|
|
|
|
|
|
|
LL | m!(0u8, 20..30, 29);
|
|
|
|
| ^^
|
|
|
|
|
|
|
|
error: unreachable pattern
|
2020-11-22 16:21:09 -06:00
|
|
|
--> $DIR/reachability.rs:35:22
|
2020-11-20 13:03:56 -06:00
|
|
|
|
|
|
|
|
LL | m!(0u8, 20..=30, 20..=30);
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
error: unreachable pattern
|
2020-11-22 16:21:09 -06:00
|
|
|
--> $DIR/reachability.rs:36:22
|
2020-11-20 13:03:56 -06:00
|
|
|
|
|
|
|
|
LL | m!(0u8, 20.. 30, 20.. 30);
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
error: unreachable pattern
|
2020-11-22 16:21:09 -06:00
|
|
|
--> $DIR/reachability.rs:37:22
|
2020-11-20 13:03:56 -06:00
|
|
|
|
|
|
|
|
LL | m!(0u8, 20..=30, 20.. 30);
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
error: unreachable pattern
|
2020-11-22 16:21:09 -06:00
|
|
|
--> $DIR/reachability.rs:39:22
|
2020-11-20 13:03:56 -06:00
|
|
|
|
|
|
|
|
LL | m!(0u8, 20..=30, 21..=30);
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
error: unreachable pattern
|
2020-11-22 16:21:09 -06:00
|
|
|
--> $DIR/reachability.rs:40:22
|
2020-11-20 13:03:56 -06:00
|
|
|
|
|
|
|
|
LL | m!(0u8, 20..=30, 20..=29);
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
error: unreachable pattern
|
2020-11-22 16:21:09 -06:00
|
|
|
--> $DIR/reachability.rs:42:24
|
2020-11-20 13:03:56 -06:00
|
|
|
|
|
|
|
|
LL | m!('a', 'A'..='z', 'a'..='z');
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
error: unreachable pattern
|
2020-11-22 16:21:09 -06:00
|
|
|
--> $DIR/reachability.rs:49:9
|
2020-11-20 13:03:56 -06:00
|
|
|
|
|
|
|
|
LL | 5..=8 => {},
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
error: unreachable pattern
|
2020-11-22 16:21:09 -06:00
|
|
|
--> $DIR/reachability.rs:55:9
|
2020-11-20 13:03:56 -06:00
|
|
|
|
|
|
|
|
LL | 5..15 => {},
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
error: unreachable pattern
|
2020-11-22 16:21:09 -06:00
|
|
|
--> $DIR/reachability.rs:62:9
|
2020-11-20 13:03:56 -06:00
|
|
|
|
|
|
|
|
LL | 5..25 => {},
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
error: unreachable pattern
|
2020-11-22 16:21:09 -06:00
|
|
|
--> $DIR/reachability.rs:70:9
|
2020-11-20 13:03:56 -06:00
|
|
|
|
|
|
|
|
LL | 5..25 => {},
|
|
|
|
| ^^^^^
|
|
|
|
|
2020-11-28 15:23:38 -06:00
|
|
|
error: unreachable pattern
|
2020-11-22 16:21:09 -06:00
|
|
|
--> $DIR/reachability.rs:76:9
|
2020-11-28 15:23:38 -06:00
|
|
|
|
|
|
|
|
LL | 5..15 => {},
|
|
|
|
| ^^^^^
|
|
|
|
|
2020-11-20 13:03:56 -06:00
|
|
|
error: unreachable pattern
|
2020-11-22 16:21:09 -06:00
|
|
|
--> $DIR/reachability.rs:83:9
|
2020-11-20 13:03:56 -06:00
|
|
|
|
|
2021-09-25 18:00:08 -05:00
|
|
|
LL | _ => {},
|
|
|
|
| - matches any value
|
2020-11-20 13:03:56 -06:00
|
|
|
LL | '\u{D7FF}'..='\u{E000}' => {},
|
2021-09-25 18:00:08 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern
|
2020-11-20 13:03:56 -06:00
|
|
|
|
|
|
|
error: unreachable pattern
|
2020-11-22 16:21:09 -06:00
|
|
|
--> $DIR/reachability.rs:104:9
|
2020-11-20 13:03:56 -06:00
|
|
|
|
|
|
|
|
LL | &FOO => {}
|
|
|
|
| ^^^^
|
|
|
|
|
|
|
|
error: unreachable pattern
|
2020-11-22 16:21:09 -06:00
|
|
|
--> $DIR/reachability.rs:105:9
|
2020-11-20 13:03:56 -06:00
|
|
|
|
|
|
|
|
LL | BAR => {}
|
|
|
|
| ^^^
|
|
|
|
|
2020-11-28 15:23:38 -06:00
|
|
|
error: aborting due to 24 previous errors
|
2020-11-20 13:03:56 -06:00
|
|
|
|