Add negative impl for Ord, PartialOrd on LocalDefId#92442
Merged
bors merged 1 commit intorust-lang:masterfrom Jan 5, 2022
Merged
Add negative impl for Ord, PartialOrd on LocalDefId#92442bors merged 1 commit intorust-lang:masterfrom
impl for Ord, PartialOrd on LocalDefId#92442bors merged 1 commit intorust-lang:masterfrom
Conversation
Add comment about why `LocalDefId` should not be `Ord` Also fix some formatting in the doc comment.
3236a67 to
0bac713
Compare
LocalDefId should not be Ordimpl for Ord, PartialOrd on LocalDefId
Contributor
|
r? @Aaron1011 |
Contributor
|
@bors r+ |
Collaborator
|
📌 Commit 0bac713 has been approved by |
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Jan 5, 2022
…askrgr Rollup of 7 pull requests Successful merges: - rust-lang#92092 (Drop guards in slice sorting derive src pointers from &mut T, which is invalidated by interior mutation in comparison) - rust-lang#92388 (Fix a minor mistake in `String::try_reserve_exact` examples) - rust-lang#92442 (Add negative `impl` for `Ord`, `PartialOrd` on `LocalDefId`) - rust-lang#92483 (Stabilize `result_cloned` and `result_copied`) - rust-lang#92574 (Add RISC-V detection macro and more architecture instructions) - rust-lang#92575 (ast: Always keep a `NodeId` in `ast::Crate`) - rust-lang#92583 (:arrow_up: rust-analyzer) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
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.
Suggested in #92233 (comment).
This also fixes some formatting in the doc comment.
r? @cjgillot