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

@ -1983,7 +1983,7 @@ fn resolution_failure(
.tcx
.resolutions(())
.all_macro_rules
.contains_key(&Symbol::intern(path_str))
.contains(&Symbol::intern(path_str))
{
diag.note(format!(
"`macro_rules` named `{path_str}` exists in this crate, \