]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_error_codes/src/error_codes/E0664.md
Rollup merge of #82545 - jsha:woff2, r=GuillaumeGomez
[rust.git] / compiler / rustc_error_codes / src / 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