1 error: unreachable pattern
2 --> $DIR/slice-pattern-const-2.rs:28:9
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: aborting due to previous error