]> git.proxmox.com Git - rustc.git/blob - src/test/ui/inline-asm-bad-operand.stderr
New upstream version 1.31.0~beta.4+dfsg1
[rustc.git] / src / test / ui / inline-asm-bad-operand.stderr
1 error[E0669]: invalid value for constraint in inline assembly
2 --> $DIR/inline-asm-bad-operand.rs:28:9
3 |
4 LL | asm!("" :: "r"("")); //~ ERROR E0669
5 | ^^^^^^^^^^^^^^^^^^^^
6
7 error[E0669]: invalid value for constraint in inline assembly
8 --> $DIR/inline-asm-bad-operand.rs:33:9
9 |
10 LL | asm!("ret" : : "{rdi}"(target)); //~ ERROR E0669
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error[E0669]: invalid value for constraint in inline assembly
14 --> $DIR/inline-asm-bad-operand.rs:40:14
15 |
16 LL | unsafe { asm!("" :: "i"(hello)) }; //~ ERROR E0669
17 | ^^^^^^^^^^^^^^^^^^^^^^
18
19 error[E0669]: invalid value for constraint in inline assembly
20 --> $DIR/inline-asm-bad-operand.rs:48:9
21 |
22 LL | asm!("movups $1, %xmm0"::"m"(arr)); //~ ERROR E0669
23 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24
25 error[E0669]: invalid value for constraint in inline assembly
26 --> $DIR/inline-asm-bad-operand.rs:55:9
27 |
28 LL | asm!("mov sp, $0"::"r"(addr)); //~ ERROR E0669
29 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
30
31 error: aborting due to 5 previous errors
32
33 For more information about this error, try `rustc --explain E0669`.