summary refs log tree commit diff
path: root/src/test/ui/layout
AgeCommit message (Expand)AuthorLines
2022-09-07Change name of "dataful" variant to "untagged"Michael Benfield-3/+3
2022-08-03Warn about dead tuple struct fieldsFabian Wolff-2/+2
2022-07-31reorder fields in Laout debug outputRalf Jung-920/+920
2022-07-30Test another enum niche with multiple ZST alignmentsJosh Stone-3/+132
2022-07-30Fix the size of niche enums with ZST alignmentJosh Stone-0/+340
2022-07-13Limit test to x86 targets for reproducabilityOli Scherer-0/+1
2022-07-12Always check Cell alongside with `UnsafeCell`Oli Scherer-1/+12
2022-07-12Use some more visible sigils than `,`Oli Scherer-16/+16
2022-07-11Only check relative sizes on platform specific typesOli Scherer-37/+32
2022-07-11tidyOli Scherer-1/+4
2022-07-11Simplify size checkingOli Scherer-39/+31
2022-07-11Don't allow accidental runtime-checksOli Scherer-51/+50
2022-07-11tidyOli Scherer-4/+16
2022-07-11Make tests work on 32 bit and 64 bitOli Scherer-19/+22
2022-07-11Show sizes in error outputOli Scherer-1/+3
2022-07-11Rename assertion macroOli Scherer-27/+27
2022-07-11Simplify assertion macroOli Scherer-29/+28
2022-07-11Move checks to compile-timeOli Scherer-1/+8
2022-07-11Hide niches in SIMD types, tooOli Scherer-0/+8
2022-07-08Create a custom layout path for UnsafeCell instead of piggy backing on the la...Oli Scherer-0/+9
2022-07-08Add tests for libstd typesOli Scherer-5/+17
2022-07-07`UnsafeCell` now has no niches, ever.Oli Scherer-4/+1
2022-07-05fix the layout of repr(align) enumsRalf Jung-0/+191
2022-07-01Shorten def_span for more items.Camille GILLOT-53/+36
2022-05-09make sure ScalarPair enums have ScalarPair variants; add some layout sanity c...Ralf Jung-21/+109
2022-05-06make Size and Align debug-printing a bit more compactRalf Jung-521/+190
2022-04-22normalize out pref_align (copied from another test)Erik Desjardins-56/+23
2022-04-18mark payload fields of ScalarPair enums as Scalar::Union when they're not alw...Erik Desjardins-0/+807
2022-04-05Mark scalar layout unions so that backends that do not support partially init...Oli Scherer-111/+87
2021-11-20Align multiline messages to their label (add left margin)Esteban Kuber-1137/+1137
2021-08-12Add c_enum_min_bits to target specManish Goregaokar-0/+476
2021-07-27Make all tests use type_alias_impl_trait feature instead of minSantiago Pastorino-1/+1
2021-04-13Fix ICE during type layout when there's a `[type error]`Camelid-0/+58
2021-03-15Replace `type_alias_impl_trait` by `min_type_alias_impl_trait` with no actual...Oli Scherer-2/+2
2021-02-22Test hexagon-enum only when llvm target is presentSimonas Kazlauskas-5/+6
2021-02-22Fix sizes of repr(C) enums on hexagonSimonas Kazlauskas-0/+475
2020-11-18change error for `LayoutErr::SizeOverflow`Bastian Kauschke-0/+13
2020-05-30tag/niche terminology cleanupRalf Jung-6/+6
2020-04-16rustc_target::abi: add Primitive variant to FieldsShape.Ana-Maria Mihalache-3/+1
2020-04-06tweak rustc_layout debug outputRalf Jung-10/+10
2020-04-05also print type typeRalf Jung-5/+5
2020-04-05also print rustc_layout on impl trait type aliasesRalf Jung-2/+41
2020-03-25Rename LayoutDetails to just Layout.Ana-Maria Mihalache-8/+8
2020-03-21normalize away preferred alignmentRalf Jung-28/+13
2020-03-20make rustc_layout also work for type definitionsRalf Jung-6/+228
2020-03-20add a test for rustc_layout(debug)Ralf Jung-0/+127
2020-02-10Add `repr(no_niche)` to `UnsafeCell`. Fix #68303.Felix S. Klock II-0/+32
2020-02-08rustc_target: switch homogeneous_aggregate to returning Result.Eduard-Mihai Burtescu-22/+22
2019-11-26Fix spelling typosBrian Wignall-1/+1
2019-07-12Regression test for issue 60431.Felix S. Klock II-0/+35