diff options
| author | Stuart Cook <Zalathar@users.noreply.github.com> | 2025-08-29 12:54:10 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-29 12:54:10 +1000 |
| commit | dd03ce8cba768ca754ffc11659dd86822dfa9ac2 (patch) | |
| tree | 6ac0f297f109ca5934f12b63e4810974c2057298 /compiler/rustc_lint/messages.ftl | |
| parent | 6ac6eb6f49a97461ce5eadd71d533a7de8395e5b (diff) | |
| parent | 12b57942d646d27e8d0a615ba4b8a0dea6cf3b9f (diff) | |
| download | rust-dd03ce8cba768ca754ffc11659dd86822dfa9ac2.tar.gz rust-dd03ce8cba768ca754ffc11659dd86822dfa9ac2.zip | |
Rollup merge of #145387 - zachs18:remove-tmplayout, r=cjgillot
Remove TmpLayout in layout_of_enum 09a3846 from <https://github.com/rust-lang/rust/pull/103693> made LayoutData be owned instead of interned in `Variants::Multiple::variants`[^1], so there's no need for `TmpLayout` in layout_of_enum anymore, and we can just store the variants' layouts directly in the prospective `LayoutData`s' `variants` fields. This should have no effect on semantics or layout. (written as part of rust-lang/rust#145337 but not related to the layout optimizations in that PR) [^1]: see line 1154 of `compiler/rustc_target/src/abi/mod.rs` in the linked commit; `Variants::Multiple::variants` effectively changed from `IndexVec<.., Layout<'tcx>>` to `IndexVec<.., LayoutData>` where the `LayoutData`s are not interned as `Layout`s (`LayoutData` was at the time called `LayoutS`)
Diffstat (limited to 'compiler/rustc_lint/messages.ftl')
0 files changed, 0 insertions, 0 deletions
