We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7675e4b commit d01bfb1Copy full SHA for d01bfb1
src/test/compile-fail/E0009.rs
@@ -12,7 +12,7 @@ fn main() {
12
struct X { x: (), }
13
let x = Some((X { x: () }, X { x: () }));
14
match x {
15
- Some((y, ref z)) => {},
+ Some((y, ref z)) => {},
16
//~^ ERROR E0009
17
//~| NOTE by-move pattern here
18
//~| NOTE both by-ref and by-move used
0 commit comments