Skip to content

Commit 09b620d

Browse files
committed
stop running code samples in the error code .md
1 parent 1a79606 commit 09b620d

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_error_codes/src/error_codes

1 file changed

+2
-2
lines changed

compiler/rustc_error_codes/src/error_codes/E0798.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ see [arm's aapcs32](https://github.com/ARM-software/abi-aa/releases).
1111

1212
Erroneous code example:
1313

14-
```compile_fail,E0798
14+
```ignore (only fails on supported targets)
1515
#![feature(abi_c_cmse_nonsecure_call)]
1616
1717
#[no_mangle]
@@ -26,7 +26,7 @@ Arguments' alignment is respected. In the example below, padding is inserted
2626
so that the `u64` argument is passed in registers r2 and r3. There is then no
2727
room left for the final `f32` argument
2828

29-
```compile_fail,E0798
29+
```ignore (only fails on supported targets)
3030
#![feature(abi_c_cmse_nonsecure_call)]
3131
3232
#[no_mangle]

0 commit comments

Comments
 (0)