rust/tests/ui/layout
Matthias Krüger 279e2576a0
Rollup merge of #115708 - RalfJung:homogeneous, r=davidtwco
fix homogeneous_aggregate not ignoring some ZST

This is an ABI-breaking change, because it fixes bugs in our ABI code. I'm not sure what that means for this PR, we don't really have a process for such changes, do we? I can only hope nobody relied on the old buggy behavior.

Fixes https://github.com/rust-lang/rust/issues/115664
2023-09-11 21:16:22 +02:00
..
big-type-no-err.rs
cannot-transmute-unnormalizable-type.rs Don't ICE on unnormalized struct tail in layout computation 2023-06-19 20:00:41 +00:00
cannot-transmute-unnormalizable-type.stderr properly handle arrays and wide pointers in `naive_layout_of` 2023-07-21 03:31:45 +02:00
debug.rs rustc_layout, rustc_abi: make sure the types are well-formed 2023-09-09 17:32:12 +02:00
debug.stderr Disentangle `Debug` and `Display` for `Ty`. 2023-09-11 12:51:07 +10:00
enum.rs rustc_abi: audit uses of is_zst; fix a case of giving an enum insufficient alignment 2023-08-29 08:58:58 +02:00
enum.stderr rustc_abi: audit uses of is_zst; fix a case of giving an enum insufficient alignment 2023-08-29 08:58:58 +02:00
hexagon-enum.rs
hexagon-enum.stderr i686-windows: make requested alignment > 4 special case apply transitively 2023-07-14 17:48:13 -04:00
homogeneous-aggr-transparent.rs fix homogeneous_aggregate not ignoring some 1-ZST 2023-09-10 07:38:03 +02:00
homogeneous-aggr-transparent.stderr fix homogeneous_aggregate not ignoring some 1-ZST 2023-09-10 07:38:03 +02:00
homogeneous-aggr-zero-sized-c-struct.rs
homogeneous-aggr-zero-sized-c-struct.stderr
homogeneous-aggr-zero-sized-repr-rust.rs
homogeneous-aggr-zero-sized-repr-rust.stderr
issue-60431-unsized-tail-behind-projection.rs
issue-84108.rs
issue-84108.stderr Special-case item attributes in the suggestion output 2023-04-12 22:50:10 +00:00
issue-96158-scalarpair-payload-might-be-uninit.rs
issue-96158-scalarpair-payload-might-be-uninit.stderr i686-windows: make requested alignment > 4 special case apply transitively 2023-07-14 17:48:13 -04:00
issue-96185-overaligned-enum.rs
issue-96185-overaligned-enum.stderr i686-windows: make requested alignment > 4 special case apply transitively 2023-07-14 17:48:13 -04:00
issue-112048-unsizing-field-order.rs Make struct layout not depend on unsizeable tail 2023-05-29 14:54:48 +02:00
issue-112048-unsizing-niche.rs Add test case for unsizing with niche 2023-06-13 15:32:42 -04:00
issue-113941.rs Add regression test for issue #113941 - naive layout isn't refined 2023-07-22 13:02:59 +02:00
layout-cycle.rs Don't ICE on layout computation failure 2023-08-28 12:40:39 -07:00
layout-cycle.stderr Don't ICE on layout computation failure 2023-08-28 12:40:39 -07:00
malformed-unsized-type-in-union.rs Don't attempt to compute layout of type referencing error 2023-07-27 18:24:08 +00:00
malformed-unsized-type-in-union.stderr Don't attempt to compute layout of type referencing error 2023-07-27 18:24:08 +00:00
struct.rs rustc_abi: audit uses of is_zst; fix a case of giving an enum insufficient alignment 2023-08-29 08:58:58 +02:00
struct.stderr rustc_abi: audit uses of is_zst; fix a case of giving an enum insufficient alignment 2023-08-29 08:58:58 +02:00
thin-meta-implies-thin-ptr.rs
thumb-enum.rs
thumb-enum.stderr i686-windows: make requested alignment > 4 special case apply transitively 2023-07-14 17:48:13 -04:00
transmute-to-tail-with-err.rs Layout of `&dyn Trait<[type error]>` is still wide 2023-03-13 21:35:20 +00:00
transmute-to-tail-with-err.stderr Layout of `&dyn Trait<[type error]>` is still wide 2023-03-13 21:35:20 +00:00
unsafe-cell-hides-niche.rs
valid_range_oob.rs
valid_range_oob.stderr Change default panic handler message format. 2023-07-29 11:42:50 +02:00
zero-sized-array-enum-niche.rs
zero-sized-array-enum-niche.stderr Disentangle `Debug` and `Display` for `Ty`. 2023-09-11 12:51:07 +10:00
zero-sized-array-union.rs
zero-sized-array-union.stderr