rust/tests/ui/async-await/async-fn/recurse-ice-129215.rs

10 lines
157 B
Rust

//@ edition: 2021
async fn a() {
//~^ ERROR `()` is not a future
//~| ERROR mismatched types
a() //~ ERROR `()` is not a future
}
fn main() {}