Error code E0781
The cmse-nonsecure-call ABI can only be used with function pointers.
Erroneous code example:
#![allow(unused)]
#![feature(abi_cmse_nonsecure_call)]
fn main() {
pub extern "cmse-nonsecure-call" fn test() {}
}
The cmse-nonsecure-call ABI should be used by casting function pointers to
specific addresses.