about summary refs log tree commit diff
path: root/tests/ui/parser/extern-no-fn.stderr
blob: 67acbf9b87fc228d3be59c19dfad9309c2370a69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
error: missing `fn` or `struct` for function or struct definition
  --> $DIR/extern-no-fn.rs:2:5
   |
LL | extern "C" {
   |            - while parsing this item list starting here
LL |     f();
   |     ^
...
LL | }
   | - the item list ends here
   |
help: if you meant to call a macro, try
   |
LL |     f!();
   |      +

error: aborting due to 1 previous error