Rename hir::Node::Local
into hir::Node::LetStmt
This commit is contained in:
parent
d318bf1009
commit
e0d3439226
43 changed files with 78 additions and 77 deletions
|
@ -303,7 +303,7 @@ impl<'a, 'hir> Visitor<'hir> for NodeCollector<'a, 'hir> {
|
|||
}
|
||||
|
||||
fn visit_local(&mut self, l: &'hir LetStmt<'hir>) {
|
||||
self.insert(l.span, l.hir_id, Node::Local(l));
|
||||
self.insert(l.span, l.hir_id, Node::LetStmt(l));
|
||||
self.with_parent(l.hir_id, |this| {
|
||||
intravisit::walk_local(this, l);
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue