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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
157 B
Rust
Raw Normal View History

2024-08-18 02:44:17 +00:00
//@ edition: 2021
async fn a() {
//~^ ERROR `()` is not a future
//~| ERROR mismatched types
a() //~ ERROR `()` is not a future
}
fn main() {}