rust/tests/ui/asm/issue-87802.stderr
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00

11 lines
350 B
Plaintext

error: cannot use value of type `!` for inline assembly
--> $DIR/issue-87802.rs:12:36
|
LL | asm!("/* {0} */", out(reg) x);
| ^
|
= note: only integers, floats, SIMD vectors, pointers and function pointers can be used as arguments for inline assembly
error: aborting due to 1 previous error