]> git.lizzy.rs Git - rust.git/blob - src/librustc_error_codes/error_codes/E0664.md
Rollup merge of #68120 - Centril:ban-range-to-dotdotdot, r=oli-obk
[rust.git] / src / librustc_error_codes / error_codes / E0664.md
1 A clobber was surrounded by braces in the `asm` macro.
2
3 Erroneous code example:
4
5 ```compile_fail,E0664
6 asm!("mov $$0x200, %eax"
7      :
8      :
9      : "{eax}"
10     );
11 ```
12
13 Considering that this would be a long explanation, we instead recommend you to
14 take a look at the unstable book:
15 https://doc.rust-lang.org/unstable-book/language-features/asm.html