rust/tests/ui/packed
Takayuki Maeda 87625dbf2b
Rollup merge of #118540 - RalfJung:unsized-packed-offset, r=TaKO8Ki
codegen, miri: fix computing the offset of an unsized field in a packed struct

`#[repr(packed)]`  strikes again.

Fixes https://github.com/rust-lang/rust/issues/118537
Fixes https://github.com/rust-lang/miri/issues/3200

`@bjorn3` I assume cranelift needs the same fix.
2023-12-04 21:19:44 +09:00
..
auxiliary
issue-27060-2.rs
issue-27060-2.stderr
issue-27060.rs
issue-27060.stderr
issue-46152.rs
issue-118537-field-offset-ice.rs codegen, miri: fix computing the offset of an unsized field in a packed struct 2023-12-03 08:26:51 +01:00
issue-118537-field-offset.rs codegen, miri: fix computing the offset of an unsized field in a packed struct 2023-12-03 08:26:51 +01:00
packed-struct-address-of-element.rs
packed-struct-borrow-element-64bit.rs
packed-struct-borrow-element-64bit.stderr
packed-struct-borrow-element.rs
packed-struct-borrow-element.stderr
packed-struct-drop-aligned.rs
packed-struct-generic-layout.rs
packed-struct-generic-size.rs
packed-struct-generic-transmute.rs
packed-struct-generic-transmute.stderr
packed-struct-layout.rs
packed-struct-match.rs
packed-struct-optimized-enum.rs
packed-struct-size-xc.rs
packed-struct-size.rs
packed-struct-transmute.rs
packed-struct-transmute.stderr
packed-struct-vec.rs
packed-tuple-struct-layout.rs
packed-tuple-struct-size.rs
packed-with-inference-vars-issue-61402.rs