fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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