Auto merge of #125740 - RalfJung:transmute-size-check, r=oli-obk

transmute size check: properly account for alignment

Fixes another place where ZST alignment was ignored when checking whether something is a newtype. I wonder how many more of these there are...

Fixes https://github.com/rust-lang/rust/issues/101084
This commit is contained in:
bors 2024-06-25 07:21:17 +00:00
commit 17e057c5f4

Diff Content Not Available