summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/extern-no-fn.stderr
blob: d9183d56463602fbaeadd1943c68374ffb2ca3cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error: expected one of `!` or `::`, found `(`
  --> $DIR/extern-no-fn.rs:2:6
   |
LL | extern "C" {
   |            - while parsing this item list starting here
LL |     f();
   |      ^ expected one of `!` or `::`
LL | }
   | - the item list ends here

error: aborting due to previous error