summaryrefslogtreecommitdiffstats
path: root/src/test/ui/resolve/resolve-label.stderr
blob: 5729348ef21045c250217c2f522234a49045e8dd (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 previous error

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