Update to syntex 0.54
This commit is contained in:
parent
b6e8b58cb2
commit
1ecf3730ee
@ -25,5 +25,5 @@ clippy = { version = "^0.*", optional = true }
|
||||
quote = "0.3.8"
|
||||
serde_codegen_internals = { version = "=0.11.3", default-features = false, path = "../serde_codegen_internals" }
|
||||
syn = { version = "0.10", features = ["aster", "visit"] }
|
||||
syntex = { version = "^0.52.0", optional = true }
|
||||
syntex_syntax = { version = "^0.52.0", optional = true }
|
||||
syntex = { version = "^0.54.0", optional = true }
|
||||
syntex_syntax = { version = "^0.54.0", optional = true }
|
||||
|
@ -116,7 +116,7 @@ macro_rules! shim {
|
||||
|
||||
use syntax::{attr, ast, visit};
|
||||
struct MarkSerdeAttributesUsed;
|
||||
impl visit::Visitor for MarkSerdeAttributesUsed {
|
||||
impl<'a> visit::Visitor<'a> for MarkSerdeAttributesUsed {
|
||||
fn visit_attribute(&mut self, attr: &ast::Attribute) {
|
||||
if attr.value.name == "serde" {
|
||||
if let ast::MetaItemKind::List(..) = attr.value.node {
|
||||
|
Loading…
Reference in New Issue
Block a user