1 error: unreachable pattern
2 --> $DIR/slice-pattern-const-3.rs:28:9
4 LL | FOO => (), //~ ERROR unreachable pattern
7 note: lint level defined here
8 --> $DIR/slice-pattern-const-3.rs:1:9
10 LL | #![deny(unreachable_patterns)]
11 | ^^^^^^^^^^^^^^^^^^^^
13 error: aborting due to previous error