2018-10-01 08:13:42 -05:00
|
|
|
error[E0669]: invalid value for constraint in inline assembly
|
2019-12-13 21:28:32 -06:00
|
|
|
--> $DIR/inline-asm-bad-operand.rs:22:24
|
2018-10-01 08:13:42 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | asm!("" :: "r"(""));
|
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
|
2019-12-13 21:28:32 -06:00
|
|
|
--> $DIR/inline-asm-bad-operand.rs:27:32
|
2018-10-01 08:13:42 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | asm!("ret" : : "{rdi}"(target));
|
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
|
2019-12-13 21:28:32 -06:00
|
|
|
--> $DIR/inline-asm-bad-operand.rs:34:29
|
2018-10-01 08:13:42 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | unsafe { asm!("" :: "i"(hello)) };
|
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
|
2019-12-13 21:28:32 -06:00
|
|
|
--> $DIR/inline-asm-bad-operand.rs:42:38
|
2018-10-01 08:13:42 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | asm!("movups $1, %xmm0"::"m"(arr));
|
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
|
2019-12-13 21:28:32 -06:00
|
|
|
--> $DIR/inline-asm-bad-operand.rs:49:32
|
2018-10-01 08:13:42 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | asm!("mov sp, $0"::"r"(addr));
|
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
|
2019-12-13 21:28:32 -06:00
|
|
|
--> $DIR/inline-asm-bad-operand.rs:56:32
|
2018-10-30 16:09:56 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | asm!("mov sp, $0"::"r"(addr),
|
2018-10-30 16:09:56 -05:00
|
|
|
| ^^^^
|
|
|
|
|
|
|
|
error[E0669]: invalid value for constraint in inline assembly
|
2019-12-13 21:28:32 -06:00
|
|
|
--> $DIR/inline-asm-bad-operand.rs:57:32
|
2018-10-30 16:09:56 -05:00
|
|
|
|
|
2019-08-14 11:34:09 -05:00
|
|
|
LL | ... "r"("hello e0669"));
|
|
|
|
| ^^^^^^^^^^^^^
|
2018-10-30 16:09:56 -05:00
|
|
|
|
|
|
|
error: aborting due to 7 previous errors
|
2018-10-01 08:13:42 -05:00
|
|
|
|
2019-11-12 05:09:02 -06:00
|
|
|
For more information about this error, try `rustc --explain E0669`.
|