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-2.rs:8:1
|
2021-01-24 11:15:05 -06:00
|
|
|
|
|
|
|
|
LL | / extern "C-cmse-nonsecure-call" {
|
2021-06-13 14:06:11 -05:00
|
|
|
LL | | fn test();
|
2021-01-24 11:15:05 -06:00
|
|
|
LL | | }
|
|
|
|
| |_^
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0781`.
|