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

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

116 lines
3.2 KiB
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error[E0589]: invalid `repr(align)` attribute: not an unsuffixed integer
2024-03-02 09:18:06 -06:00
--> $DIR/repr-align.rs:3:14
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | #[repr(align(16.0))]
2024-03-02 09:18:06 -06:00
| ^^^^
2018-08-08 07:28:26 -05:00
error[E0589]: invalid `repr(align)` attribute: not a power of two
2024-03-02 09:18:06 -06:00
--> $DIR/repr-align.rs:7:14
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | #[repr(align(15))]
2024-03-02 09:18:06 -06:00
| ^^
2018-08-08 07:28:26 -05:00
error[E0589]: invalid `repr(align)` attribute: larger than 2^29
2024-03-02 09:18:06 -06:00
--> $DIR/repr-align.rs:11:14
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | #[repr(align(4294967296))]
2024-03-02 09:18:06 -06:00
| ^^^^^^^^^^
2018-08-08 07:28:26 -05:00
error[E0589]: invalid `repr(align)` attribute: not a power of two
2024-03-02 09:18:06 -06:00
--> $DIR/repr-align.rs:18:14
2020-01-08 11:02:10 -06:00
|
LL | #[repr(align(0))]
| ^
error[E0589]: invalid `repr(align)` attribute: not an unsuffixed integer
--> $DIR/repr-align.rs:22:14
|
2020-01-08 11:02:10 -06:00
LL | #[repr(align(16.0))]
2024-03-02 09:18:06 -06:00
| ^^^^
2020-01-08 11:02:10 -06:00
error[E0589]: invalid `repr(align)` attribute: not a power of two
--> $DIR/repr-align.rs:26:14
2020-01-08 11:02:10 -06:00
|
LL | #[repr(align(15))]
2024-03-02 09:18:06 -06:00
| ^^
2020-01-08 11:02:10 -06:00
error[E0589]: invalid `repr(align)` attribute: larger than 2^29
--> $DIR/repr-align.rs:30:14
2020-01-08 11:02:10 -06:00
|
LL | #[repr(align(4294967296))]
2024-03-02 09:18:06 -06:00
| ^^^^^^^^^^
2020-01-08 11:02:10 -06:00
error[E0589]: invalid `repr(align)` attribute: not a power of two
--> $DIR/repr-align.rs:37:14
|
LL | #[repr(align(0))]
| ^
2020-01-08 11:02:10 -06:00
error[E0589]: invalid `repr(align)` attribute: not an unsuffixed integer
2024-03-02 09:18:06 -06:00
--> $DIR/repr-align.rs:3:14
|
2019-05-27 00:35:48 -05:00
LL | #[repr(align(16.0))]
2024-03-02 09:18:06 -06:00
| ^^^^
2023-10-04 13:34:50 -05:00
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
2019-05-27 00:35:48 -05:00
error[E0589]: invalid `repr(align)` attribute: not a power of two
2024-03-02 09:18:06 -06:00
--> $DIR/repr-align.rs:7:14
2020-01-08 11:02:10 -06:00
|
LL | #[repr(align(15))]
2024-03-02 09:18:06 -06:00
| ^^
2023-10-04 13:34:50 -05:00
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
2020-01-08 11:02:10 -06:00
error[E0589]: invalid `repr(align)` attribute: larger than 2^29
2024-03-02 09:18:06 -06:00
--> $DIR/repr-align.rs:11:14
2020-01-08 11:02:10 -06:00
|
LL | #[repr(align(4294967296))]
2024-03-02 09:18:06 -06:00
| ^^^^^^^^^^
2023-10-04 13:34:50 -05:00
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
2020-01-08 11:02:10 -06:00
error[E0589]: invalid `repr(align)` attribute: not a power of two
2024-03-02 09:18:06 -06:00
--> $DIR/repr-align.rs:18:14
2019-05-27 00:35:48 -05:00
|
LL | #[repr(align(0))]
| ^
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
error[E0589]: invalid `repr(align)` attribute: not an unsuffixed integer
--> $DIR/repr-align.rs:22:14
|
2020-01-08 11:02:10 -06:00
LL | #[repr(align(16.0))]
2024-03-02 09:18:06 -06:00
| ^^^^
2023-10-04 13:34:50 -05:00
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
2020-01-08 11:02:10 -06:00
error[E0589]: invalid `repr(align)` attribute: not a power of two
--> $DIR/repr-align.rs:26:14
2020-01-08 11:02:10 -06:00
|
2019-03-09 06:03:44 -06:00
LL | #[repr(align(15))]
2024-03-02 09:18:06 -06:00
| ^^
2023-10-04 13:34:50 -05:00
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
2019-05-27 00:35:48 -05:00
error[E0589]: invalid `repr(align)` attribute: larger than 2^29
--> $DIR/repr-align.rs:30:14
2019-05-27 00:35:48 -05:00
|
LL | #[repr(align(4294967296))]
2024-03-02 09:18:06 -06:00
| ^^^^^^^^^^
2023-10-04 13:34:50 -05:00
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
2019-05-27 00:35:48 -05:00
error[E0589]: invalid `repr(align)` attribute: not a power of two
--> $DIR/repr-align.rs:37:14
|
LL | #[repr(align(0))]
| ^
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
error: aborting due to 16 previous errors
2018-08-08 07:28:26 -05:00
For more information about this error, try `rustc --explain E0589`.