rust/tests/ui/async-await/async-fn/recurse-ice-129215.rs
2024-08-19 11:08:51 +08:00

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() {}