Uh oh!
There was an error while loading. Please reload this page.
clarify pointer offset function safety concerns - #52668
Merged
Merged
Conversation
rust-highfive
commented
Jul 24, 2018
Contributor
r? @cramertj (rust_highfive has picked a reviewer for you, use r? to override) |
Member
I vaguely recall there being a PR for this previously, or at least an issue, but I can't find it. Maybe @rkruppe remembers? |
cramertj
commented
Jul 24, 2018
Member
@bors r+ rollup |
bors
commented
Jul 24, 2018
Collaborator
📌 Commit fb08915 has been approved by |
hanna-kruppe
commented
Jul 24, 2018
Contributor
This discrepancy with ptrtoint+arithmetic+inttoptr has been brought up multiple times in the past (often by @RalfJung IIRC 😄) but I don't recall a docs PR off-hand. |
RalfJung
commented
Jul 24, 2018
MemberAuthor
Same here. But I looked through the PRs I authored and could not find any. |
RalfJung
commented
Jul 24, 2018
MemberAuthor
Ah, found something: #45719 |
Mark-Simulacrum added a commit
to Mark-Simulacrum/rust
that referenced
this pull request
Jul 24, 2018
clarify pointer offset function safety concerns
bors added a commit
that referenced
this pull request
Jul 25, 2018
Rollup of 7 pull requests Successful merges: - #52391 (Add unaligned volatile intrinsics) - #52402 (impl PartialEq+Eq for BuildHasherDefault) - #52645 (Allow declaring existential types inside blocks) - #52656 (Stablize Redox Unix Sockets) - #52658 (Prefer `Option::map`/etc over `match` wherever it improves clarity) - #52668 (clarify pointer offset function safety concerns) - #52677 (Release notes: add some missing 1.28 libs stabilization) Failed merges: r? @ghost
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes#45719