1 error: pattern on wrong side of `@`
2 --> $DIR/intersection-patterns.rs:13:9
7 | | binding on the right, should be on the left
8 | pattern on the left, should be on the right
9 | help: switch the order: `y @ Some(x)`
11 error: left-hand side of `@` must be a binding
12 --> $DIR/intersection-patterns.rs:23:9
14 LL | Some(x) @ Some(y) => {}
18 | interpreted as a pattern, not a binding
20 = note: bindings are `x`, `mut x`, `ref x`, and `ref mut x`
22 error: pattern on wrong side of `@`
23 --> $DIR/intersection-patterns.rs:32:9
25 LL | 1 ..= 5 @ e => {}
28 | | binding on the right, should be on the left
29 | pattern on the left, should be on the right
30 | help: switch the order: `e @ 1..=5`
32 error: aborting due to 3 previous errors