rustc/tests/ui/async-await/async-fn/recurse-ice-129215.rs
2024-10-21 11:08:01 +02: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() {}