mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-23 16:27:05 +00:00
Show packed field alignment in mir_transform_unaligned_packed_ref Fixes rust-lang/rust#147528 I left the expected padding for the field out of the error message so the message would be the same on all platforms. It also isn't always possible to know the expected alignment, so this makes the message simpler.