1
Fork 0

convert all_macro_rules from hashmap to hashset

This commit is contained in:
klensy 2025-02-21 15:29:17 +03:00
parent 918b5c391f
commit 8d2de634ec
4 changed files with 4 additions and 4 deletions

View file

@ -1220,7 +1220,7 @@ pub struct Resolver<'ra, 'tcx> {
effective_visibilities: EffectiveVisibilities,
doc_link_resolutions: FxIndexMap<LocalDefId, DocLinkResMap>,
doc_link_traits_in_scope: FxIndexMap<LocalDefId, Vec<DefId>>,
all_macro_rules: FxHashMap<Symbol, Res>,
all_macro_rules: FxHashSet<Symbol>,
/// Invocation ids of all glob delegations.
glob_delegation_invoc_ids: FxHashSet<LocalExpnId>,