]> git.proxmox.com Git - rustc.git/blame - src/test/ui/pattern/usefulness/match-vec-unreachable.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / pattern / usefulness / match-vec-unreachable.stderr
CommitLineData
b7449926 1error: unreachable pattern
dfeec247 2 --> $DIR/match-vec-unreachable.rs:8:9
b7449926 3 |
532ac7d7 4LL | [(1, 2), (2, 3), b] => (),
b7449926
XL
5 | ^^^^^^^^^^^^^^^^^^^
6 |
74b04a01 7note: the lint level is defined here
dfeec247 8 --> $DIR/match-vec-unreachable.rs:1:9
b7449926
XL
9 |
10LL | #![deny(unreachable_patterns)]
11 | ^^^^^^^^^^^^^^^^^^^^
12
13error: unreachable pattern
dfeec247 14 --> $DIR/match-vec-unreachable.rs:18:9
b7449926 15 |
532ac7d7 16LL | [_, _, _, _, _] => { }
b7449926
XL
17 | ^^^^^^^^^^^^^^^
18
19error: unreachable pattern
dfeec247 20 --> $DIR/match-vec-unreachable.rs:26:9
b7449926 21 |
532ac7d7 22LL | ['a', 'b', 'c'] => {}
b7449926
XL
23 | ^^^^^^^^^^^^^^^
24
25error: aborting due to 3 previous errors
26