File tree 1 file changed +12
-1
lines changed
1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -244,6 +244,18 @@ fn main() {
244
244
```
245
245
"## ,
246
246
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
+
247
259
E0658 : r##"
248
260
An unstable feature was used.
249
261
@@ -321,7 +333,6 @@ register_diagnostics! {
321
333
E0555 , // malformed feature attribute, expected #![feature(...)]
322
334
E0556 , // malformed feature, expected just one word
323
335
E0584 , // file for module `..` found at both .. and ..
324
- E0589 , // invalid `repr(align)` attribute
325
336
E0629 , // missing 'feature' (rustc_const_unstable)
326
337
E0630 , // rustc_const_unstable attribute must be paired with stable/unstable attribute
327
338
E0693 , // incorrect `repr(align)` attribute format
You can’t perform that action at this time.
0 commit comments