diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-05-14 11:51:39 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-05-14 11:51:39 +0200 |
| commit | 31fbf33679a9b018576058d37b4f6cf9beec1b14 (patch) | |
| tree | 28e5651dca5884a9c1541277388f0b8b79667c69 /src/librustc_error_codes/error_codes | |
| parent | 97f3eeec8216d7155c24674b9be55e7c672bcae3 (diff) | |
| download | rust-31fbf33679a9b018576058d37b4f6cf9beec1b14.tar.gz rust-31fbf33679a9b018576058d37b4f6cf9beec1b14.zip | |
Clean up E0589 explanation
Diffstat (limited to 'src/librustc_error_codes/error_codes')
| -rw-r--r-- | src/librustc_error_codes/error_codes/E0589.md | 2 |
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 { |
