Skip to content

Commit

Permalink
Fix tidy error
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Turner committed May 18, 2016
1 parent c1c1ad5 commit b0a317d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/compile-fail/moves-based-on-type-block-bad.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {}
}
Expand Down

0 comments on commit b0a317d

Please sign in to comment.