1 error: the `y @ _` pattern can be written as just `y`
2 --> $DIR/patterns.rs:10:9
7 = note: `-D clippy::redundant-pattern` implied by `-D warnings`
9 error: the `x @ _` pattern can be written as just `x`
10 --> $DIR/patterns.rs:25:9
12 LL | ref mut x @ _ => {
13 | ^^^^^^^^^^^^^ help: try: `ref mut x`
15 error: the `x @ _` pattern can be written as just `x`
16 --> $DIR/patterns.rs:33:9
18 LL | ref x @ _ => println!("vec: {:?}", x),
19 | ^^^^^^^^^ help: try: `ref x`
21 error: aborting due to 3 previous errors