convert all_macro_rules from hashmap to hashset
This commit is contained in:
parent
918b5c391f
commit
8d2de634ec
4 changed files with 4 additions and 4 deletions
|
|
@ -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, \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue