summary refs log tree commit diff
path: root/src/test/ui/inline-asm-bad-operand.stderr
blob: 6971215a95f9ede5be47dc10f0a63b49ea8b7f15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
error[E0669]: invalid value for constraint in inline assembly
  --> $DIR/inline-asm-bad-operand.rs:28:9
   |
LL |         asm!("" :: "r"("")); //~ ERROR E0669
   |         ^^^^^^^^^^^^^^^^^^^^

error[E0669]: invalid value for constraint in inline assembly
  --> $DIR/inline-asm-bad-operand.rs:33:9
   |
LL |         asm!("ret" : : "{rdi}"(target)); //~ ERROR E0669
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0669]: invalid value for constraint in inline assembly
  --> $DIR/inline-asm-bad-operand.rs:40:14
   |
LL |     unsafe { asm!("" :: "i"(hello)) }; //~ ERROR E0669
   |              ^^^^^^^^^^^^^^^^^^^^^^

error[E0669]: invalid value for constraint in inline assembly
  --> $DIR/inline-asm-bad-operand.rs:48:9
   |
LL |         asm!("movups $1, %xmm0"::"m"(arr)); //~ ERROR E0669
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0669]: invalid value for constraint in inline assembly
  --> $DIR/inline-asm-bad-operand.rs:55:9
   |
LL |         asm!("mov sp, $0"::"r"(addr)); //~ ERROR E0669
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 5 previous errors

For more information about this error, try `rustc --explain E0669`.