rust/tests/ui/crashes/ice-7231.rs
Jason Newcomb a149ba26fa
Fix ICE in implicit_return
async functions always return a value
2021-05-18 10:51:59 -04:00

11 lines
110 B
Rust

// edition:2018
#![allow(clippy::never_loop)]
async fn f() {
loop {
break;
}
}
fn main() {}