]> git.lizzy.rs Git - rust.git/blob - src/test/ui/cmse-nonsecure/cmse-nonsecure-call/wrong-abi-location-2.stderr
Auto merge of #102684 - JhonnyBillM:delete-target-data-layout-errors-wrapper, r=davidtwco
[rust.git] / src / test / ui / cmse-nonsecure / cmse-nonsecure-call / wrong-abi-location-2.stderr
1 error[E0781]: the `"C-cmse-nonsecure-call"` ABI is only allowed on function pointers
2   --> $DIR/wrong-abi-location-2.rs:8:1
3    |
4 LL | / extern "C-cmse-nonsecure-call" {
5 LL | |     fn test();
6 LL | | }
7    | |_^
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0781`.