]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/issues/issue-19398.stderr
Rollup merge of #106717 - klensy:typo, r=lcnr
[rust.git] / tests / ui / parser / issues / issue-19398.stderr
1 error: expected `{`, found keyword `unsafe`
2   --> $DIR/issue-19398.rs:2:19
3    |
4 LL | trait T {
5    |         - while parsing this item list starting here
6 LL |     extern "Rust" unsafe fn foo();
7    |                   ^^^^^^ expected `{`
8 LL |
9 LL | }
10    | - the item list ends here
11
12 error: aborting due to previous error
13