summaryrefslogtreecommitdiffstats
path: root/src/test/ui/cmse-nonsecure/cmse-nonsecure-entry/trustzone-only.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/cmse-nonsecure/cmse-nonsecure-entry/trustzone-only.stderr')
-rw-r--r--src/test/ui/cmse-nonsecure/cmse-nonsecure-entry/trustzone-only.stderr9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/cmse-nonsecure/cmse-nonsecure-entry/trustzone-only.stderr b/src/test/ui/cmse-nonsecure/cmse-nonsecure-entry/trustzone-only.stderr
new file mode 100644
index 000000000..7e8862f9a
--- /dev/null
+++ b/src/test/ui/cmse-nonsecure/cmse-nonsecure-entry/trustzone-only.stderr
@@ -0,0 +1,9 @@
+error[E0775]: `#[cmse_nonsecure_entry]` is only valid for targets with the TrustZone-M extension
+ --> $DIR/trustzone-only.rs:5:1
+ |
+LL | #[cmse_nonsecure_entry]
+ | ^^^^^^^^^^^^^^^^^^^^^^^
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0775`.