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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
packed-struct-borrow-element.rs
packed-struct-borrow-element.stderr
packed-struct-drop-aligned.rs s/generator/coroutine/ 2023-10-20 21:14:01 +00:00
packed-struct-generic-layout.rs
packed-struct-generic-size.rs
packed-struct-generic-transmute.rs move packed-struct tests into packed/ folder 2023-12-02 14:48:07 +01:00
packed-struct-generic-transmute.stderr move packed-struct tests into packed/ folder 2023-12-02 14:48:07 +01:00
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 move packed-struct tests into packed/ folder 2023-12-02 14:48:07 +01:00
packed-struct-transmute.stderr move packed-struct tests into packed/ folder 2023-12-02 14:48:07 +01:00
packed-struct-vec.rs
packed-tuple-struct-layout.rs
packed-tuple-struct-size.rs
packed-with-inference-vars-issue-61402.rs