1 error: expected one of `extern` or `fn`, found keyword `async`
2 --> $DIR/no-unsafe-async.rs:7:12
4 LL | unsafe async fn g() {}
7 | | expected one of `extern` or `fn`
8 | help: `async` must come before `unsafe`: `async unsafe`
10 = note: keyword order for functions declaration is `pub`, `default`, `const`, `async`, `unsafe`, `extern`
12 error: expected one of `extern` or `fn`, found keyword `async`
13 --> $DIR/no-unsafe-async.rs:11:8
15 LL | unsafe async fn f() {}
18 | | expected one of `extern` or `fn`
19 | help: `async` must come before `unsafe`: `async unsafe`
21 = note: keyword order for functions declaration is `pub`, `default`, `const`, `async`, `unsafe`, `extern`
23 error: aborting due to 2 previous errors