1 error[E0308]: mismatched types
2 --> $DIR/loop-labeled-break-value.rs:3:29
4 LL | let _: i32 = loop { break };
7 | expected i32, found ()
8 | help: give it a value of the expected type: `break 42`
10 = note: expected type `i32`
13 error[E0308]: mismatched types
14 --> $DIR/loop-labeled-break-value.rs:6:37
16 LL | let _: i32 = 'inner: loop { break 'inner };
19 | expected i32, found ()
20 | help: give it a value of the expected type: `break 'inner 42`
22 = note: expected type `i32`
25 error[E0308]: mismatched types
26 --> $DIR/loop-labeled-break-value.rs:9:45
28 LL | let _: i32 = 'inner2: loop { loop { break 'inner2 } };
31 | expected i32, found ()
32 | help: give it a value of the expected type: `break 'inner2 42`
34 = note: expected type `i32`
37 error: aborting due to 3 previous errors
39 For more information about this error, try `rustc --explain E0308`.