File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -244,6 +244,18 @@ fn main() {
244244```
245245"## ,
246246
247+ E0589 : r##"
248+ The value of `N` that was specified for `repr(align(N))` was not a power
249+ of two, or was greater than 2^29.
250+
251+ ```compile_fail,E0589
252+ #[repr(align(15))] // error: invalid `repr(align)` attribute: not a power of two
253+ enum Foo {
254+ Bar(u64),
255+ }
256+ ```
257+ "## ,
258+
247259E0658 : r##"
248260An unstable feature was used.
249261
@@ -321,7 +333,6 @@ register_diagnostics! {
321333 E0555 , // malformed feature attribute, expected #![feature(...)]
322334 E0556 , // malformed feature, expected just one word
323335 E0584 , // file for module `..` found at both .. and ..
324- E0589 , // invalid `repr(align)` attribute
325336 E0629 , // missing 'feature' (rustc_const_unstable)
326337 E0630 , // rustc_const_unstable attribute must be paired with stable/unstable attribute
327338 E0693 , // incorrect `repr(align)` attribute format
You can’t perform that action at this time.
0 commit comments