We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c038ea1 + 31fbf33 commit 8cc6147Copy full SHA for 8cc6147
src/librustc_error_codes/error_codes/E0589.md
@@ -1,6 +1,8 @@
1
The value of `N` that was specified for `repr(align(N))` was not a power
2
of two, or was greater than 2^29.
3
4
+Erroneous code example:
5
+
6
```compile_fail,E0589
7
#[repr(align(15))] // error: invalid `repr(align)` attribute: not a power of two
8
enum Foo {
0 commit comments