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