]> git.lizzy.rs Git - rust.git/blob - src/test/ui/repr/repr-align-assign.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / repr / repr-align-assign.stderr
1 error[E0693]: incorrect `repr(align)` attribute format
2   --> $DIR/repr-align-assign.rs:15:8
3    |
4 LL | #[repr(align=8)] //~ ERROR incorrect `repr(align)` attribute format
5    |        ^^^^^^^ help: use parentheses instead: `align(8)`
6
7 error[E0693]: incorrect `repr(align)` attribute format
8   --> $DIR/repr-align-assign.rs:18:8
9    |
10 LL | #[repr(align="8")] //~ ERROR incorrect `repr(align)` attribute format
11    |        ^^^^^^^^^ help: use parentheses instead: `align(8)`
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0693`.