]> git.proxmox.com Git - rustc.git/blob - src/test/ui/repr/issue-83921-ice.stderr
Merge branch 'debian/experimental' into debian/sid
[rustc.git] / src / test / ui / repr / issue-83921-ice.stderr
1 error[E0552]: incorrect `repr(packed)` attribute format: `packed` takes exactly one parenthesized argument, or no parentheses at all
2 --> $DIR/issue-83921-ice.rs:6:8
3 |
4 LL | #[repr(packed())]
5 | ^^^^^^^^
6
7 error[E0589]: invalid `repr(align)` attribute: `align` needs an argument
8 --> $DIR/issue-83921-ice.rs:10:8
9 |
10 LL | #[repr(align)]
11 | ^^^^^ help: supply an argument here: `align(...)`
12
13 error[E0693]: incorrect `repr(align)` attribute format: `align` takes exactly one argument in parentheses
14 --> $DIR/issue-83921-ice.rs:14:8
15 |
16 LL | #[repr(align(2, 4))]
17 | ^^^^^^^^^^^
18
19 error[E0693]: incorrect `repr(align)` attribute format: `align` takes exactly one argument in parentheses
20 --> $DIR/issue-83921-ice.rs:18:8
21 |
22 LL | #[repr(align())]
23 | ^^^^^^^
24
25 error[E0552]: invalid representation hint: `i8` does not take a parenthesized argument list
26 --> $DIR/issue-83921-ice.rs:22:8
27 |
28 LL | #[repr(i8())]
29 | ^^^^
30
31 error[E0552]: invalid representation hint: `u32` does not take a parenthesized argument list
32 --> $DIR/issue-83921-ice.rs:26:8
33 |
34 LL | #[repr(u32(42))]
35 | ^^^^^^^
36
37 error[E0552]: invalid representation hint: `i64` does not take a value
38 --> $DIR/issue-83921-ice.rs:30:8
39 |
40 LL | #[repr(i64 = 2)]
41 | ^^^^^^^
42
43 error: aborting due to 7 previous errors
44
45 Some errors have detailed explanations: E0552, E0589, E0693.
46 For more information about an error, try `rustc --explain E0552`.