We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1c1ad5 commit b0a317dCopy full SHA for b0a317d
src/test/compile-fail/moves-based-on-type-block-bad.rs
@@ -34,7 +34,7 @@ fn main() {
34
match hellothere.x { //~ ERROR cannot move out
35
//~| cannot move out of borrowed content
36
box E::Foo(_) => {}
37
- box E::Bar(x) => println!("{}", x.to_string()),
+ box E::Bar(x) => println!("{}", x.to_string()),
38
//~^ NOTE to prevent move
39
box E::Baz => {}
40
}
0 commit comments