Skip to content

Commit

Permalink
E0267 UT New Format
Browse files Browse the repository at this point in the history
  • Loading branch information
shyamsundarb-arch authored Aug 9, 2016
1 parent a848f11 commit 2d61642
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/compile-fail/E0267.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@

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

0 comments on commit 2d61642

Please sign in to comment.