1 error[E0668]: malformed inline assembly
2 --> $DIR/inline-asm-bad-constraint.rs:22:9
4 LL | llvm_asm!("" :"={rax"(rax))
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
9 error[E0668]: malformed inline assembly
10 --> $DIR/inline-asm-bad-constraint.rs:30:9
12 LL | llvm_asm!("callq $0" : : "0"(foo))
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
17 error[E0668]: malformed inline assembly
18 --> $DIR/inline-asm-bad-constraint.rs:37:9
20 LL | llvm_asm!("addb $1, $0" : "={rax}"((0i32, rax)));
21 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
23 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
25 error: aborting due to 3 previous errors
27 For more information about this error, try `rustc --explain E0668`.