]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/cmse-nonsecure/cmse-nonsecure-call/wrong-abi-location-1.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / cmse-nonsecure / cmse-nonsecure-call / wrong-abi-location-1.stderr
index 78490bf8f68a203af73e3fcd5f085995363d25c1..3564ab4b6cd4dd76241a6de8bac0f96d8d5516fe 100644 (file)
@@ -1,8 +1,8 @@
-error[E0781]: the `"cmse-nonsecure-call"` ABI is only allowed on function pointers.
-  --> $DIR/wrong-abi-location-1.rs:6:1
+error[E0781]: the `"C-cmse-nonsecure-call"` ABI is only allowed on function pointers.
+  --> $DIR/wrong-abi-location-1.rs:8:1
    |
-LL | pub extern "C-cmse-nonsecure-call" fn test() {} //~ ERROR [E0781]
-   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+LL | pub extern "C-cmse-nonsecure-call" fn test() {}
+   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 error: aborting due to previous error