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