]> git.proxmox.com Git - rustc.git/blame - compiler/rustc_error_codes/src/error_codes/E0663.md
New upstream version 1.49.0~beta.4+dfsg1
[rustc.git] / compiler / rustc_error_codes / src / error_codes / E0663.md
CommitLineData
ba9703b0
XL
1An invalid input operand constraint was passed to the `llvm_asm` macro
2(third line).
60c5eb7d
XL
3
4Erroneous code example:
5
6```compile_fail,E0663
ba9703b0
XL
7llvm_asm!("xor %eax, %eax"
8 :
9 : "+test"("a")
10 );
60c5eb7d
XL
11```
12
74b04a01 13Considering that this would be a long explanation, we instead recommend you
f9f354fc 14take a look at the [`llvm_asm`] chapter of the Unstable book:
74b04a01 15
29967ef6 16[`llvm_asm`]: https://doc.rust-lang.org/stable/unstable-book/library-features/llvm-asm.html