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