1 `#[ffi_returns_twice]` was used on something other than a foreign function
4 Erroneous code example:
7 #![feature(ffi_returns_twice)]
10 #[ffi_returns_twice] // error!
14 `#[ffi_returns_twice]` can only be used on foreign function declarations.
15 For example, we might correct the previous example by declaring
16 the function inside of an `extern` block.
19 #![feature(ffi_returns_twice)]
22 #[ffi_returns_twice] // ok!