Rollup merge of #137392 - klensy:unused, r=compiler-errors

remove few unused fields

Remove unused field and convert hashmap to hashset in second commit.
This commit is contained in:
Matthias Krüger 2025-02-21 19:01:18 +01:00 committed by GitHub
commit cfc2d111ed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 4 additions and 6 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, \