rust/src/librustc_error_codes/error_codes/E0663.md
Amanieu d'Antras d162d096dd Rename asm! to llvm_asm!
asm! is left as a wrapper around llvm_asm! to maintain compatibility.
2020-03-26 15:49:22 +00:00

428 B

An invalid input operand constraint was passed to the llvm_asm macro (third line).

Erroneous code example:

llvm_asm!("xor %eax, %eax"
          :
          : "+test"("a")
         );

Considering that this would be a long explanation, we instead recommend you take a look at the [asm] chapter of the Unstable book: