Commit 3f3c6f4
committed
Auto merge of #154472 - petrochenkov:fastglob2, r=mati865
resolve: Never lookup glob names in modules from other crates
This is basically #151211, but with the check moved one level above and slightly more work skipped.
#151211 showed small, but very consistent perf improvements (see "Show non-relevant results"), but I didn't notice back then.
(This change logically falls into my current work on splitting local and external name resolution modules in type system https://github.com/petrochenkov/rust/tree/modmodmod)1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
638 | 638 | | |
639 | 639 | | |
640 | 640 | | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
641 | 648 | | |
642 | 649 | | |
643 | 650 | | |
| |||
0 commit comments