]> git.lizzy.rs Git - rust.git/blob - src/test/ui/inline-asm-bad-constraint.stderr
Rollup merge of #68848 - nnethercote:hasten-macro-parsing, r=petrochenkov
[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 |         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 |         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 |         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`.