Skip to content

Commit 0b1edb7

Browse files
committed
Update compile-fail/missing-do for new error-comment syntax
1 parent 78dea4e commit 0b1edb7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/compile-fail/missing-do.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
fn foo(f: fn()) { f() }
44

55
fn main() {
6-
"" || 42; //! ERROR binary operation || cannot be applied to type `str`
7-
foo || {}; //! ERROR binary operation || cannot be applied to type `extern fn(fn())`
8-
//!^ NOTE did you forget the 'do' keyword for the call?
6+
"" || 42; //~ ERROR binary operation || cannot be applied to type `str`
7+
foo || {}; //~ ERROR binary operation || cannot be applied to type `extern fn(fn())`
8+
//~^ NOTE did you forget the 'do' keyword for the call?
99
}

0 commit comments

Comments
 (0)