]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0767.stderr
Suggest `if let`/`let_else` for refutable pat in `let`
[rust.git] / src / test / ui / error-codes / E0767.stderr
1 error[E0767]: use of unreachable label `'a`
2   --> $DIR/E0767.rs:4:26
3    |
4 LL |     'a: loop {
5    |     -- unreachable label defined here
6 LL |         || {
7 LL |             loop { break 'a; }
8    |                          ^^ unreachable label `'a`
9    |
10    = note: labels are unreachable through functions, closures, async blocks and modules
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0767`.