1 error: expected one of `extern` or `fn`, found keyword `async`
2 --> $DIR/no-unsafe-async.rs:7:12
5 | - while parsing this item list starting here
7 LL | unsafe async fn g() {}
10 | | expected one of `extern` or `fn`
11 | help: `async` must come before `unsafe`: `async unsafe`
13 | - the item list ends here
15 = note: keyword order for functions declaration is `pub`, `default`, `const`, `async`, `unsafe`, `extern`
17 error: expected one of `extern` or `fn`, found keyword `async`
18 --> $DIR/no-unsafe-async.rs:11:8
20 LL | unsafe async fn f() {}
23 | | expected one of `extern` or `fn`
24 | help: `async` must come before `unsafe`: `async unsafe`
26 = note: keyword order for functions declaration is `pub`, `default`, `const`, `async`, `unsafe`, `extern`
28 error: aborting due to 2 previous errors