Remove PartialOrd, Ord from LocalDefId#90408
Conversation
|
r? @jackh726 (rust-highfive has picked a reviewer for you, use r? to override) |
|
r? @cjgillot |
This comment has been minimized.
This comment has been minimized.
cjgillot
left a comment
There was a problem hiding this comment.
Thanks for the PR @pierwill! I left a few comments.
Those trait bounds on LocalDefId are used a lot, it may be easier to handle Idx and PartialOrd/Ord separately.
Changing data structures means we will have to be careful about perf implications.
LocalDefIdLocalDefId
Thanks for reviewing, @cjgillot! I'll work on just the ordering traits for now. I also might see if |
624198a to
ae5bf6a
Compare
LocalDefIdPartialOrd, Ord from LocalDefId
Looks like rust/compiler/rustc_index/src/vec.rs Line 15 in 2b643e9 |
This comment has been minimized.
This comment has been minimized.
Remove `rustc_hir::hir_id::HirIdVec` See rust-lang#90408 (comment): > IIRC, `HirIdVec` is never used, you can delete it. PR rust-lang#72015 has been abandoned. r? `@cjgillot`
Remove `rustc_hir::hir_id::HirIdVec` See rust-lang#90408 (comment): > IIRC, `HirIdVec` is never used, you can delete it. PR rust-lang#72015 has been abandoned. r? `@cjgillot`
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
39238b3 to
8b48d70
Compare
PartialOrd, Ord from LocalDefIdPartialOrd, Ord from LocalDefId
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
439c33d to
46a508b
Compare
This has been causing failures in CI here and in rust-lang#90408. A comment there (rust-lang#90408 (comment)) suggested blessing the output; this commit does that manually.
|
Once #89836 is merged (🤞🤞), this should be ready to go. :) |
46a508b to
f00fd59
Compare
|
Just for the record, the failure here #90408 (comment) is probably unrelated to this PR since it happened in other ci-runs as well :( : #91995 (comment) Made a tracking ticket: #92000 |
|
This is ready for another bors attempt! @cjgillot
…On Thu, Dec 16, 2021 at 6:26 AM Matthias Krüger ***@***.***> wrote:
Just for the record, the failure here #90408 (comment)
<#90408 (comment)> is
probably unrelated to this PR since it happened in other ci-runs as well :(
: #91995 (comment)
<#91995 (comment)>
Made a tracking ticket: #92000
<#92000>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#90408 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEV3NIFIUBXWJUREWIOIXNDURHLGXANCNFSM5HAF6KFQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Implement `Ord`, `PartialOrd` for SpanData
f00fd59 to
e6ff0ba
Compare
|
@bors r=cjgillot |
|
📌 Commit e6ff0ba has been approved by |
|
🌲 The tree is currently closed for pull requests below priority 100. This pull request will be tested once the tree is reopened. |
|
☀️ Test successful - checks-actions |
|
Finished benchmarking commit (e983092): comparison url. Summary: This change led to large relevant mixed results 🤷 in compiler performance.
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Next Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression |
|
See previous comment here: #90408 (comment). @rustbot label: +perf-regression-triaged |
Part of work on #90317.