1error[E0724]: `#[ffi_returns_twice]` may only be used on foreign functions
2  --> $DIR/ffi_returns_twice.rs:4:1
3   |
4LL | #[ffi_returns_twice]
5   | ^^^^^^^^^^^^^^^^^^^^
6
7error: aborting due to previous error
8
9For more information about this error, try `rustc --explain E0724`.
10