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

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

32 lines
1010 B
Plaintext
Raw Normal View History

2018-04-29 17:46:41 +00:00
error[E0693]: incorrect `repr(align)` attribute format
2018-12-25 15:56:47 +00:00
--> $DIR/repr-align-assign.rs:5:8
2018-04-29 17:46:41 +00:00
|
2019-03-09 12:03:44 +00:00
LL | #[repr(align=8)]
2018-04-29 17:46:41 +00:00
| ^^^^^^^ help: use parentheses instead: `align(8)`
error[E0693]: incorrect `repr(align)` attribute format
2020-01-08 17:02:10 +00:00
--> $DIR/repr-align-assign.rs:9:8
2018-04-29 17:46:41 +00:00
|
2019-03-09 12:03:44 +00:00
LL | #[repr(align="8")]
2018-04-29 17:46:41 +00:00
| ^^^^^^^^^ help: use parentheses instead: `align(8)`
2020-01-08 17:02:10 +00:00
error[E0693]: incorrect `repr(align)` attribute format
--> $DIR/repr-align-assign.rs:5:8
|
LL | #[repr(align=8)]
| ^^^^^^^ help: use parentheses instead: `align(8)`
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[E0693]: incorrect `repr(align)` attribute format
--> $DIR/repr-align-assign.rs:9:8
|
LL | #[repr(align="8")]
| ^^^^^^^^^ help: use parentheses instead: `align(8)`
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: aborting due to 4 previous errors
2018-04-29 17:46:41 +00:00
For more information about this error, try `rustc --explain E0693`.