about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-08-09 01:38:33 +0200
committerGitHub <noreply@github.com>2019-08-09 01:38:33 +0200
commit432b55e4579972fe3d157b552b8aa18a9c04ff04 (patch)
tree87475e4429eeae060be7a5acb0c86f2e5bf5e279 /src/test/debuginfo/enum-thinlto.rs
parent82e976212f8623408c1f3b8ef39cce13989119d7 (diff)
parentfa58c278300895aad254342c89aafa7c080877b3 (diff)
downloadrust-432b55e4579972fe3d157b552b8aa18a9c04ff04.tar.gz
rust-432b55e4579972fe3d157b552b8aa18a9c04ff04.zip
Rollup merge of #63374 - RalfJung:pin-packed, r=cramertj
move of packed fields might or might not occur when they actually are sufficiently aligned

See https://github.com/taiki-e/pin-project/pull/34, where it was pointed out that we actually don't move fields of 1-aligned types when dropping a packed struct -- but e.g. in a `packed(2)` struct, we don't do something similar for 2-aligned types. The code for that is [here](https://github.com/rust-lang/rust/blob/db7c773a6be2f050d1d1504763819ea3916f5428/src/librustc_mir/util/alignment.rs#L7).
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions