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
215 B
Rust
Raw Normal View History

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