rust/tests/ui/repr/repr-align-assign.stderr
2023-10-05 01:04:41 +00:00

31 lines
1,010 B
Text

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`.