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