You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rollup merge of #153189 - JayanAXHF:refactor/check_attrs_reftor_1, r=JonathanBrouwer
refactor: move `check_align` to `parse_alignment`
Part of #153101
r? @JonathanBrouwer
PS: jonathan i'm not sure about what to do with `check_align` now
Copy file name to clipboardExpand all lines: tests/ui/repr/repr_align_greater_usize.rs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -20,8 +20,8 @@ use minicore::*;
20
20
#[repr(align(16384))]
21
21
structKitten;
22
22
23
-
#[repr(align(32768))]//[msp430]~ ERROR alignment must not be greater than `isize::MAX`
23
+
#[repr(align(32768))]//[msp430]~ ERROR invalid `repr(align)` attribute: alignment larger than `isize::MAX` bytes (32767 for the current target) [E0589]
24
24
structCat;
25
25
26
-
#[repr(align(65536))]//[msp430]~ ERROR alignment must not be greater than `isize::MAX`
26
+
#[repr(align(65536))]//[msp430]~ ERROR invalid `repr(align)` attribute: alignment larger than `isize::MAX` bytes (32767 for the current target) [E0589]
0 commit comments