1 error: wildcard pattern covers any other pattern as it will match anyway.
2 --> $DIR/pats_with_wild_match_arm.rs:10:9
5 | ^^^^^^^^^ help: consider replacing with wildcard pattern only: `_`
7 = note: `-D clippy::pats-with-wild-match-arm` implied by `-D warnings`
9 error: wildcard pattern covers any other pattern as it will match anyway.
10 --> $DIR/pats_with_wild_match_arm.rs:18:9
12 LL | "bar" | "bar2" | _ => {
13 | ^^^^^^^^^^^^^^^^^^ help: consider replacing with wildcard pattern only: `_`
15 error: wildcard pattern covers any other pattern as it will match anyway.
16 --> $DIR/pats_with_wild_match_arm.rs:26:9
18 LL | _ | "bar" | _ => {
19 | ^^^^^^^^^^^^^ help: consider replacing with wildcard pattern only: `_`
21 error: wildcard pattern covers any other pattern as it will match anyway.
22 --> $DIR/pats_with_wild_match_arm.rs:34:9
25 | ^^^^^^^^^ help: consider replacing with wildcard pattern only: `_`
27 error: aborting due to 4 previous errors