diff options
| -rw-r--r-- | src/test/compile-fail/moves-based-on-type-block-bad.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/moves-based-on-type-block-bad.rs b/src/test/compile-fail/moves-based-on-type-block-bad.rs index ea6afcd6214..deaff3c3521 100644 --- a/src/test/compile-fail/moves-based-on-type-block-bad.rs +++ b/src/test/compile-fail/moves-based-on-type-block-bad.rs @@ -34,7 +34,7 @@ fn main() { match hellothere.x { //~ ERROR cannot move out //~| cannot move out of borrowed content box E::Foo(_) => {} - box E::Bar(x) => println!("{}", x.to_string()), + box E::Bar(x) => println!("{}", x.to_string()), //~^ NOTE to prevent move box E::Baz => {} } |
