1 2 3 4 5 6 7 8
fn loop_ending() -> i32 { loop { if false { break; } //~ ERROR mismatched types return 42; } } fn main() {}