From 0b1edb7f0e25cae2a1f519af17bfc76682af0e14 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Mon, 2 Jul 2012 17:39:52 -0700 Subject: [PATCH] Update compile-fail/missing-do for new error-comment syntax --- src/test/compile-fail/missing-do.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/compile-fail/missing-do.rs b/src/test/compile-fail/missing-do.rs index 5466cbacfa5..23905d14ffa 100644 --- a/src/test/compile-fail/missing-do.rs +++ b/src/test/compile-fail/missing-do.rs @@ -3,7 +3,7 @@ fn foo(f: fn()) { f() } fn main() { - "" || 42; //! ERROR binary operation || cannot be applied to type `str` - foo || {}; //! ERROR binary operation || cannot be applied to type `extern fn(fn())` - //!^ NOTE did you forget the 'do' keyword for the call? + "" || 42; //~ ERROR binary operation || cannot be applied to type `str` + foo || {}; //~ ERROR binary operation || cannot be applied to type `extern fn(fn())` + //~^ NOTE did you forget the 'do' keyword for the call? }