mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
d6b96b61e7
fix is_disaligned logic for nested packed structs https://github.com/rust-lang/rust/pull/83605 broke the `is_disaligned` logic by bailing out of the loop in `is_within_packed` early. This PR fixes that problem and adds suitable tests. Fixes https://github.com/rust-lang/rust/issues/99838 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |