Files
rust/tests/ui/parser/extern-no-fn.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
367 B
Plaintext
Raw Normal View History

error: missing `fn` or `struct` for function or struct definition
--> $DIR/extern-no-fn.rs:2:5
2018-10-20 23:36:17 +03:00
|
2020-09-01 17:12:52 -04:00
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!();
| ~~
2018-10-20 23:36:17 +03:00
error: aborting due to 1 previous error
2018-10-20 23:36:17 +03:00