]> git.proxmox.com Git - rustc.git/blame - src/test/ui/pattern/usefulness/slice-patterns-reachability.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / pattern / usefulness / slice-patterns-reachability.stderr
CommitLineData
60c5eb7d 1error: unreachable pattern
dfeec247 2 --> $DIR/slice-patterns-reachability.rs:8:9
60c5eb7d
XL
3 |
4LL | [true, ..] => {}
5 | ^^^^^^^^^^
6 |
74b04a01 7note: the lint level is defined here
dfeec247 8 --> $DIR/slice-patterns-reachability.rs:1:9
60c5eb7d
XL
9 |
10LL | #![deny(unreachable_patterns)]
11 | ^^^^^^^^^^^^^^^^^^^^
12
13error: unreachable pattern
dfeec247 14 --> $DIR/slice-patterns-reachability.rs:9:9
60c5eb7d
XL
15 |
16LL | [true] => {}
17 | ^^^^^^
18
19error: unreachable pattern
dfeec247 20 --> $DIR/slice-patterns-reachability.rs:14:9
60c5eb7d
XL
21 |
22LL | [.., true] => {}
23 | ^^^^^^^^^^
24
25error: unreachable pattern
dfeec247 26 --> $DIR/slice-patterns-reachability.rs:15:9
60c5eb7d
XL
27 |
28LL | [true] => {}
29 | ^^^^^^
30
31error: unreachable pattern
dfeec247 32 --> $DIR/slice-patterns-reachability.rs:20:9
60c5eb7d
XL
33 |
34LL | [false, .., true] => {}
35 | ^^^^^^^^^^^^^^^^^
36
37error: unreachable pattern
dfeec247 38 --> $DIR/slice-patterns-reachability.rs:21:9
60c5eb7d
XL
39 |
40LL | [false, true] => {}
41 | ^^^^^^^^^^^^^
42
43error: aborting due to 6 previous errors
44