Update Rust to 1.12.0-nightly (545a3a94f 2016-08-04)

This commit is contained in:
Anthony Ramine 2016-08-03 16:40:51 +02:00
parent 1086df67e0
commit f88302ebf3
6 changed files with 7 additions and 9 deletions

View file

@ -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);
}
}