]> git.lizzy.rs Git - rust.git/blob - src/librustc_error_codes/error_codes/E0664.md
Rollup merge of #72674 - Mark-Simulacrum:clippy-always-test-pass, r=oli-obk
[rust.git] / src / librustc_error_codes / error_codes / E0664.md
1 A clobber was surrounded by braces in the `llvm_asm` macro.
2
3 Erroneous code example:
4
5 ```compile_fail,E0664
6 llvm_asm!("mov $$0x200, %eax"
7           :
8           :
9           : "{eax}"
10          );
11 ```
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