about summary refs log tree commit diff
path: root/src/test/ui/inline-asm-bad-constraint.stderr
blob: 1f63d4c2a48c959cd8fd07a1d9472d3f6070892e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
error[E0668]: malformed inline assembly
  --> $DIR/inline-asm-bad-constraint.rs:21:9
   |
LL |         asm!("" :"={rax"(rax)) //~ ERROR E0668
   |         ^^^^^^^^^^^^^^^^^^^^^^

error[E0668]: malformed inline assembly
  --> $DIR/inline-asm-bad-constraint.rs:29:9
   |
LL |         asm!("callq $0" : : "0"(foo)) //~ ERROR E0668
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0668]: malformed inline assembly
  --> $DIR/inline-asm-bad-constraint.rs:36:9
   |
LL |         asm!("addb $1, $0" : "={rax}"((0i32, rax))); //~ ERROR E0668
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 3 previous errors

For more information about this error, try `rustc --explain E0668`.