]> git.lizzy.rs Git - rust.git/blob - src/test/ui/repr/repr-align.stderr
Harden tests for repr_align_enum.
[rust.git] / src / test / ui / repr / repr-align.stderr
1 error[E0589]: invalid `repr(align)` attribute: not an unsuffixed integer
2   --> $DIR/repr-align.rs:3:8
3    |
4 LL | #[repr(align(16.0))]
5    |        ^^^^^^^^^^^
6
7 error[E0589]: invalid `repr(align)` attribute: not a power of two
8   --> $DIR/repr-align.rs:6:8
9    |
10 LL | #[repr(align(15))]
11    |        ^^^^^^^^^
12
13 error[E0589]: invalid `repr(align)` attribute: larger than 2^29
14   --> $DIR/repr-align.rs:9:8
15    |
16 LL | #[repr(align(4294967296))]
17    |        ^^^^^^^^^^^^^^^^^
18
19 error[E0589]: invalid `repr(align)` attribute: not an unsuffixed integer
20   --> $DIR/repr-align.rs:15:8
21    |
22 LL | #[repr(align(16.0))]
23    |        ^^^^^^^^^^^
24
25 error[E0589]: invalid `repr(align)` attribute: not a power of two
26   --> $DIR/repr-align.rs:18:8
27    |
28 LL | #[repr(align(15))]
29    |        ^^^^^^^^^
30
31 error[E0589]: invalid `repr(align)` attribute: larger than 2^29
32   --> $DIR/repr-align.rs:21:8
33    |
34 LL | #[repr(align(4294967296))]
35    |        ^^^^^^^^^^^^^^^^^
36
37 error: aborting due to 6 previous errors
38
39 For more information about this error, try `rustc --explain E0589`.