mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-27 11:05:06 +00:00
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
For more information about how rustc works, see the rustc dev guide.