diff options
Diffstat (limited to 'tests/ui/ffi_returns_twice.stderr')
-rw-r--r-- | tests/ui/ffi_returns_twice.stderr | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/ffi_returns_twice.stderr b/tests/ui/ffi_returns_twice.stderr new file mode 100644 index 000000000..2b7f5694f --- /dev/null +++ b/tests/ui/ffi_returns_twice.stderr @@ -0,0 +1,9 @@ +error[E0724]: `#[ffi_returns_twice]` may only be used on foreign functions + --> $DIR/ffi_returns_twice.rs:4:1 + | +LL | #[ffi_returns_twice] + | ^^^^^^^^^^^^^^^^^^^^ + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0724`. |