resolve: Properly integrate derives and macro_rules scopes
This commit is contained in:
parent
d65e272a9f
commit
d479ff2ffe
5 changed files with 47 additions and 14 deletions
|
|
@ -74,7 +74,7 @@ impl<'a> DefCollector<'a> {
|
|||
})
|
||||
}
|
||||
|
||||
fn visit_macro_invoc(&mut self, id: NodeId) {
|
||||
pub fn visit_macro_invoc(&mut self, id: NodeId) {
|
||||
self.definitions.set_invocation_parent(id.placeholder_to_expn_id(), self.parent_def);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue