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