Skip to content

Commit

Permalink
Auto merge of #100064 - RalfJung:disaligned, r=petrochenkov
Browse files Browse the repository at this point in the history
fix is_disaligned logic for nested packed structs

rust-lang/rust#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 rust-lang/rust#99838
  • Loading branch information
bors committed Aug 3, 2022
2 parents 38dc9bb + ed7a61c commit 8e29371
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 8e29371

Please sign in to comment.