]> git.lizzy.rs Git - rust.git/blob - src/test/ui/inline-asm-bad-constraint.stderr
Rollup merge of #71829 - kper:issue71136, r=matthewjasper
[rust.git] / src / test / ui / inline-asm-bad-constraint.stderr
1 error[E0668]: malformed inline assembly
2   --> $DIR/inline-asm-bad-constraint.rs:22:9
3    |
4 LL |         llvm_asm!("" :"={rax"(rax))
5    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
8
9 error[E0668]: malformed inline assembly
10   --> $DIR/inline-asm-bad-constraint.rs:30:9
11    |
12 LL |         llvm_asm!("callq $0" : : "0"(foo))
13    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14    |
15    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
16
17 error[E0668]: malformed inline assembly
18   --> $DIR/inline-asm-bad-constraint.rs:37:9
19    |
20 LL |         llvm_asm!("addb $1, $0" : "={rax}"((0i32, rax)));
21    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
22    |
23    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
24
25 error: aborting due to 3 previous errors
26
27 For more information about this error, try `rustc --explain E0668`.