optimize enum of #[repr(int)] enums with non-overlapping discriminants to just use inner discriminant #126010
Labels
A-codegen
Area: Code generation
A-layout
Area: Memory layout of types
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
currently this layout optimization is not done:
previously mentioned: #46213 (comment)
The text was updated successfully, but these errors were encountered: