diff options
| author | Jakko Sikkar <jakko.sikkar@gmail.com> | 2015-11-23 20:54:33 +0200 |
|---|---|---|
| committer | Jakko Sikkar <jakko.sikkar@gmail.com> | 2015-11-23 20:54:33 +0200 |
| commit | 411fa40988ca4bbeea498db3afbf3db8785d7c09 (patch) | |
| tree | b14fdafd27beb5c7dc830bf68cca8cb89fb44eb5 /src | |
| parent | 40eb3ea8570511b4b5e85f3ffecf9b74957a14dd (diff) | |
update dependencies and fix compile errors
Diffstat (limited to 'src')
| -rw-r--r-- | src/visitor.rs | 8 |
1 files changed, 4 insertions, 4 deletions
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); } } |
