We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8da0efe commit 80f7c18Copy full SHA for 80f7c18
compiler/rustc_error_codes/src/error_codes/E0775.md
@@ -6,8 +6,7 @@ Erroneous code example:
6
```compile_fail,E0775
7
#![feature(cmse_nonsecure_entry)]
8
9
-#[cmse_nonsecure_entry]
10
-pub extern "C" fn entry_function() {}
+pub extern "C-cmse-nonsecure-entry" fn entry_function() {}
11
```
12
13
To fix this error, compile your code for a Rust target that supports the
compiler/rustc_error_codes/src/error_codes/E0776.md
@@ -4,7 +4,7 @@
4
5
Erroneous code example:
-```compile_fail,E0776
+```
#[no_mangle]
0 commit comments