-
Notifications
You must be signed in to change notification settings - Fork 14k
Fix vec iter zst alignment 148682 #149272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Handle zero-sized types (ZST) to prevent unalignment issues when dropping elements.
Test that Intolter::nth_back does not cause UB for ZSTs with high alignment.
|
This PR modifies |
|
r? @fee1-dead rustbot has assigned @fee1-dead. Use |
This comment has been minimized.
This comment has been minimized.
Fix incorrect usage of step_size in pointer creation for ZST.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like the file name needs to be changed.
https://rustc-dev-guide.rust-lang.org/tests/best-practices.html#test-naming
| @@ -0,0 +1,9 @@ | |||
| // check-pass | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| // check-pass | |
| //@ check-pass |
|
The job Click to see the possible cause of the failure (guessed by this bot) |
No description provided.