1 error: unreachable pattern
2 --> $DIR/slice-pattern-const-2.rs:9:9
4 LL | [4, 5, 6, 7] => (),
7 note: the lint level is defined here
8 --> $DIR/slice-pattern-const-2.rs:1:9
10 LL | #![deny(unreachable_patterns)]
11 | ^^^^^^^^^^^^^^^^^^^^
13 error: unreachable pattern
14 --> $DIR/slice-pattern-const-2.rs:15:9
16 LL | [4, 5, 6, 7] => (),
19 error: unreachable pattern
20 --> $DIR/slice-pattern-const-2.rs:21:9
22 LL | MAGIC_TEST => (),
25 error: unreachable pattern
26 --> $DIR/slice-pattern-const-2.rs:28:9
31 error: aborting due to 4 previous errors