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
The attribute was fairly recently stabilised in form of #[repr(align(x))] however the RFC and some searches still refer to the attribute as #[repr(align="x")], in which case the compiler emits the following error:
The attribute was fairly recently stabilised in form of
#[repr(align(x))]
however the RFC and some searches still refer to the attribute as#[repr(align="x")]
, in which case the compiler emits the following error:We should detect this case and inform users of the correct way to specify the alignment.
cc #33626
The text was updated successfully, but these errors were encountered: