fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
1.4 KiB45 linesraw
1error[E0669]: invalid value for constraint in inline assembly
2  --> $DIR/inline-asm-bad-operand.rs:21:24
3   |
4LL |         asm!("" :: "r"(""));
5   |                        ^^
6
7error[E0669]: invalid value for constraint in inline assembly
8  --> $DIR/inline-asm-bad-operand.rs:26:32
9   |
10LL |         asm!("ret" : : "{rdi}"(target));
11   |                                ^^^^^^
12
13error[E0669]: invalid value for constraint in inline assembly
14  --> $DIR/inline-asm-bad-operand.rs:33:29
15   |
16LL |     unsafe { asm!("" :: "i"(hello)) };
17   |                             ^^^^^
18
19error[E0669]: invalid value for constraint in inline assembly
20  --> $DIR/inline-asm-bad-operand.rs:41:38
21   |
22LL |         asm!("movups $1, %xmm0"::"m"(arr));
23   |                                      ^^^
24
25error[E0669]: invalid value for constraint in inline assembly
26  --> $DIR/inline-asm-bad-operand.rs:48:32
27   |
28LL |         asm!("mov sp, $0"::"r"(addr));
29   |                                ^^^^
30
31error[E0669]: invalid value for constraint in inline assembly
32  --> $DIR/inline-asm-bad-operand.rs:55:32
33   |
34LL |         asm!("mov sp, $0"::"r"(addr),
35   |                                ^^^^
36
37error[E0669]: invalid value for constraint in inline assembly
38  --> $DIR/inline-asm-bad-operand.rs:56:32
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`.