]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0267.stderr
Rollup merge of #59056 - scottmcm:even-fewer-lifetimes, r=sfackler
[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 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0267`.