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