Skip to content

Commit

Permalink
Clean up E0589 explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed May 14, 2020
1 parent 97f3eee commit 31fbf33
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/librustc_error_codes/error_codes/E0589.md
@@ -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 {
Expand Down

0 comments on commit 31fbf33

Please sign in to comment.