Update compile-fail/missing-do for new error-comment syntax

This commit is contained in:
Brian Anderson 2012-07-02 17:39:52 -07:00
parent 78dea4e5e9
commit 0b1edb7f0e

@ -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?
}