resolve: Collapse macro_rules scope chains on the fly
This commit is contained in:
@@ -677,7 +677,7 @@ impl<'a: 'ast, 'b, 'ast> LateResolutionVisitor<'a, 'b, 'ast> {
|
||||
// During late resolution we only track the module component of the parent scope,
|
||||
// although it may be useful to track other components as well for diagnostics.
|
||||
let graph_root = resolver.graph_root;
|
||||
let parent_scope = ParentScope::module(graph_root);
|
||||
let parent_scope = ParentScope::module(graph_root, resolver);
|
||||
let start_rib_kind = ModuleRibKind(graph_root);
|
||||
LateResolutionVisitor {
|
||||
r: resolver,
|
||||
|
||||
Reference in New Issue
Block a user