]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error: unreachable pattern |
dfeec247 | 2 | --> $DIR/match-byte-array-patterns.rs:8:9 |
b7449926 | 3 | | |
532ac7d7 | 4 | LL | &[0x41, 0x41, 0x41, 0x41] => {} |
b7449926 XL |
5 | | ^^^^^^^^^^^^^^^^^^^^^^^^^ |
6 | | | |
74b04a01 | 7 | note: the lint level is defined here |
dfeec247 | 8 | --> $DIR/match-byte-array-patterns.rs:1:9 |
b7449926 XL |
9 | | |
10 | LL | #![deny(unreachable_patterns)] | |
11 | | ^^^^^^^^^^^^^^^^^^^^ | |
12 | ||
13 | error: unreachable pattern | |
dfeec247 | 14 | --> $DIR/match-byte-array-patterns.rs:14:9 |
b7449926 | 15 | | |
532ac7d7 | 16 | LL | b"AAAA" => {}, |
b7449926 XL |
17 | | ^^^^^^^ |
18 | ||
19 | error: unreachable pattern | |
dfeec247 | 20 | --> $DIR/match-byte-array-patterns.rs:20:9 |
b7449926 | 21 | | |
532ac7d7 | 22 | LL | b"AAAA" => {}, |
b7449926 XL |
23 | | ^^^^^^^ |
24 | ||
25 | error: unreachable pattern | |
dfeec247 | 26 | --> $DIR/match-byte-array-patterns.rs:26:9 |
b7449926 | 27 | | |
532ac7d7 | 28 | LL | b"AAAA" => {}, |
b7449926 XL |
29 | | ^^^^^^^ |
30 | ||
31 | error: unreachable pattern | |
dfeec247 | 32 | --> $DIR/match-byte-array-patterns.rs:34:9 |
b7449926 | 33 | | |
532ac7d7 | 34 | LL | &[0x41, 0x41, 0x41, 0x41] => {} |
b7449926 XL |
35 | | ^^^^^^^^^^^^^^^^^^^^^^^^^ |
36 | ||
37 | error: unreachable pattern | |
dfeec247 | 38 | --> $DIR/match-byte-array-patterns.rs:40:9 |
b7449926 | 39 | | |
532ac7d7 | 40 | LL | b"AAAA" => {}, |
b7449926 XL |
41 | | ^^^^^^^ |
42 | ||
43 | error: unreachable pattern | |
dfeec247 | 44 | --> $DIR/match-byte-array-patterns.rs:46:9 |
b7449926 | 45 | | |
532ac7d7 | 46 | LL | b"AAAA" => {}, |
b7449926 XL |
47 | | ^^^^^^^ |
48 | ||
49 | error: unreachable pattern | |
dfeec247 | 50 | --> $DIR/match-byte-array-patterns.rs:52:9 |
b7449926 | 51 | | |
532ac7d7 | 52 | LL | b"AAAA" => {}, |
b7449926 XL |
53 | | ^^^^^^^ |
54 | ||
55 | error: aborting due to 8 previous errors | |
56 |