Skip to content

Commit 41dea87

Browse files
tests: Adopt unsupported ABI in weird trait decl test
1 parent 4be1f51 commit 41dea87

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
error[E0570]: `"C-cmse-nonsecure-entry"` is not a supported ABI for the current target
2+
--> $DIR/unsupported-extern-abi-in-trait.rs:9:29
3+
|
4+
LL | pub async unsafe extern "C-cmse-nonsecure-entry" fn test(val: &str) {}
5+
| ^^^^^^^^^^^^^^^^^^^^^^^^
6+
7+
error: aborting due to 1 previous error
8+
9+
For more information about this error, try `rustc --explain E0570`.

0 commit comments

Comments
 (0)