10 lines
157 B
Rust
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() {}
|