]> git.lizzy.rs Git - rust.git/blob - tests/ui/extern/issue-95829.rs
Rollup merge of #106644 - alexcrichton:update-wasi-toolchain, r=cuviper
[rust.git] / tests / ui / extern / issue-95829.rs
1 // edition:2018
2
3 extern {
4     async fn L() { //~ ERROR: incorrect function inside `extern` block
5         //~^ ERROR: functions in `extern` blocks cannot have qualifiers
6         async fn M() {}
7     }
8 }
9
10 fn main() {}