Use reference for MacroRulesScopeRef instead of Interned.

This commit is contained in:
LorrensP-2158466
2025-07-09 17:49:05 +02:00
parent e9e31b1a93
commit e56678378b
2 changed files with 2 additions and 3 deletions

View File

@@ -1290,7 +1290,7 @@ impl<'ra> ResolverArenas<'ra> {
self.name_resolutions.alloc(Default::default())
}
fn alloc_macro_rules_scope(&'ra self, scope: MacroRulesScope<'ra>) -> MacroRulesScopeRef<'ra> {
Interned::new_unchecked(self.dropless.alloc(Cell::new(scope)))
self.dropless.alloc(Cell::new(scope))
}
fn alloc_macro_rules_binding(
&'ra self,