]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_error_codes/src/error_codes/E0661.md
Rollup merge of #82545 - jsha:woff2, r=GuillaumeGomez
[rust.git] / compiler / rustc_error_codes / src / error_codes / E0661.md
1 An invalid syntax was passed to the second argument of an `llvm_asm` macro line.
2
3 Erroneous code example:
4
5 ```compile_fail,E0661
6 let a;
7 llvm_asm!("nop" : "r"(a));
8 ```
9
10 Considering that this would be a long explanation, we instead recommend you
11 take a look at the [`llvm_asm`] chapter of the Unstable book:
12
13 [`llvm_asm`]: https://doc.rust-lang.org/stable/unstable-book/library-features/llvm-asm.html