fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
1.5 KiB45 linesraw
1error[E0669]: invalid value for constraint in inline assembly
2  --> $DIR/inline-asm-bad-operand.rs:22:29
3   |
4LL |         llvm_asm!("" :: "r"(""));
5   |                             ^^
6
7error[E0669]: invalid value for constraint in inline assembly
8  --> $DIR/inline-asm-bad-operand.rs:27:37
9   |
10LL |         llvm_asm!("ret" : : "{rdi}"(target));
11   |                                     ^^^^^^
12
13error[E0669]: invalid value for constraint in inline assembly
14  --> $DIR/inline-asm-bad-operand.rs:34:34
15   |
16LL |     unsafe { llvm_asm!("" :: "i"(hello)) };
17   |                                  ^^^^^
18
19error[E0669]: invalid value for constraint in inline assembly
20  --> $DIR/inline-asm-bad-operand.rs:42:43
21   |
22LL |         llvm_asm!("movups $1, %xmm0"::"m"(arr));
23   |                                           ^^^
24
25error[E0669]: invalid value for constraint in inline assembly
26  --> $DIR/inline-asm-bad-operand.rs:49:37
27   |
28LL |         llvm_asm!("mov sp, $0"::"r"(addr));
29   |                                     ^^^^
30
31error[E0669]: invalid value for constraint in inline assembly
32  --> $DIR/inline-asm-bad-operand.rs:56:37
33   |
34LL |         llvm_asm!("mov sp, $0"::"r"(addr),
35   |                                     ^^^^
36
37error[E0669]: invalid value for constraint in inline assembly
38  --> $DIR/inline-asm-bad-operand.rs:57:37
39   |
40LL | ...                   "r"("hello e0669"));
41   |                           ^^^^^^^^^^^^^
42
43error: aborting due to 7 previous errors
44
45For more information about this error, try `rustc --explain E0669`.