]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_error_codes/src/error_codes/E0664.md
Merge commit '928e72dd10749875cbd412f74bfbfd7765dbcd8a' into clippyup
[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