1 error[E0767]: use of unreachable label `'a`
5 | -- unreachable label defined here
7 LL | loop { break 'a; }
8 | ^^ unreachable label `'a`
10 = note: labels are unreachable through functions, closures, async blocks and modules
12 error[E0308]: mismatched types
17 LL | | loop { break 'a; }
19 | |_________^ expected `()`, found closure
21 = note: expected unit type `()`
22 found closure `[closure@$DIR/E0767.rs:3:9: 3:11]`
24 error: aborting due to 2 previous errors
26 Some errors have detailed explanations: E0308, E0767.
27 For more information about an error, try `rustc --explain E0308`.