Skip to content

Commit f3a6be9

Browse files
committed
fix
1 parent 68c6627 commit f3a6be9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/rustc_error_codes/src/error_codes/E0778.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Erroneous code example:
55
```compile_fail,E0778
66
#![feature(isa_attribute)]
77
8-
#[instruction_set()] // error: `[instruction_set]` requires an argument
8+
#[instruction_set()]
99
pub fn something() {}
1010
fn main() {}
1111
```

compiler/rustc_error_codes/src/error_codes/E0779.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Erroneous code example:
55
```compile_fail,E0779
66
#![feature(isa_attribute)]
77
8-
#[instruction_set(intel::x64)] // error: `[instruction_set]` attribute argument should be valid
8+
#[instruction_set(intel::x64)]
99
pub fn something() {}
1010
fn main() {}
1111
```

0 commit comments

Comments
 (0)