mirror of
https://github.com/servo/servo.git
synced 2025-07-30 10:40:27 +01:00
Update Rust to 1.12.0-nightly (545a3a94f 2016-08-04)
This commit is contained in:
parent
1086df67e0
commit
f88302ebf3
6 changed files with 7 additions and 9 deletions
|
@ -211,9 +211,9 @@ impl<'a, 'b: 'a, 'tcx: 'a+'b> visit::Visitor<'a> for FnDefVisitor<'a, 'b, 'tcx>
|
|||
}
|
||||
|
||||
fn visit_fn(&mut self, kind: visit::FnKind<'a>, decl: &'a hir::FnDecl,
|
||||
block: &'a hir::Block, span: codemap::Span, _id: ast::NodeId) {
|
||||
block: &'a hir::Block, span: codemap::Span, id: ast::NodeId) {
|
||||
if let visit::FnKind::Closure(_) = kind {
|
||||
visit::walk_fn(self, kind, decl, block, span);
|
||||
visit::walk_fn(self, kind, decl, block, span, id);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue