summaryrefslogtreecommitdiffstats
path: root/src/test/ui/cmse-nonsecure/cmse-nonsecure-call/gate_test.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/cmse-nonsecure/cmse-nonsecure-call/gate_test.stderr')
-rw-r--r--src/test/ui/cmse-nonsecure/cmse-nonsecure-call/gate_test.stderr12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/ui/cmse-nonsecure/cmse-nonsecure-call/gate_test.stderr b/src/test/ui/cmse-nonsecure/cmse-nonsecure-call/gate_test.stderr
new file mode 100644
index 000000000..ed8e16899
--- /dev/null
+++ b/src/test/ui/cmse-nonsecure/cmse-nonsecure-call/gate_test.stderr
@@ -0,0 +1,12 @@
+error[E0658]: C-cmse-nonsecure-call ABI is experimental and subject to change
+ --> $DIR/gate_test.rs:4:46
+ |
+LL | core::mem::transmute::<usize, extern "C-cmse-nonsecure-call" fn(i32, i32, i32, i32) -> i32>(
+ | ^^^^^^^^^^^^^^^^^^^^^^^
+ |
+ = note: see issue #81391 <https://github.com/rust-lang/rust/issues/81391> for more information
+ = help: add `#![feature(abi_c_cmse_nonsecure_call)]` to the crate attributes to enable
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0658`.