diff options
| author | Jonathan Turner <jturner@mozilla.com> | 2016-05-18 08:30:46 -0400 |
|---|---|---|
| committer | Jonathan Turner <jturner@mozilla.com> | 2016-05-18 08:30:46 -0400 |
| commit | b0a317dc6f8f9ecc973645f2d00f304f96eaf8b8 (patch) | |
| tree | ff5bf12c4801ad71614d039383b354290f99b7d3 | |
| parent | c1c1ad5ec54526e950623ba1c635f0f7672d875a (diff) | |
| download | rust-b0a317dc6f8f9ecc973645f2d00f304f96eaf8b8.tar.gz rust-b0a317dc6f8f9ecc973645f2d00f304f96eaf8b8.zip | |
Fix tidy error
| -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 => {} } |
