summaryrefslogtreecommitdiffstats
path: root/tests/ui/resolve/resolve-label.stderr
blob: 4c93cf9ea3ffee995faa30d0496f0499e20522a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0767]: use of unreachable label `'l`
  --> $DIR/resolve-label.rs:5:23
   |
LL |     'l: loop {
   |     -- unreachable label defined here
...
LL |                 break 'l;
   |                       ^^ unreachable label `'l`
   |
   = note: labels are unreachable through functions, closures, async blocks and modules

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0767`.