rust/tests/ui/layout
Matthias Krüger b7183bd167
Rollup merge of #113957 - Urgau:regression-test-issue-113941, r=dtolnay
Add regression test for issue #113941 - naive layout isn't refined

This PR adds a regression test for issue #113941 - `the naive layout isn't refined by the actual layout` based on the minimized repro https://github.com/rust-lang/rust/issues/113941#issuecomment-1646446769.
2023-07-22 19:57:37 +02:00
..
big-type-no-err.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Add additional test case for repr(packed) allowing union abi opt to kick in. 2023-05-05 16:05:04 -07:00
debug.stderr i686-windows: make requested alignment > 4 special case apply transitively 2023-07-14 17:48:13 -04:00
hexagon-enum.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
hexagon-enum.stderr i686-windows: make requested alignment > 4 special case apply transitively 2023-07-14 17:48:13 -04:00
homogeneous-aggr-zero-sized-c-struct.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
homogeneous-aggr-zero-sized-c-struct.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
homogeneous-aggr-zero-sized-repr-rust.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
homogeneous-aggr-zero-sized-repr-rust.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-60431-unsized-tail-behind-projection.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-84108.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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
thin-meta-implies-thin-ptr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
thumb-enum.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
valid_range_oob.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
valid_range_oob.stderr Revert "Auto merge of #113166 - moulins:ref-niches-initial, r=oli-obk" 2023-07-21 22:35:57 -07:00
zero-sized-array-enum-niche.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
zero-sized-array-enum-niche.stderr i686-windows: make requested alignment > 4 special case apply transitively 2023-07-14 17:48:13 -04:00
zero-sized-array-union.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
zero-sized-array-union.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00