Uh oh!
There was an error while loading. Please reload this page.
resolve: Use NameBinding for local variables and generic parameters - #89100
Conversation
rust-highfive
commented
Sep 19, 2021
r? @estebank (rust-highfive has picked a reviewer for you, use r? to override) |
cjgillot
commented
Oct 17, 2021
@bors r+ |
bors
commented
Oct 17, 2021
📌 Commit e4e3c9a has been approved by |
resolve: Use `NameBinding` for local variables and generic parameters `NameBinding` is a structure used for representing any name introduction (an item, or import, or even a built-in). Except that local variables and generic parameters weren't represented as `NameBinding`s, for this reason they requires separate paths in name resolution code in several places. This PR introduces `NameBinding`s for local variables as well and simplifies all the code working with them leaving only the `NameBinding` paths.
ehuss
commented
Oct 17, 2021
jyn514
commented
Oct 18, 2021
@bors rollup=iffy |
petrochenkov
commented
Oct 18, 2021
@bors r=cjgillot |
bors
commented
Oct 18, 2021
📌 Commit c1e8fc8 has been approved by |
bors
commented
Oct 19, 2021
⌛ Testing commit c1e8fc8 with merge 4a2bec300777fb1a2450c5dd87f7b00792b99969... |
bors
commented
Oct 19, 2021
💥 Test timed out |
rust-log-analyzer
commented
Oct 19, 2021
petrochenkov
commented
Oct 19, 2021
@bors retry |
ehuss
commented
Oct 19, 2021
@bors retry test-various hung after downloading the docker image, no clear reason. |
bors
commented
Oct 20, 2021
bors
commented
Oct 20, 2021
☀️ Test successful - checks-actions |
rust-timer
commented
Oct 20, 2021
Finished benchmarking commit (6162529): 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. @rustbot label: -perf-regression |
rust-timer
commented
Oct 20, 2021
Finished benchmarking commit (6162529): comparison url. Summary: ERROR categorizing benchmark run! @rustbot label: -perf-regression |
rust-timer
commented
Oct 20, 2021
Finished benchmarking commit (6162529): comparison url. Summary: This change led to very large relevant regressions 😿 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 |
Mark-Simulacrum
commented
Oct 20, 2021
This'll need some manual checking locally to verify the regression given the potential environment changes to the collector, I'll try to do that. |
Mark-Simulacrum
commented
Oct 20, 2021
I'm pretty confident the regression is real. There's wall time regressions (including in e.g. self-profile results), so it seems to bear out in practice. @petrochenkov I am inclined to revert this temporarily until there's a fix, unless the fix is simple and can be landed on the roughly same timeframe. |
petrochenkov
commented
Oct 21, 2021
Wow, not something that I'd expect. |
…illot" This reverts commit 6162529.
Mark-Simulacrum
commented
Oct 21, 2021
Posted a revert #90130. |
…=oli-obk Revert "resolve: Use NameBinding for local variables and generic parameters" This reverts commit 6162529, that is, PR rust-lang#89100. Reverting per performance regression noted post-merge on that PR (rust-lang#89100 (comment)).
NameBindingis a structure used for representing any name introduction (an item, or import, or even a built-in).Except that local variables and generic parameters weren't represented as
NameBindings, for this reason they requires separate paths in name resolution code in several places.This PR introduces
NameBindings for local variables as well and simplifies all the code working with them leaving only theNameBindingpaths.