2021-10-03 14:28:39 +09:00
|
|
|
error[E0781]: the `"C-cmse-nonsecure-call"` ABI is only allowed on function pointers
|
2025-02-24 09:26:54 +00:00
|
|
|
--> $DIR/wrong-abi-location-2.rs:10:1
|
2021-01-24 17:15:05 +00:00
|
|
|
|
|
|
|
|
|
LL | / extern "C-cmse-nonsecure-call" {
|
2021-06-13 22:06:11 +03:00
|
|
|
LL | | fn test();
|
2021-01-24 17:15:05 +00:00
|
|
|
LL | | }
|
|
|
|
|
| |_^
|
|
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2021-01-24 17:15:05 +00:00
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0781`.
|