]> git.lizzy.rs Git - rust.git/blob - src/librustc_error_codes/error_codes/E0662.md
Spell check librustc_error_codes
[rust.git] / src / librustc_error_codes / error_codes / E0662.md
1 An invalid input operand constraint was passed to the `asm` macro (third line).
2
3 Erroneous code example:
4
5 ```compile_fail,E0662
6 asm!("xor %eax, %eax"
7      :
8      : "=test"("a")
9     );
10 ```
11
12 Considering that this would be a long explanation, we instead recommend you to
13 take a look at the unstable book:
14 https://doc.rust-lang.org/unstable-book/language-features/asm.html