summaryrefslogtreecommitdiffstats
path: root/src/test/ui/asm/issue-87802.stderr
blob: de3e28fdd12289281101d64550b28171fd6c9f36 (plain)
1
2
3
4
5
6
7
8
9
10
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 previous error