1 error: incorrect function inside `extern` block
2 --> $DIR/extern-ffi-fn-with-body.rs:2:8
5 | ---------- `extern` blocks define existing foreign functions and functions inside of them cannot have a body
7 | ________^^^__________-
12 | |_____- help: remove the invalid body: `;`
14 = help: you might have meant to write a function accessible through FFI, which can be done by writing `extern fn` outside of the `extern` block
15 = note: for more information, visit https://doc.rust-lang.org/std/keyword.extern.html
17 error: aborting due to previous error