]>
Commit | Line | Data |
---|---|---|
0731742a | 1 | error: unreachable pattern |
72b1a166 | 2 | --> $DIR/slice-pattern-const-3.rs:9:9 |
0731742a | 3 | | |
72b1a166 FG |
4 | LL | ["4", "5", "6", "7"] => (), |
5 | | ^^^^^^^^^^^^^^^^^^^^ | |
0731742a | 6 | | |
72b1a166 | 7 | note: the lint level is defined here |
0731742a XL |
8 | --> $DIR/slice-pattern-const-3.rs:1:9 |
9 | | | |
10 | LL | #![deny(unreachable_patterns)] | |
11 | | ^^^^^^^^^^^^^^^^^^^^ | |
12 | ||
72b1a166 FG |
13 | error: unreachable pattern |
14 | --> $DIR/slice-pattern-const-3.rs:15:9 | |
15 | | | |
16 | LL | ["4", "5", "6", "7"] => (), | |
17 | | ^^^^^^^^^^^^^^^^^^^^ | |
18 | ||
19 | error: unreachable pattern | |
20 | --> $DIR/slice-pattern-const-3.rs:21:9 | |
21 | | | |
22 | LL | MAGIC_TEST => (), | |
23 | | ^^^^^^^^^^ | |
24 | ||
25 | error: unreachable pattern | |
26 | --> $DIR/slice-pattern-const-3.rs:28:9 | |
27 | | | |
28 | LL | FOO => (), | |
29 | | ^^^ | |
30 | ||
31 | error: aborting due to 4 previous errors | |
0731742a | 32 |