File tree 7 files changed +21
-32
lines changed
compiler/rustc_error_codes/src/error_codes
7 files changed +21
-32
lines changed Original file line number Diff line number Diff line change
1
+ #### Note: this error code is no longer emitted by the compiler.
2
+
1
3
The argument to the ` llvm_asm ` macro is not well-formed.
2
4
3
5
Erroneous code example:
4
6
5
- ``` compile_fail,E0660
7
+ ``` ignore (no longer emitted)
6
8
llvm_asm!("nop" "nop");
7
9
```
8
-
9
- Considering that this would be a long explanation, we instead recommend you
10
- take a look at the [ ` llvm_asm ` ] chapter of the Unstable book:
11
-
12
- [ `llvm_asm` ] : https://doc.rust-lang.org/stable/unstable-book/library-features/llvm-asm.html
Original file line number Diff line number Diff line change
1
+ #### Note: this error code is no longer emitted by the compiler.
2
+
1
3
An invalid syntax was passed to the second argument of an ` llvm_asm ` macro line.
2
4
3
5
Erroneous code example:
4
6
5
- ``` compile_fail,E0661
7
+ ``` ignore (no longer emitted)
6
8
let a;
7
9
llvm_asm!("nop" : "r"(a));
8
10
```
9
-
10
- Considering that this would be a long explanation, we instead recommend you
11
- take a look at the [ ` llvm_asm ` ] chapter of the Unstable book:
12
-
13
- [ `llvm_asm` ] : https://doc.rust-lang.org/stable/unstable-book/library-features/llvm-asm.html
Original file line number Diff line number Diff line change
1
+ #### Note: this error code is no longer emitted by the compiler.
2
+
1
3
An invalid input operand constraint was passed to the ` llvm_asm ` macro
2
4
(third line).
3
5
4
6
Erroneous code example:
5
7
6
- ``` compile_fail,E0662
8
+ ``` ignore (no longer emitted)
7
9
llvm_asm!("xor %eax, %eax"
8
10
:
9
11
: "=test"("a")
10
12
);
11
13
```
12
-
13
- Considering that this would be a long explanation, we instead recommend you
14
- take a look at the [ ` llvm_asm ` ] chapter of the Unstable book:
15
-
16
- [ `llvm_asm` ] : https://doc.rust-lang.org/stable/unstable-book/library-features/llvm-asm.html
Original file line number Diff line number Diff line change
1
+ #### Note: this error code is no longer emitted by the compiler.
2
+
1
3
An invalid input operand constraint was passed to the ` llvm_asm ` macro
2
4
(third line).
3
5
4
6
Erroneous code example:
5
7
6
- ``` compile_fail,E0663
8
+ ``` ignore (no longer emitted)
7
9
llvm_asm!("xor %eax, %eax"
8
10
:
9
11
: "+test"("a")
10
12
);
11
13
```
12
-
13
- Considering that this would be a long explanation, we instead recommend you
14
- take a look at the [ ` llvm_asm ` ] chapter of the Unstable book:
15
-
16
- [ `llvm_asm` ] : https://doc.rust-lang.org/stable/unstable-book/library-features/llvm-asm.html
Original file line number Diff line number Diff line change
1
+ #### Note: this error code is no longer emitted by the compiler.
2
+
1
3
A clobber was surrounded by braces in the ` llvm_asm ` macro.
2
4
3
5
Erroneous code example:
4
6
5
- ``` compile_fail,E0664
7
+ ``` ignore (no longer emitted)
6
8
llvm_asm!("mov $$0x200, %eax"
7
9
:
8
10
:
9
11
: "{eax}"
10
12
);
11
13
```
12
-
13
- Considering that this would be a long explanation, we instead recommend you
14
- take a look at the [ ` llvm_asm ` ] chapter of the Unstable book:
15
-
16
- [ `llvm_asm` ] : https://doc.rust-lang.org/stable/unstable-book/library-features/llvm-asm.html
Original file line number Diff line number Diff line change
1
+ #### Note: this error code is no longer emitted by the compiler.
2
+
1
3
Malformed inline assembly rejected by LLVM.
2
4
3
5
Erroneous code example:
4
6
5
- ``` compile_fail,E0668
7
+ ``` ignore (no longer emitted)
6
8
#![feature(llvm_asm)]
7
9
8
10
fn main() {
Original file line number Diff line number Diff line change
1
+ #### Note: this error code is no longer emitted by the compiler.
2
+
1
3
Cannot convert inline assembly operand to a single LLVM value.
2
4
3
5
Erroneous code example:
4
6
5
- ``` compile_fail,E0669
7
+ ``` ignore (no longer emitted)
6
8
#![feature(llvm_asm)]
7
9
8
10
fn main() {
You can’t perform that action at this time.
0 commit comments