]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0267.stderr
Rollup merge of #97915 - tbu-:pr_os_string_fmt_write, r=joshtriplett
[rust.git] / src / test / ui / error-codes / E0267.stderr
1 error[E0267]: `break` inside of a closure
2   --> $DIR/E0267.rs:2:18
3    |
4 LL |     let w = || { break; };
5    |             --   ^^^^^ cannot `break` inside of a closure
6    |             |
7    |             enclosing closure
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0267`.