rust/compiler/rustc_resolve/src
Guillaume Gomez 3e8e8d2dad
Rollup merge of #88238 - m-ou-se:used-imports-no-track-namespace, r=estebank
Stop tracking namespace in used_imports.

This changes `used_imports` from a `FxHashSet<(NodeId, Namespace)>` to a `FxHashSet<NodeId>`, as the Namespace information isn't used.

The only point that uses it did three lookups, `|=`'ing them together.

r? `@estebank`
2021-08-22 20:52:56 +02:00
..
late review comment: use newtype to deduplicate logic 2021-08-18 14:05:15 +00:00
build_reduced_graph.rs Use LocalExpnId where possible. 2021-07-17 19:41:02 +02:00
check_unused.rs Stop tracking namespce in used_imports. 2021-08-22 16:50:59 +02:00
def_collector.rs Use LocalExpnId where possible. 2021-07-17 19:41:02 +02:00
diagnostics.rs Suggest importing the right kind of macro. 2021-08-22 14:07:41 +02:00
imports.rs Stop tracking namespce in used_imports. 2021-08-22 16:50:59 +02:00
late.rs Stop tracking namespce in used_imports. 2021-08-22 16:50:59 +02:00
lib.rs Stop tracking namespce in used_imports. 2021-08-22 16:50:59 +02:00
macros.rs Stop tracking namespce in used_imports. 2021-08-22 16:50:59 +02:00