fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: pattern on wrong side of `@` 2 --> $DIR/intersection-patterns-1.rs:17:9 3 | 4LL | Some(x) @ y => {} 5 | -------^^^- 6 | | | 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)` 10 11error: pattern on wrong side of `@` 12 --> $DIR/intersection-patterns-1.rs:27:9 13 | 14LL | 1 ..= 5 @ e => {} 15 | -------^^^- 16 | | | 17 | | binding on the right, should be on the left 18 | pattern on the left, should be on the right 19 | help: switch the order: `e @ 1..=5` 20 21error: aborting due to 2 previous errors 22