1 error: expected `{`, found keyword `unsafe`
2 --> $DIR/issue-19398.rs:2:19
5 | - while parsing this item list starting here
6 LL | extern "Rust" unsafe fn foo();
10 | help: `unsafe` must come before `extern "Rust"`: `unsafe extern "Rust"`
13 | - the item list ends here
15 = note: keyword order for functions declaration is `pub`, `default`, `const`, `async`, `unsafe`, `extern`
17 error: aborting due to previous error