about summary refs log tree commit diff
path: root/tests/ui/layout
AgeCommit message (Expand)AuthorLines
2023-11-24Show number in error message even for one errorNilstrieb-4/+4
2023-10-27fix failure to detect a too-big-type after adding paddingRalf Jung-0/+26
2023-10-25Work around the fact that `check_mod_type_wf` may spuriously return `ErrorGua...Oli Scherer-3/+23
2023-10-20Avoid a `track_errors` by bubbling up most errors from `check_well_formed`Oli Scherer-13/+4
2023-09-11Rollup merge of #115708 - RalfJung:homogeneous, r=davidtwcoMatthias Krüger-0/+76
2023-09-11Disentangle `Debug` and `Display` for `Ty`.Nicholas Nethercote-5/+5
2023-09-10fix homogeneous_aggregate not ignoring some 1-ZSTRalf Jung-0/+76
2023-09-09better spans for WF errorsRalf Jung-2/+2
2023-09-09use hir_crate_items(()).definitions() instead of hir().items()Ralf Jung-6/+6
2023-09-09rustc_layout, rustc_abi: make sure the types are well-formedRalf Jung-1/+14
2023-09-06rustc_layout/abi: error when attribute is applied to the wrong thingRalf Jung-12/+31
2023-08-29Rollup merge of #111580 - atsuzaki:layout-ice, r=oli-obkMatthias Krüger-0/+42
2023-08-29there seems to be no reason to treat ZST specially in these casesRalf Jung-2/+2
2023-08-29rustc_abi: audit uses of is_zst; fix a case of giving an enum insufficient al...Ralf Jung-0/+58
2023-08-28Don't ICE on layout computation failureKatherine Philip-0/+42
2023-08-27add rustc_abi debugging attributeRalf Jung-19/+19
2023-07-29Change default panic handler message format.Mara Bos-0/+1
2023-07-27Don't attempt to compute layout of type referencing errorMichael Goulet-0/+17
2023-07-22Rollup merge of #113957 - Urgau:regression-test-issue-113941, r=dtolnayMatthias Krüger-0/+13
2023-07-22Add regression test for issue #113941 - naive layout isn't refinedUrgau-0/+13
2023-07-21Revert "Auto merge of #113166 - moulins:ref-niches-initial, r=oli-obk"David Tolnay-2/+2
2023-07-21Track (partial) niche information in `NaiveLayout`Moulins-2/+2
2023-07-21properly handle arrays and wide pointers in `naive_layout_of`Moulins-1/+1
2023-07-21add `naive_layout_of` queryMoulins-1/+1
2023-07-14i686-windows: make requested alignment > 4 special case apply transitivelyErik Desjardins-74/+74
2023-07-10aarch64-linux: properly handle 128bit aligned aggregatesErik Desjardins-0/+74
2023-07-10repr(align) <= 4 should still be byvalErik Desjardins-74/+86
2023-07-10bless layout tests for has_repr_align in debug outputErik Desjardins-0/+74
2023-06-19Better error messageMichael Goulet-1/+1
2023-06-19Don't ICE on unnormalized struct tail in layout computationMichael Goulet-0/+41
2023-06-13Add test case for unsizing with nicheWesley Wiser-0/+30
2023-05-29Make struct layout not depend on unsizeable tailLukas Markeffsky-0/+25
2023-05-05Add additional test case for repr(packed) allowing union abi opt to kick in.Luqman Aden-2/+33
2023-05-05Add test cases for #104802.Luqman Aden-11/+120
2023-05-05Do not use scalar layout if there are ZSTs with alignment > 1Oli Scherer-1/+115
2023-04-27bless testsThe 8472-20/+20
2023-04-12Special-case item attributes in the suggestion outputEsteban Küber-2/+0
2023-04-12Tweak output for 'add line' suggestionEsteban Küber-2/+4
2023-03-13Layout of `&dyn Trait<[type error]>` is still wideMichael Goulet-0/+22
2023-02-07Tweak ICE messageEsteban Küber-1/+1
2023-01-11Move /src/test to /testsAlbert Larsan-0/+2969