rust/tests/ui/extern/issue-95829.rs

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

11 lines
223 B
Rust
Raw Normal View History

//@ edition:2018
extern {
async fn L() { //~ ERROR: incorrect function inside `extern` block
2024-10-11 10:30:03 -05:00
//~^ ERROR: functions in `extern` blocks cannot have `async` qualifier
async fn M() {}
}
}
fn main() {}