]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-62480.stderr
New upstream version 1.49.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-62480.stderr
CommitLineData
72b1a166
FG
1error[E0767]: use of unreachable label `'a`
2 --> $DIR/issue-62480.rs:8:18
3 |
4LL | 'a: {
5 | -- unreachable label defined here
6LL | || break 'a
7 | ^^ unreachable label `'a`
8 |
9 = note: labels are unreachable through functions, closures, async blocks and modules
10
11error[E0267]: `break` inside of a closure
d9bb1a4e
FG
12 --> $DIR/issue-62480.rs:8:12
13 |
14LL | || break 'a
72b1a166
FG
15 | -- ^^^^^^^^ cannot `break` inside of a closure
16 | |
17 | enclosing closure
d9bb1a4e 18
72b1a166 19error: aborting due to 2 previous errors
d9bb1a4e 20
72b1a166
FG
21Some errors have detailed explanations: E0267, E0767.
22For more information about an error, try `rustc --explain E0267`.