File tree Expand file tree Collapse file tree 5 files changed +7
-5
lines changed
src/librustc_error_codes/error_codes Expand file tree Collapse file tree 5 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 11Invalid monomorphization of an intrinsic function was used. Erroneous code
22example:
33
4- ``` ignore (error-emitted-at-codegen-which-cannot-be-handled-by- compile_fail)
4+ ``` compile_fail,E0511
55#![feature(platform_intrinsics)]
66
77extern "platform-intrinsic" {
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ The `inline` attribute was malformed.
22
33Erroneous code example:
44
5- ``` ignore ( compile_fail not working here; see Issue #43707)
5+ ``` compile_fail,E0534
66#[inline()] // error: expected one argument
77pub fn something() {}
88
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ An unknown argument was given to the `inline` attribute.
22
33Erroneous code example:
44
5- ``` ignore ( compile_fail not working here; see Issue #43707)
5+ ``` compile_fail,E0535
66#[inline(unknown)] // error: invalid argument
77pub fn something() {}
88
Original file line number Diff line number Diff line change @@ -2,7 +2,9 @@ The `unwind` attribute was malformed.
22
33Erroneous code example:
44
5- ``` ignore (compile_fail not working here; see Issue #43707)
5+ ``` compile_fail,E0633
6+ #![feature(unwind_attributes)]
7+
68#[unwind()] // error: expected one argument
79pub extern fn something() {}
810
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ assembly call.
66
77In particular, it can happen if you forgot the closing bracket of a register
88constraint (see issue #51430 ):
9- ``` ignore (error-emitted-at-codegen-which-cannot-be-handled-by- compile_fail)
9+ ``` compile_fail,E0668
1010#![feature(asm)]
1111
1212fn main() {
You can’t perform that action at this time.
0 commit comments