]> git.lizzy.rs Git - rust.git/blob - src/test/ui/pattern/slice-pattern-const-2.stderr
Rollup merge of #56832 - alexcrichton:external-demangle, r=Mark-Simulacrum
[rust.git] / src / test / ui / pattern / slice-pattern-const-2.stderr
1 error: unreachable pattern
2   --> $DIR/slice-pattern-const-2.rs:9:9
3    |
4 LL |         [4, 5, 6, 7] => (), //~ ERROR unreachable pattern
5    |         ^^^^^^^^^^^^
6    |
7 note: lint level defined here
8   --> $DIR/slice-pattern-const-2.rs:1:9
9    |
10 LL | #![deny(unreachable_patterns)]
11    |         ^^^^^^^^^^^^^^^^^^^^
12
13 error: unreachable pattern
14   --> $DIR/slice-pattern-const-2.rs:15:9
15    |
16 LL |         [4, 5, 6, 7] => (), //~ ERROR unreachable pattern
17    |         ^^^^^^^^^^^^
18
19 error: unreachable pattern
20   --> $DIR/slice-pattern-const-2.rs:28:9
21    |
22 LL |         FOO => (), //~ ERROR unreachable pattern
23    |         ^^^
24
25 error: aborting due to 3 previous errors
26