fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
1.9 KiB75 linesraw
1error[E0589]: invalid `repr(align)` attribute: not an unsuffixed integer
2  --> $DIR/repr-align.rs:3:8
3   |
4LL | #[repr(align(16.0))]
5   |        ^^^^^^^^^^^
6
7error[E0589]: invalid `repr(align)` attribute: not a power of two
8  --> $DIR/repr-align.rs:7:8
9   |
10LL | #[repr(align(15))]
11   |        ^^^^^^^^^
12
13error[E0589]: invalid `repr(align)` attribute: larger than 2^29
14  --> $DIR/repr-align.rs:11:8
15   |
16LL | #[repr(align(4294967296))]
17   |        ^^^^^^^^^^^^^^^^^
18
19error[E0589]: invalid `repr(align)` attribute: not an unsuffixed integer
20  --> $DIR/repr-align.rs:18:8
21   |
22LL | #[repr(align(16.0))]
23   |        ^^^^^^^^^^^
24
25error[E0589]: invalid `repr(align)` attribute: not a power of two
26  --> $DIR/repr-align.rs:22:8
27   |
28LL | #[repr(align(15))]
29   |        ^^^^^^^^^
30
31error[E0589]: invalid `repr(align)` attribute: larger than 2^29
32  --> $DIR/repr-align.rs:26:8
33   |
34LL | #[repr(align(4294967296))]
35   |        ^^^^^^^^^^^^^^^^^
36
37error[E0589]: invalid `repr(align)` attribute: not an unsuffixed integer
38  --> $DIR/repr-align.rs:3:8
39   |
40LL | #[repr(align(16.0))]
41   |        ^^^^^^^^^^^
42
43error[E0589]: invalid `repr(align)` attribute: not a power of two
44  --> $DIR/repr-align.rs:7:8
45   |
46LL | #[repr(align(15))]
47   |        ^^^^^^^^^
48
49error[E0589]: invalid `repr(align)` attribute: larger than 2^29
50  --> $DIR/repr-align.rs:11:8
51   |
52LL | #[repr(align(4294967296))]
53   |        ^^^^^^^^^^^^^^^^^
54
55error[E0589]: invalid `repr(align)` attribute: not an unsuffixed integer
56  --> $DIR/repr-align.rs:18:8
57   |
58LL | #[repr(align(16.0))]
59   |        ^^^^^^^^^^^
60
61error[E0589]: invalid `repr(align)` attribute: not a power of two
62  --> $DIR/repr-align.rs:22:8
63   |
64LL | #[repr(align(15))]
65   |        ^^^^^^^^^
66
67error[E0589]: invalid `repr(align)` attribute: larger than 2^29
68  --> $DIR/repr-align.rs:26:8
69   |
70LL | #[repr(align(4294967296))]
71   |        ^^^^^^^^^^^^^^^^^
72
73error: aborting due to 12 previous errors
74
75For more information about this error, try `rustc --explain E0589`.