]> git.lizzy.rs Git - rust.git/blob - src/test/ui/ffi_returns_twice.stderr
Rollup merge of #100112 - RalfJung:assert_send_and_sync, r=m-ou-se
[rust.git] / src / test / ui / ffi_returns_twice.stderr
1 error[E0724]: `#[ffi_returns_twice]` may only be used on foreign functions
2   --> $DIR/ffi_returns_twice.rs:4:1
3    |
4 LL | #[ffi_returns_twice]
5    | ^^^^^^^^^^^^^^^^^^^^
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0724`.