about summary refs log tree commit diff
path: root/src/test/ui/layout/zero-sized-array-enum-niche.stderr
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-424/+0
2022-09-07Change name of "dataful" variant to "untagged"Michael Benfield-1/+1
This is in anticipation of a new enum layout, in which the niche optimization may be applied even when multiple variants have data.
2022-07-31reorder fields in Laout debug outputRalf Jung-152/+152
2022-07-30Test another enum niche with multiple ZST alignmentsJosh Stone-3/+124
2022-07-30Fix the size of niche enums with ZST alignmentJosh Stone-0/+303
For enums with an aligned ZST variant, like `[T; 0]`, the niche layout was not computing a sufficient size to be consistent with alignment. Now we pad that size up to the alignment, and also make sure to only use the niche variant's ABI when the size and alignment still match.