diff options
| author | varkor <github@varkor.com> | 2018-04-29 18:42:43 +0100 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2018-04-29 18:42:43 +0100 |
| commit | a815f753bc441d8eeb0f664e27c5a3d5322900e1 (patch) | |
| tree | 1b33e382b04e486152acdf2be0586ed99a6e7644 /src/libsyntax/diagnostic_list.rs | |
| parent | a9975254ee6510cd1360417d3d145b56fb70b2e7 (diff) | |
| download | rust-a815f753bc441d8eeb0f664e27c5a3d5322900e1.tar.gz rust-a815f753bc441d8eeb0f664e27c5a3d5322900e1.zip | |
Add error when using repr(align=x) instead of repr(align(x))
Diffstat (limited to 'src/libsyntax/diagnostic_list.rs')
| -rw-r--r-- | src/libsyntax/diagnostic_list.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/diagnostic_list.rs b/src/libsyntax/diagnostic_list.rs index bb7988e64bc..c9cac1b1142 100644 --- a/src/libsyntax/diagnostic_list.rs +++ b/src/libsyntax/diagnostic_list.rs @@ -324,4 +324,5 @@ register_diagnostics! { E0589, // invalid `repr(align)` attribute E0629, // missing 'feature' (rustc_const_unstable) E0630, // rustc_const_unstable attribute must be paired with stable/unstable attribute + E0693, // incorrect `repr(align)` attribute format } |
