2024-07-06 13:14:53 +03:00
|
|
|
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
|
2020-02-22 06:57:31 +01:00
|
|
|
LL | f();
|
2024-07-06 13:14:53 +03:00
|
|
|
| ^
|
|
|
|
|
...
|
2020-02-22 08:16:39 +01:00
|
|
|
LL | }
|
|
|
|
|
| - the item list ends here
|
2024-07-06 13:14:53 +03:00
|
|
|
|
|
|
|
|
|
help: if you meant to call a macro, try
|
|
|
|
|
|
|
|
|
|
|
LL | f!();
|
|
|
|
|
| ~~
|
2018-10-20 23:36:17 +03:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2018-10-20 23:36:17 +03:00
|
|
|
|