From 411fa40988ca4bbeea498db3afbf3db8785d7c09 Mon Sep 17 00:00:00 2001 From: Jakko Sikkar Date: Mon, 23 Nov 2015 20:54:33 +0200 Subject: update dependencies and fix compile errors --- src/visitor.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/visitor.rs b/src/visitor.rs index 6cbac8592dd..18128f1226c 100644 --- a/src/visitor.rs +++ b/src/visitor.rs @@ -340,20 +340,20 @@ impl<'a> FmtVisitor<'a> { } match ii.node { - ast::MethodImplItem(ref sig, ref body) => { + ast::ImplItemKind::Method(ref sig, ref body) => { self.visit_fn(visit::FnKind::Method(ii.ident, sig, Some(ii.vis)), &sig.decl, body, ii.span, ii.id); } - ast::ConstImplItem(..) => { + ast::ImplItemKind::Const(..) => { // FIXME: Implement } - ast::TypeImplItem(_) => { + ast::ImplItemKind::Type(_) => { // FIXME: Implement } - ast::MacImplItem(ref mac) => { + ast::ImplItemKind::Macro(ref mac) => { self.visit_mac(mac); } } -- cgit 1.4.1-3-g733a5