error: missing `fn`, `type`, or `static` for extern-item declaration | |
--> $DIR/extern-no-fn.rs:1:9 | |
| | |
LL | extern { //~ ERROR missing `fn`, `type`, or `static` for extern-item declaration | |
| _________^ | |
LL | | f(); | |
| |____^ missing `fn`, `type`, or `static` | |
error: aborting due to previous error | |