Update compile-fail/missing-do for new error-comment syntax
This commit is contained in:
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?
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user