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.

16 lines
476 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
2025-02-09 21:50:01 +00:00
--> $DIR/repr-align-assign.rs:8: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)`
2025-02-09 21:50:01 +00:00
error: aborting due to 2 previous errors
2018-04-29 17:46:41 +00:00
For more information about this error, try `rustc --explain E0693`.