fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error: expected one of `extern` or `fn`, found keyword `async` 2 --> $DIR/no-unsafe-async.rs:7:12 3 | 4LL | impl S { 5 | - while parsing this item list starting here 6LL | #[cfg(FALSE)] 7LL | unsafe async fn g() {} 8 | ^^^^^ expected one of `extern` or `fn` 9LL | } 10 | - the item list ends here 11 12error: expected one of `extern` or `fn`, found keyword `async` 13 --> $DIR/no-unsafe-async.rs:11:8 14 | 15LL | unsafe async fn f() {} 16 | ^^^^^ expected one of `extern` or `fn` 17 18error: aborting due to 2 previous errors 19