diff options
Diffstat (limited to 'src/test/ui/feature-gates/feature-gate-ffi_returns_twice.stderr')
-rw-r--r-- | src/test/ui/feature-gates/feature-gate-ffi_returns_twice.stderr | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/ui/feature-gates/feature-gate-ffi_returns_twice.stderr b/src/test/ui/feature-gates/feature-gate-ffi_returns_twice.stderr new file mode 100644 index 000000000..3585355ab --- /dev/null +++ b/src/test/ui/feature-gates/feature-gate-ffi_returns_twice.stderr @@ -0,0 +1,12 @@ +error[E0658]: the `#[ffi_returns_twice]` attribute is an experimental feature + --> $DIR/feature-gate-ffi_returns_twice.rs:4:5 + | +LL | #[ffi_returns_twice] + | ^^^^^^^^^^^^^^^^^^^^ + | + = note: see issue #58314 <https://github.com/rust-lang/rust/issues/58314> for more information + = help: add `#![feature(ffi_returns_twice)]` to the crate attributes to enable + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0658`. |