Join GitHub today
rustc: ensure optimized enums have a properly aligned size. #46808
Fixes #46769 by padding the optimized enums wrapping packed data as necessary.
Note that this is not the only way to solve this - on nightly, #46436 makes it easier to fix without adding new padding because of the replacement of