]> git.lizzy.rs Git - rust.git/blob - src/test/ui/pattern/usefulness/slice-pattern-const-2.stderr
Merge commit '2ca58e7dda4a9eb142599638c59dc04d15961175' into clippyup
[rust.git] / src / test / ui / pattern / usefulness / slice-pattern-const-2.stderr
1 error: unreachable pattern
2   --> $DIR/slice-pattern-const-2.rs:28:9
3    |
4 LL |         FOO => (),
5    |         ^^^
6    |
7 note: the lint level is defined here
8   --> $DIR/slice-pattern-const-2.rs:1:9
9    |
10 LL | #![deny(unreachable_patterns)]
11    |         ^^^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14