]>
Commit | Line | Data |
---|---|---|
f9f354fc XL |
1 | error: invalid asm output |
2 | --> $DIR/type-check-1.rs:10:29 | |
3 | | | |
4 | LL | asm!("{}", out(reg) 1 + 2); | |
5 | | ^^^^^ cannot assign to this expression | |
6 | ||
7 | error: invalid asm output | |
8 | --> $DIR/type-check-1.rs:12:31 | |
9 | | | |
10 | LL | asm!("{}", inout(reg) 1 + 2); | |
11 | | ^^^^^ cannot assign to this expression | |
12 | ||
13 | error[E0277]: the size for values of type `[u64]` cannot be known at compilation time | |
14 | --> $DIR/type-check-1.rs:18:28 | |
15 | | | |
16 | LL | asm!("{}", in(reg) v[..]); | |
17 | | ^^^^^ doesn't have a size known at compile-time | |
18 | | | |
1b1a35ee | 19 | = help: the trait `Sized` is not implemented for `[u64]` |
f9f354fc XL |
20 | = note: all inline asm arguments must have a statically known size |
21 | ||
22 | error[E0277]: the size for values of type `[u64]` cannot be known at compilation time | |
23 | --> $DIR/type-check-1.rs:20:29 | |
24 | | | |
25 | LL | asm!("{}", out(reg) v[..]); | |
26 | | ^^^^^ doesn't have a size known at compile-time | |
27 | | | |
1b1a35ee | 28 | = help: the trait `Sized` is not implemented for `[u64]` |
f9f354fc XL |
29 | = note: all inline asm arguments must have a statically known size |
30 | ||
31 | error[E0277]: the size for values of type `[u64]` cannot be known at compilation time | |
32 | --> $DIR/type-check-1.rs:22:31 | |
33 | | | |
34 | LL | asm!("{}", inout(reg) v[..]); | |
35 | | ^^^^^ doesn't have a size known at compile-time | |
36 | | | |
1b1a35ee | 37 | = help: the trait `Sized` is not implemented for `[u64]` |
f9f354fc XL |
38 | = note: all inline asm arguments must have a statically known size |
39 | ||
40 | error: aborting due to 5 previous errors | |
41 | ||
42 | For more information about this error, try `rustc --explain E0277`. |