diff options
| author | bors <bors@rust-lang.org> | 2023-06-13 22:34:59 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-06-13 22:34:59 +0000 |
| commit | 6330daade9766bbf896495898c2347dc3be6da17 (patch) | |
| tree | 6b2e000ca84491b3929c34b7b69d9b58000b87b0 /compiler/rustc_parse/src/parser/expr.rs | |
| parent | 371994e0d8380600ddda78ca1be937c7fb179b49 (diff) | |
| parent | b982f3a98820e60eb04ac06910eca66f9a89d517 (diff) | |
| download | rust-6330daade9766bbf896495898c2347dc3be6da17.tar.gz rust-6330daade9766bbf896495898c2347dc3be6da17.zip | |
Auto merge of #112062 - lukas-code:unsized-layout, r=wesleywiser
Make struct layout not depend on unsizeable tail fixes (after backport) https://github.com/rust-lang/rust/issues/112048 Since unsizing `Ptr<Foo<T>>` -> `Ptr<Foo<U>` just copies the pointer and adds the metadata, the layout of `Foo` must not depend on niches in and alignment of the tail `T`. Nominating for beta 1.71, because it will have this issue: `@rustbot` label beta-nominated
Diffstat (limited to 'compiler/rustc_parse/src/parser/expr.rs')
0 files changed, 0 insertions, 0 deletions
