| error: unreachable pattern |
| --> $DIR/exhaustiveness-unreachable-pattern.rs:16:9 |
| | |
| LL | (1,) => {} |
| | ^^^^ |
| | |
| note: lint level defined here |
| --> $DIR/exhaustiveness-unreachable-pattern.rs:4:9 |
| | |
| LL | #![deny(unreachable_patterns)] |
| | ^^^^^^^^^^^^^^^^^^^^ |
| |
| error: unreachable pattern |
| --> $DIR/exhaustiveness-unreachable-pattern.rs:21:9 |
| | |
| LL | (2,) => {} |
| | ^^^^ |
| |
| error: unreachable pattern |
| --> $DIR/exhaustiveness-unreachable-pattern.rs:27:9 |
| | |
| LL | (1 | 2,) => {} |
| | ^^^^^^^^ |
| |
| error: unreachable pattern |
| --> $DIR/exhaustiveness-unreachable-pattern.rs:32:9 |
| | |
| LL | (1, 3) => {} |
| | ^^^^^^ |
| |
| error: unreachable pattern |
| --> $DIR/exhaustiveness-unreachable-pattern.rs:33:9 |
| | |
| LL | (1, 4) => {} |
| | ^^^^^^ |
| |
| error: unreachable pattern |
| --> $DIR/exhaustiveness-unreachable-pattern.rs:34:9 |
| | |
| LL | (2, 4) => {} |
| | ^^^^^^ |
| |
| error: unreachable pattern |
| --> $DIR/exhaustiveness-unreachable-pattern.rs:35:9 |
| | |
| LL | (2 | 1, 4) => {} |
| | ^^^^^^^^^^ |
| |
| error: unreachable pattern |
| --> $DIR/exhaustiveness-unreachable-pattern.rs:37:9 |
| | |
| LL | (1, 4 | 5) => {} |
| | ^^^^^^^^^^ |
| |
| error: unreachable pattern |
| --> $DIR/exhaustiveness-unreachable-pattern.rs:42:9 |
| | |
| LL | (Some(1),) => {} |
| | ^^^^^^^^^^ |
| |
| error: unreachable pattern |
| --> $DIR/exhaustiveness-unreachable-pattern.rs:43:9 |
| | |
| LL | (None,) => {} |
| | ^^^^^^^ |
| |
| error: unreachable pattern |
| --> $DIR/exhaustiveness-unreachable-pattern.rs:48:9 |
| | |
| LL | ((1..=4,),) => {}, |
| | ^^^^^^^^^^^ |
| |
| error: unreachable pattern |
| --> $DIR/exhaustiveness-unreachable-pattern.rs:54:12 |
| | |
| LL | | 1,) => {} |
| | ^ |
| |
| error: unreachable pattern |
| --> $DIR/exhaustiveness-unreachable-pattern.rs:61:15 |
| | |
| LL | | 0] => {} |
| | ^ |
| |
| error: unreachable pattern |
| --> $DIR/exhaustiveness-unreachable-pattern.rs:59:15 |
| | |
| LL | | 0 |
| | ^ |
| |
| error: unreachable pattern |
| --> $DIR/exhaustiveness-unreachable-pattern.rs:69:10 |
| | |
| LL | [1 |
| | ^ |
| |
| error: unreachable pattern |
| --> $DIR/exhaustiveness-unreachable-pattern.rs:75:14 |
| | |
| LL | Some(0 |
| | ^ |
| |
| error: or-patterns are not fully implemented yet |
| --> $DIR/exhaustiveness-unreachable-pattern.rs:10:10 |
| | |
| LL | (0 | _,) => {} |
| | ^^^^^ |
| |
| error: aborting due to 17 previous errors |
| |