diff options
author | bors <bors@rust-lang.org> | 2022-11-08 14:37:40 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2022-11-08 14:37:40 +0000 |
commit | c5842b0be783dffa5a49693541acb79115c7eeef (patch) | |
tree | 2e91a490f87f50dcba4289e8b04db5ae446417e3 /tests/rustdoc-js-std/parser-errors.js | |
parent | ddfe1e87f7c85c03773c29180a931447fcd03b65 (diff) | |
parent | 43bea6cf69501dee3d71e4440d947182a67137a0 (diff) | |
download | rust-c5842b0be783dffa5a49693541acb79115c7eeef.tar.gz |
Auto merge of #103965 - petrochenkov:effvisperf3, r=oli-obk
resolve: More detailed effective visibility tracking for imports
Per-`DefId` tracking is not enough, due to glob imports in particular, which have a single `DefId` for the whole glob import item.
We need to track this stuff per every introduced name (`NameBinding`).
Also drop `extern` blocks from the effective visibility table, they are nominally private and it doesn't make sense to keep them there.
Later commits add some debug-only invariant checking and optimiaztions to mitigate regressions in https://github.com/rust-lang/rust/pull/103965#issuecomment-1304256445.
This is a bugfix and continuation of https://github.com/rust-lang/rust/pull/102026.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions