diff options
| author | bors <bors@rust-lang.org> | 2022-08-03 16:09:56 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-08-03 16:09:56 +0000 |
| commit | d6b96b61e75dd5ad24a77d6a26a7eef3b492856e (patch) | |
| tree | 416c2a4dab6081d97b9feba787a2e7fa35c135e7 /library/std/src | |
| parent | 04f72f95384d97f4c4e7a59e60cb85ec581ebe06 (diff) | |
| parent | 9097ce905427c30bd262f62a403f1e987ebb10c6 (diff) | |
| download | rust-d6b96b61e75dd5ad24a77d6a26a7eef3b492856e.tar.gz rust-d6b96b61e75dd5ad24a77d6a26a7eef3b492856e.zip | |
Auto merge of #100064 - RalfJung:disaligned, r=petrochenkov
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
Diffstat (limited to 'library/std/src')
0 files changed, 0 insertions, 0 deletions
