Repository navigation
Rc/Arc::ptr_eq ignore the metadata of all wide pointers - #166144
Merged
Merged
Conversation
Collaborator
|
rustbot has assigned @Mark-Simulacrum. Use Why was this reviewer chosen?The reviewer was selected based on:
|
Member
|
@bors r+ rollup |
Contributor
rust-bors Bot
pushed a commit
that referenced
this pull request
Nov 22, 2026
…uwer Rollup of 4 pull requests Successful merges: - #165720 (windows: remove redundant prefix parsing in `PathBuf::_push`) - #166243 (Avoid terminator: None in check_enums in `split_block`) - #165434 (Stabilize `char::is_case_ignorable`, `char::is_cased`, and the `titlecase` feature) - #166144 (Rc/Arc::ptr_eq ignore the metadata of all wide pointers)
rust-bors Bot
pushed a commit
that referenced
this pull request
Nov 23, 2026
Rollup merge of #166144 - RalfJung:rc-ptr-eq, r=Mark-Simulacrum Rc/Arc::ptr_eq ignore the metadata of all wide pointers I don't know why the docs specifically mention `dyn Trait` pointers, but that seems just wrong -- the length of slices is ignored as well. This seems like a mistake that was introduced in #106450.
github-actions Bot
pushed a commit
to rust-lang/stdarch
that referenced
this pull request
Nov 23, 2026
…uwer Rollup of 4 pull requests Successful merges: - rust-lang/rust#165720 (windows: remove redundant prefix parsing in `PathBuf::_push`) - rust-lang/rust#166243 (Avoid terminator: None in check_enums in `split_block`) - rust-lang/rust#165434 (Stabilize `char::is_case_ignorable`, `char::is_cased`, and the `titlecase` feature) - rust-lang/rust#166144 (Rc/Arc::ptr_eq ignore the metadata of all wide pointers)
github-merge-queue Bot
pushed a commit
to rust-lang/miri
that referenced
this pull request
Nov 23, 2026
…uwer Rollup of 4 pull requests Successful merges: - rust-lang/rust#165720 (windows: remove redundant prefix parsing in `PathBuf::_push`) - rust-lang/rust#166243 (Avoid terminator: None in check_enums in `split_block`) - rust-lang/rust#165434 (Stabilize `char::is_case_ignorable`, `char::is_cased`, and the `titlecase` feature) - rust-lang/rust#166144 (Rc/Arc::ptr_eq ignore the metadata of all wide pointers)
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 free
to 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 know why the docs specifically mention
dyn Traitpointers, but that seems just wrong -- the length of slices is ignored as well. This seems like a mistake that was introduced in #106450.