-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Use LocalDefId instead of HirId for reachable_set elements. #74346
Conversation
@bors try @rust-timer queue |
Awaiting bors try build completion |
⌛ Trying commit 6716c0e4207bfb5e4fa845e097d2c288bc98277e with merge 902ba0f9165e2d3491f89552b03ad7ba8d26e9a8... |
☀️ Try build successful - checks-actions, checks-azure |
Queued 902ba0f9165e2d3491f89552b03ad7ba8d26e9a8 with parent 23744c8, future comparison URL. |
Finished benchmarking try commit (902ba0f9165e2d3491f89552b03ad7ba8d26e9a8): comparison url. |
Mostly neutral, so this is more of a cleanup PR than an optimization one. |
Somehow this ended up without an assignee? |
r=me but needs rebase |
@bors r=nikomatsakis |
📌 Commit 8b86b28 has been approved by |
Use LocalDefId instead of HirId for reachable_set elements. The only `HirId`s being tracked there that don't have matching `DefId`s are local variables, and that's an accident from rust-lang#44316 (where I preserved the old behavior, even if nothing relied on reachability tracking local variables).
Rollup of 10 pull requests Successful merges: - rust-lang#74204 (Don't visit foreign function bodies when lowering ast to hir) - rust-lang#74314 (rustc_typeck: construct {Closure,Generator}Substs more directly.) - rust-lang#74346 (Use LocalDefId instead of HirId for reachable_set elements.) - rust-lang#74399 (Move DelaySpanBugEmitted to ty::context) - rust-lang#75177 (Add regression test for issue-66768) - rust-lang#75223 (Add #[track_caller] to `Session::delay_span_bug`) - rust-lang#75423 (Move to intra-doc links for /library/core/src/hint.rs) - rust-lang#75485 (pin docs: add some forward references) - rust-lang#75569 (Bump minor version of emsdk to 1.38.47) - rust-lang#75596 (Switch to intra-doc links in /sys/windows/ext/{ffi,fs,process}.rs) Failed merges: r? @ghost
The only
HirId
s being tracked there that don't have matchingDefId
s are local variables, and that's an accident from #44316 (where I preserved the old behavior, even if nothing relied on reachability tracking local variables).