2018-10-01 08:13:42 -05:00
|
|
|
error[E0669]: invalid value for constraint in inline assembly
|
2018-11-02 13:18:19 -05:00
|
|
|
--> $DIR/inline-asm-bad-operand.rs:31:24
|
2018-10-01 08:13:42 -05:00
|
|
|
|
|
|
|
|
LL | asm!("" :: "r"("")); //~ ERROR E0669
|
2018-10-14 17:00:53 -05:00
|
|
|
| ^^
|
2018-10-01 08:13:42 -05:00
|
|
|
|
|
|
|
error[E0669]: invalid value for constraint in inline assembly
|
2018-11-02 13:18:19 -05:00
|
|
|
--> $DIR/inline-asm-bad-operand.rs:36:32
|
2018-10-01 08:13:42 -05:00
|
|
|
|
|
|
|
|
LL | asm!("ret" : : "{rdi}"(target)); //~ ERROR E0669
|
2018-10-14 17:00:53 -05:00
|
|
|
| ^^^^^^
|
2018-10-01 08:13:42 -05:00
|
|
|
|
|
|
|
error[E0669]: invalid value for constraint in inline assembly
|
2018-11-02 13:18:19 -05:00
|
|
|
--> $DIR/inline-asm-bad-operand.rs:43:29
|
2018-10-01 08:13:42 -05:00
|
|
|
|
|
|
|
|
LL | unsafe { asm!("" :: "i"(hello)) }; //~ ERROR E0669
|
2018-10-14 17:00:53 -05:00
|
|
|
| ^^^^^
|
2018-10-01 08:13:42 -05:00
|
|
|
|
|
|
|
error[E0669]: invalid value for constraint in inline assembly
|
2018-11-02 13:18:19 -05:00
|
|
|
--> $DIR/inline-asm-bad-operand.rs:51:38
|
2018-10-01 08:13:42 -05:00
|
|
|
|
|
|
|
|
LL | asm!("movups $1, %xmm0"::"m"(arr)); //~ ERROR E0669
|
2018-10-14 17:00:53 -05:00
|
|
|
| ^^^
|
2018-10-01 08:13:42 -05:00
|
|
|
|
|
|
|
error[E0669]: invalid value for constraint in inline assembly
|
2018-11-02 13:18:19 -05:00
|
|
|
--> $DIR/inline-asm-bad-operand.rs:58:32
|
2018-10-01 08:13:42 -05:00
|
|
|
|
|
|
|
|
LL | asm!("mov sp, $0"::"r"(addr)); //~ ERROR E0669
|
2018-10-14 17:00:53 -05:00
|
|
|
| ^^^^
|
2018-10-01 08:13:42 -05:00
|
|
|
|
2018-10-30 16:09:56 -05:00
|
|
|
error[E0669]: invalid value for constraint in inline assembly
|
2018-11-02 13:18:19 -05:00
|
|
|
--> $DIR/inline-asm-bad-operand.rs:65:32
|
2018-10-30 16:09:56 -05:00
|
|
|
|
|
|
|
|
LL | asm!("mov sp, $0"::"r"(addr), //~ ERROR E0669
|
|
|
|
| ^^^^
|
|
|
|
|
|
|
|
error[E0669]: invalid value for constraint in inline assembly
|
2018-11-02 13:18:19 -05:00
|
|
|
--> $DIR/inline-asm-bad-operand.rs:66:32
|
2018-10-30 16:09:56 -05:00
|
|
|
|
|
|
|
|
LL | "r"("hello e0669")); //~ ERROR E0669
|
|
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 7 previous errors
|
2018-10-01 08:13:42 -05:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0669`.
|