Skip to content

Commit 2d61642

Browse files
E0267 UT New Format
1 parent a848f11 commit 2d61642

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/compile-fail/E0267.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@
1010

1111
fn main() {
1212
let w = || { break; }; //~ ERROR E0267
13+
//~| NOTE cannot break inside of a closure
1314
}

0 commit comments

Comments
 (0)