]> git.lizzy.rs Git - rust.git/blob - src/test/ui/inline-asm-bad-constraint.stderr
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[rust.git] / src / test / ui / inline-asm-bad-constraint.stderr
1 error[E0668]: malformed inline assembly
2   --> $DIR/inline-asm-bad-constraint.rs:21:9
3    |
4 LL |         asm!("" :"={rax"(rax)) //~ ERROR E0668
5    |         ^^^^^^^^^^^^^^^^^^^^^^
6
7 error[E0668]: malformed inline assembly
8   --> $DIR/inline-asm-bad-constraint.rs:29:9
9    |
10 LL |         asm!("callq $0" : : "0"(foo)) //~ ERROR E0668
11    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error[E0668]: malformed inline assembly
14   --> $DIR/inline-asm-bad-constraint.rs:36:9
15    |
16 LL |         asm!("addb $1, $0" : "={rax}"((0i32, rax))); //~ ERROR E0668
17    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18
19 error: aborting due to 3 previous errors
20
21 For more information about this error, try `rustc --explain E0668`.