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