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

32 lines
1010 B
Plaintext

error[E0693]: incorrect `repr(align)` attribute format
--> $DIR/repr-align-assign.rs:5:8
|
LL | #[repr(align=8)]
| ^^^^^^^ help: use parentheses instead: `align(8)`
error[E0693]: incorrect `repr(align)` attribute format
--> $DIR/repr-align-assign.rs:9:8
|
LL | #[repr(align="8")]
| ^^^^^^^^^ help: use parentheses instead: `align(8)`
error[E0693]: incorrect `repr(align)` attribute format
--> $DIR/repr-align-assign.rs:5:8
|
LL | #[repr(align=8)]
| ^^^^^^^ help: use parentheses instead: `align(8)`
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
error[E0693]: incorrect `repr(align)` attribute format
--> $DIR/repr-align-assign.rs:9:8
|
LL | #[repr(align="8")]
| ^^^^^^^^^ help: use parentheses instead: `align(8)`
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
error: aborting due to 4 previous errors
For more information about this error, try `rustc --explain E0693`.