1 error: unreachable pattern
2 --> $DIR/slice-patterns-reachability.rs:8:9
7 note: the lint level is defined here
8 --> $DIR/slice-patterns-reachability.rs:1:9
10 LL | #![deny(unreachable_patterns)]
11 | ^^^^^^^^^^^^^^^^^^^^
13 error: unreachable pattern
14 --> $DIR/slice-patterns-reachability.rs:9:9
19 error: unreachable pattern
20 --> $DIR/slice-patterns-reachability.rs:14:9
25 error: unreachable pattern
26 --> $DIR/slice-patterns-reachability.rs:15:9
31 error: unreachable pattern
32 --> $DIR/slice-patterns-reachability.rs:20:9
34 LL | [false, .., true] => {}
37 error: unreachable pattern
38 --> $DIR/slice-patterns-reachability.rs:21:9
40 LL | [false, true] => {}
43 error: aborting due to 6 previous errors