Clean up E0589 explanation
This commit is contained in:
parent
97f3eeec82
commit
31fbf33679
@ -1,6 +1,8 @@
|
||||
The value of `N` that was specified for `repr(align(N))` was not a power
|
||||
of two, or was greater than 2^29.
|
||||
|
||||
Erroneous code example:
|
||||
|
||||
```compile_fail,E0589
|
||||
#[repr(align(15))] // error: invalid `repr(align)` attribute: not a power of two
|
||||
enum Foo {
|
||||
|
Loading…
x
Reference in New Issue
Block a user