Update to syntex 0.54

This commit is contained in:
David Tolnay committed 2017-01-06 01:26:51 -08:00
1 parent b6e8b58cb2
commit 1ecf3730ee
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -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 {