rust/tests/ui/repr/repr-align.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

76 lines
1.9 KiB
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error[E0589]: invalid `repr(align)` attribute: not an unsuffixed integer
2019-05-27 00:26:11 -05:00
--> $DIR/repr-align.rs:3:8
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | #[repr(align(16.0))]
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^
error[E0589]: invalid `repr(align)` attribute: not a power of two
2020-01-08 11:02:10 -06:00
--> $DIR/repr-align.rs:7:8
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | #[repr(align(15))]
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^
error[E0589]: invalid `repr(align)` attribute: larger than 2^29
2020-01-08 11:02:10 -06:00
--> $DIR/repr-align.rs:11:8
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | #[repr(align(4294967296))]
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^
2019-05-27 00:35:48 -05:00
error[E0589]: invalid `repr(align)` attribute: not an unsuffixed integer
2020-01-08 11:02:10 -06:00
--> $DIR/repr-align.rs:18:8
|
LL | #[repr(align(16.0))]
| ^^^^^^^^^^^
error[E0589]: invalid `repr(align)` attribute: not a power of two
--> $DIR/repr-align.rs:22:8
|
LL | #[repr(align(15))]
| ^^^^^^^^^
error[E0589]: invalid `repr(align)` attribute: larger than 2^29
--> $DIR/repr-align.rs:26:8
|
LL | #[repr(align(4294967296))]
| ^^^^^^^^^^^^^^^^^
error[E0589]: invalid `repr(align)` attribute: not an unsuffixed integer
--> $DIR/repr-align.rs:3:8
|
2019-05-27 00:35:48 -05:00
LL | #[repr(align(16.0))]
| ^^^^^^^^^^^
error[E0589]: invalid `repr(align)` attribute: not a power of two
2020-01-08 11:02:10 -06:00
--> $DIR/repr-align.rs:7:8
|
LL | #[repr(align(15))]
| ^^^^^^^^^
error[E0589]: invalid `repr(align)` attribute: larger than 2^29
--> $DIR/repr-align.rs:11:8
|
LL | #[repr(align(4294967296))]
| ^^^^^^^^^^^^^^^^^
error[E0589]: invalid `repr(align)` attribute: not an unsuffixed integer
2019-05-27 00:35:48 -05:00
--> $DIR/repr-align.rs:18:8
|
2020-01-08 11:02:10 -06:00
LL | #[repr(align(16.0))]
| ^^^^^^^^^^^
error[E0589]: invalid `repr(align)` attribute: not a power of two
--> $DIR/repr-align.rs:22:8
|
2019-03-09 06:03:44 -06:00
LL | #[repr(align(15))]
| ^^^^^^^^^
2019-05-27 00:35:48 -05:00
error[E0589]: invalid `repr(align)` attribute: larger than 2^29
2020-01-08 11:02:10 -06:00
--> $DIR/repr-align.rs:26:8
2019-05-27 00:35:48 -05:00
|
LL | #[repr(align(4294967296))]
| ^^^^^^^^^^^^^^^^^
2020-01-08 11:02:10 -06:00
error: aborting due to 12 previous errors
2018-08-08 07:28:26 -05:00
For more information about this error, try `rustc --explain E0589`.