Clean up E0589 explanation

This commit is contained in:
Guillaume Gomez 2020-05-14 11:51:39 +02:00
parent 97f3eeec82
commit 31fbf33679

View File

@ -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 {