]> git.proxmox.com Git - rustc.git/blame - src/test/ui/asm/type-check-1.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / asm / type-check-1.stderr
CommitLineData
f9f354fc
XL
1error: invalid asm output
2 --> $DIR/type-check-1.rs:10:29
3 |
4LL | asm!("{}", out(reg) 1 + 2);
5 | ^^^^^ cannot assign to this expression
6
7error: invalid asm output
8 --> $DIR/type-check-1.rs:12:31
9 |
10LL | asm!("{}", inout(reg) 1 + 2);
11 | ^^^^^ cannot assign to this expression
12
13error[E0277]: the size for values of type `[u64]` cannot be known at compilation time
14 --> $DIR/type-check-1.rs:18:28
15 |
16LL | 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
22error[E0277]: the size for values of type `[u64]` cannot be known at compilation time
23 --> $DIR/type-check-1.rs:20:29
24 |
25LL | 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
31error[E0277]: the size for values of type `[u64]` cannot be known at compilation time
32 --> $DIR/type-check-1.rs:22:31
33 |
34LL | 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
40error: aborting due to 5 previous errors
41
42For more information about this error, try `rustc --explain E0277`.