error: wildcard pattern covers any other pattern as it will match anyway. --> $DIR/wild_in_or_pats.rs:10:9 | LL | "bar" | _ => { | ^^^^^^^^^ help: consider replacing with wildcard pattern only: `_` | = note: `-D clippy::wildcard-in-or-patterns` implied by `-D warnings` error: wildcard pattern covers any other pattern as it will match anyway. --> $DIR/wild_in_or_pats.rs:18:9 | LL | "bar" | "bar2" | _ => { | ^^^^^^^^^^^^^^^^^^ help: consider replacing with wildcard pattern only: `_` error: wildcard pattern covers any other pattern as it will match anyway. --> $DIR/wild_in_or_pats.rs:26:9 | LL | _ | "bar" | _ => { | ^^^^^^^^^^^^^ help: consider replacing with wildcard pattern only: `_` error: wildcard pattern covers any other pattern as it will match anyway. --> $DIR/wild_in_or_pats.rs:34:9 | LL | _ | "bar" => { | ^^^^^^^^^ help: consider replacing with wildcard pattern only: `_` error: aborting due to 4 previous errors