]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/tests/ui/wild_in_or_pats.stderr
New upstream version 1.52.1+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / wild_in_or_pats.stderr
CommitLineData
f20569fa
XL
1error: wildcard pattern covers any other pattern as it will match anyway
2 --> $DIR/wild_in_or_pats.rs:8:9
3 |
4LL | "bar" | _ => {
5 | ^^^^^^^^^
6 |
7 = note: `-D clippy::wildcard-in-or-patterns` implied by `-D warnings`
8 = help: consider handling `_` separately
9
10error: wildcard pattern covers any other pattern as it will match anyway
11 --> $DIR/wild_in_or_pats.rs:16:9
12 |
13LL | "bar" | "bar2" | _ => {
14 | ^^^^^^^^^^^^^^^^^^
15 |
16 = help: consider handling `_` separately
17
18error: wildcard pattern covers any other pattern as it will match anyway
19 --> $DIR/wild_in_or_pats.rs:24:9
20 |
21LL | _ | "bar" | _ => {
22 | ^^^^^^^^^^^^^
23 |
24 = help: consider handling `_` separately
25
26error: wildcard pattern covers any other pattern as it will match anyway
27 --> $DIR/wild_in_or_pats.rs:32:9
28 |
29LL | _ | "bar" => {
30 | ^^^^^^^^^
31 |
32 = help: consider handling `_` separately
33
34error: aborting due to 4 previous errors
35