Skip to content

Commit 80f7c18

Browse files
committed
fix error_codes markdown files
1 parent 8da0efe commit 80f7c18

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

compiler/rustc_error_codes/src/error_codes/E0775.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ Erroneous code example:
66
```compile_fail,E0775
77
#![feature(cmse_nonsecure_entry)]
88
9-
#[cmse_nonsecure_entry]
10-
pub extern "C" fn entry_function() {}
9+
pub extern "C-cmse-nonsecure-entry" fn entry_function() {}
1110
```
1211

1312
To fix this error, compile your code for a Rust target that supports the

compiler/rustc_error_codes/src/error_codes/E0776.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Erroneous code example:
66

7-
```compile_fail,E0776
7+
```
88
#![feature(cmse_nonsecure_entry)]
99
1010
#[no_mangle]

0 commit comments

Comments
 (0)