fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
1.0 KiB39 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:6:8
9   |
10LL | #[repr(align(15))]
11   |        ^^^^^^^^^
12
13error[E0589]: invalid `repr(align)` attribute: larger than 2^29
14  --> $DIR/repr-align.rs:9:8
15   |
16LL | #[repr(align(4294967296))]
17   |        ^^^^^^^^^^^^^^^^^
18
19error[E0589]: invalid `repr(align)` attribute: not an unsuffixed integer
20  --> $DIR/repr-align.rs:15: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:18:8
27   |
28LL | #[repr(align(15))]
29   |        ^^^^^^^^^
30
31error[E0589]: invalid `repr(align)` attribute: larger than 2^29
32  --> $DIR/repr-align.rs:21:8
33   |
34LL | #[repr(align(4294967296))]
35   |        ^^^^^^^^^^^^^^^^^
36
37error: aborting due to 6 previous errors
38
39For more information about this error, try `rustc --explain E0589`.