rust/tests/ui/extern/issue-95829.rs
2024-10-11 11:30:08 -04:00

11 lines
223 B
Rust

//@ edition:2018
extern {
async fn L() { //~ ERROR: incorrect function inside `extern` block
//~^ ERROR: functions in `extern` blocks cannot have `async` qualifier
async fn M() {}
}
}
fn main() {}