Uh oh!
There was an error while loading. Please reload this page.
mv the raw pointer {swap,replace}_ptr to std::ptr + some cleanup - #6862
Closed
thestinger wants to merge 3 commits into
Closed
mv the raw pointer {swap,replace}_ptr to std::ptr + some cleanup#6862thestinger wants to merge 3 commits into
thestinger wants to merge 3 commits into
Conversation
bors added a commit
that referenced
this pull request
May 31, 2013
I don't like the `util` module in general, and `ptr` is a much better place for these.
flip1995 pushed a commit
to flip1995/rust
that referenced
this pull request
Mar 25, 2021
`match_wildcard` improvements fixes: rust-lang#6604fixes: rust-lang#5733fixes: rust-lang#6862rust-lang#5733 is only fixed in the normal case, if different paths are used for the variants then the same problem will occur. It's cause by `def_path_str` returning an utterly useless result. I haven't dug into why yet. For rust-lang#6604 there should be some discussion before accepting this. It's easy enough to change the message rather than disable the lint for `Option` and `Result`. changelog: Attempt to find a common path prefix for `match_wildcard_for_single_variants` and `wildcard_enum_match_arm` changelog: Don't lint op `Option` and `Result` for `match_wildcard_for_single_variants` and `wildcard_enum_match_arm` changelog: Consider `or` patterns and `Self` prefix for `match_wildcard_for_single_variants` and `wildcard_enum_match_arm`
U007D pushed a commit
to U007D/rust-mos
that referenced
this pull request
Aug 21, 2026
6862: Add LifetimeParam resolving to Semantics r=matklad a=Veykril This is stuff required for the lifetime references/definitions PR. I pulled this out to make it easier to review as well as because there is one thing that still has to be addressed which can be found in the review comments. Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
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.
I don't like the
utilmodule in general, andptris a much better place for these.