-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Interner cleanups #93147
Interner cleanups #93147
Conversation
I have found this code very confusing at times. This commit clarifies things. In particular, the commit explains the requirements that the `Borrow` impls put on the `Eq` and `Hash` impls, which are non-obvious. And it puts the `Borrow` impls first, since they force `Eq` and `Hash` to have particular forms. The commit also notes `TyS`'s uniqueness requirements.
don't assume this to impact perf, but not 100% confident in using a rollup in case going to @bors try @rust-timer queue after that r=me |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit d46ed5d with merge 07c20f3535c292ca5991882f170a5c28204334c2... |
☀️ Try build successful - checks-actions |
Queued 07c20f3535c292ca5991882f170a5c28204334c2 with parent 523be2e, future comparison URL. |
Finished benchmarking commit (07c20f3535c292ca5991882f170a5c28204334c2): comparison url. Summary: This benchmark run did not return any relevant changes. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR led to changes in compiler perf. @bors rollup=never |
@bors r+ rollup |
📌 Commit d46ed5d has been approved by |
Interner cleanups Improve some code that I have found confusing. r? `@lcnr`
Interner cleanups Improve some code that I have found confusing. r? ``@lcnr``
…askrgr Rollup of 9 pull requests Successful merges: - rust-lang#85967 (add support for the l4-bender linker on the x86_64-unknown-l4re-uclibc tier 3 target) - rust-lang#92828 (Print a helpful message if unwinding aborts when it reaches a nounwind function) - rust-lang#93012 (Update pulldown-cmark version to fix markdown list issue) - rust-lang#93116 (Simplify use of `map_or`) - rust-lang#93132 (Increase the format version of rustdoc-json-types) - rust-lang#93147 (Interner cleanups) - rust-lang#93153 (Reject unsupported naked functions) - rust-lang#93170 (Add missing GUI test explanations) - rust-lang#93172 (rustdoc: remove dashed underline under main heading) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Improve some code that I have found confusing.
r? @lcnr