Avoid storing the LocalDefId twice

This commit is contained in:
Oli Scherer
2025-04-11 09:52:47 +00:00
parent f5c60f616f
commit 33a6820c2f
3 changed files with 5 additions and 7 deletions

View File

@@ -1209,7 +1209,7 @@ impl<'a, 'ra, 'tcx> BuildReducedGraphVisitor<'a, 'ra, 'tcx> {
.unused_macro_rules
.entry(node_id)
.or_default()
.insert(*rule_i, (ident, *rule_span, def_id));
.insert(*rule_i, (ident, *rule_span));
}
}
}