summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-19398.stderr
blob: 236fac673b6b373bb0c1e9649676d4ecc4ae379b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error: expected `{`, found keyword `unsafe`
  --> $DIR/issue-19398.rs:2:19
   |
LL | trait T {
   |         - while parsing this item list starting here
LL |     extern "Rust" unsafe fn foo();
   |                   ^^^^^^ expected `{`
LL |
LL | }
   | - the item list ends here

error: aborting due to 1 previous error