about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-05-14 18:21:57 +0200
committerGitHub <noreply@github.com>2020-05-14 18:21:57 +0200
commitd7f5e56498bffa50813fbdd34623501c8f5b0a5c (patch)
treebb7a34f7b9090c1424483bb68e2bb465fb807834
parent62f184030ab9da2c3acd95d3f7f94c4bc1820b07 (diff)
parent31fbf33679a9b018576058d37b4f6cf9beec1b14 (diff)
downloadrust-d7f5e56498bffa50813fbdd34623501c8f5b0a5c.tar.gz
rust-d7f5e56498bffa50813fbdd34623501c8f5b0a5c.zip
Rollup merge of #72191 - GuillaumeGomez:cleanup-e0589, r=Dylan-DPC
Clean up E0589 explanation

r? @Dylan-DPC
-rw-r--r--src/librustc_error_codes/error_codes/E0589.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librustc_error_codes/error_codes/E0589.md b/src/librustc_error_codes/error_codes/E0589.md
index 5e15a875b0b..8a4f8d21725 100644
--- a/src/librustc_error_codes/error_codes/E0589.md
+++ b/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 {