resolve: Pass full Finalize in nearly all cases

This commit is contained in:
Vadim Petrochenkov 2022-04-30 16:57:18 +03:00
parent 900607f49a
commit ffedcec4e8
3 changed files with 18 additions and 20 deletions

View file

@ -708,7 +708,7 @@ impl<'a> Resolver<'a> {
ident,
ScopeSet::Macro(kind),
&parent_scope,
Some(ident.span),
Some(Finalize::new(ast::CRATE_NODE_ID, ident.span)),
true,
false,
None,
@ -751,7 +751,7 @@ impl<'a> Resolver<'a> {
ident,
ScopeSet::Macro(MacroKind::Attr),
&parent_scope,
Some(ident.span),
Some(Finalize::new(ast::CRATE_NODE_ID, ident.span)),
true,
false,
None,