update dependencies and fix compile errors
This commit is contained in:
parent
40eb3ea857
commit
411fa40988
2 changed files with 9 additions and 9 deletions
10
Cargo.lock
generated
10
Cargo.lock
generated
|
@ -9,7 +9,7 @@ dependencies = [
|
||||||
"regex 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)",
|
"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)",
|
"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)",
|
"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)",
|
"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)",
|
"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)",
|
"unicode-segmentation 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -25,7 +25,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "bitflags"
|
name = "bitflags"
|
||||||
version = "0.3.2"
|
version = "0.3.3"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
@ -112,10 +112,10 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "syntex_syntax"
|
name = "syntex_syntax"
|
||||||
version = "0.21.0"
|
version = "0.22.0"
|
||||||
source = "git+https://github.com/serde-rs/syntex#069fe5d5e8cc8132dc3cb97099511240b9d4facc"
|
source = "git+https://github.com/serde-rs/syntex#7913a15053ef5f2526aeff8b318f49d010582efd"
|
||||||
dependencies = [
|
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)",
|
"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)",
|
"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)",
|
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
|
|
@ -340,20 +340,20 @@ impl<'a> FmtVisitor<'a> {
|
||||||
}
|
}
|
||||||
|
|
||||||
match ii.node {
|
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)),
|
self.visit_fn(visit::FnKind::Method(ii.ident, sig, Some(ii.vis)),
|
||||||
&sig.decl,
|
&sig.decl,
|
||||||
body,
|
body,
|
||||||
ii.span,
|
ii.span,
|
||||||
ii.id);
|
ii.id);
|
||||||
}
|
}
|
||||||
ast::ConstImplItem(..) => {
|
ast::ImplItemKind::Const(..) => {
|
||||||
// FIXME: Implement
|
// FIXME: Implement
|
||||||
}
|
}
|
||||||
ast::TypeImplItem(_) => {
|
ast::ImplItemKind::Type(_) => {
|
||||||
// FIXME: Implement
|
// FIXME: Implement
|
||||||
}
|
}
|
||||||
ast::MacImplItem(ref mac) => {
|
ast::ImplItemKind::Macro(ref mac) => {
|
||||||
self.visit_mac(mac);
|
self.visit_mac(mac);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue