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