blob: c9dca8f69bca6f7414d9c5efe71951011def07f4 [file] [view]
#### Note: this error code is no longer emitted by the compiler.
This error code was replaced by `E0539`.
`align` representation hint was incorrectly declared.
Erroneous code examples:
```compile_fail
#[repr(align=8)] // error!
struct Align8(i8);
#[repr(align="8")] // error!
struct Align8(i8);
```
This is a syntax error at the level of attribute declarations. The proper
syntax for `align` representation hint is the following:
```
#[repr(align(8))] // ok!
struct Align8(i8);
```