-
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
Make all hir::Map
methods consistently by-value
#93853
Conversation
r? @wesleywiser (rust-highfive has picked a reviewer for you, use r? to override) |
(hir::Map only consists of a single reference anyways)
bb9e058
to
89ac81a
Compare
(Also contains a change from using |
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 7eff2fe with merge 6488fa74e03fda1b97136a83ee94ad2848a6eb5b... |
☀️ Try build successful - checks-actions |
Queued 6488fa74e03fda1b97136a83ee94ad2848a6eb5b with parent 56cd04a, future comparison URL. |
Finished benchmarking commit (6488fa74e03fda1b97136a83ee94ad2848a6eb5b): comparison url. Summary: This benchmark run did not return any relevant results. 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+ |
@wesleywiser: 🔑 Insufficient privileges: Not in reviewers |
@bors r+ |
📌 Commit 7eff2fe has been approved by |
@bors rollup |
@bors rollup=maybe |
…askrgr Rollup of 8 pull requests Successful merges: - rust-lang#92242 (Erase regions before calculating layout for packed field capture) - rust-lang#93443 (Add comment on stable_hash_impl for OwnerNodes) - rust-lang#93742 (Drop rustc-docs from complete profile) - rust-lang#93852 (rustdoc: remove support for multi-query search) - rust-lang#93853 (Make all `hir::Map` methods consistently by-value) - rust-lang#93861 (Fix ICE if no trait assoc const eq) - rust-lang#93862 (Split x86_64-apple builder into two) - rust-lang#93864 (Remove ArchiveBuilder::update_symbols) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
hir::Map
only consists of a single reference (as part of the containedTyCtxt
) anyways, so copying is literally zero overhead compared to passing a reference