about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNick Cameron <nrc@ncameron.org>2015-11-24 08:08:35 +1300
committerNick Cameron <nrc@ncameron.org>2015-11-24 08:08:35 +1300
commitebd876afb2efb006a3d3bee4a7dddfb863845d1b (patch)
treeb14fdafd27beb5c7dc830bf68cca8cb89fb44eb5
parent40eb3ea8570511b4b5e85f3ffecf9b74957a14dd (diff)
parent411fa40988ca4bbeea498db3afbf3db8785d7c09 (diff)
Merge pull request #649 from jaxx/dependency-upd1
update dependencies and fix compile errors
-rw-r--r--Cargo.lock10
-rw-r--r--src/visitor.rs8
2 files changed, 9 insertions, 9 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 23a75bfb547..87e4c64ce2c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -9,7 +9,7 @@ dependencies = [
  "regex 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)",
  "rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
  "strings 0.0.1 (git+https://github.com/nrc/strings.rs.git)",
- "syntex_syntax 0.21.0 (git+https://github.com/serde-rs/syntex)",
+ "syntex_syntax 0.22.0 (git+https://github.com/serde-rs/syntex)",
  "term 0.2.13 (registry+https://github.com/rust-lang/crates.io-index)",
  "toml 0.1.23 (registry+https://github.com/rust-lang/crates.io-index)",
  "unicode-segmentation 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -25,7 +25,7 @@ dependencies = [
 
 [[package]]
 name = "bitflags"
-version = "0.3.2"
+version = "0.3.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 
 [[package]]
@@ -112,10 +112,10 @@ dependencies = [
 
 [[package]]
 name = "syntex_syntax"
-version = "0.21.0"
-source = "git+https://github.com/serde-rs/syntex#069fe5d5e8cc8132dc3cb97099511240b9d4facc"
+version = "0.22.0"
+source = "git+https://github.com/serde-rs/syntex#7913a15053ef5f2526aeff8b318f49d010582efd"
 dependencies = [
- "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
  "libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
  "log 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
  "rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
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);
             }
         }