From b0a317dc6f8f9ecc973645f2d00f304f96eaf8b8 Mon Sep 17 00:00:00 2001 From: Jonathan Turner Date: Wed, 18 May 2016 08:30:46 -0400 Subject: [PATCH] Fix tidy error --- src/test/compile-fail/moves-based-on-type-block-bad.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ea6afcd62141..deaff3c35211 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 => {} }