]> git.lizzy.rs Git - rust.git/commitdiff
Clean up E0589 explanation
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Thu, 14 May 2020 09:51:39 +0000 (11:51 +0200)
committerGuillaume Gomez <guillaume1.gomez@gmail.com>
Thu, 14 May 2020 09:51:39 +0000 (11:51 +0200)
src/librustc_error_codes/error_codes/E0589.md

index 5e15a875b0ba79361492ce4fcd84c808a1831816..8a4f8d2172585021034ebfe4e10a7f8bf2cc861a 100644 (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 {