Audit behavior of derives on #[repr(align(...))]
enums
#1758
Labels
blocking-next-release
This issue should be resolved before we release on crates.io
For example, this enum has size 2 despite being
#[repr(u8)]
:This is a subtle edge case; we should audit our derive code to make sure all enum derives handle this case correctly.
This is especially important in combination with #1752 which (as of this writing) synthesizes tag enums with the exact same
#[repr(...)]
attribute as the user's type, including anyalign
reprs. That is new behavior as of that PR.The text was updated successfully, but these errors were encountered: