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