1 error[E0308]: mismatched types
2 --> $DIR/break-diverging-value.rs:11:26
4 LL | fn loop_break_break() -> i32 {
5 | ---------------- ^^^ expected `i32`, found `()`
7 | implicitly returns `()` as its body has no tail or `return` expression
9 error[E0308]: mismatched types
10 --> $DIR/break-diverging-value.rs:25:25
12 LL | fn loop_break_void() -> i32 {
13 | --------------- ^^^ expected `i32`, found `()`
15 | implicitly returns `()` as its body has no tail or `return` expression
17 error: aborting due to 2 previous errors
19 For more information about this error, try `rustc --explain E0308`.