Bump syntex/aster/quasi version

This commit is contained in:
Erick Tryzelaar
2016-04-10 19:54:54 -07:00
parent ac98a25291
commit a84b6aaedd
8 changed files with 49 additions and 48 deletions
+3 -3
View File
@@ -196,7 +196,7 @@ impl FieldAttrs {
is_enum: bool) -> Result<Self, Error> {
let builder = AstBuilder::new();
let field_ident = match field.node.ident() {
let field_ident = match field.ident {
Some(ident) => ident,
None => { cx.span_bug(field.span, "struct field has no name?") }
};
@@ -210,7 +210,7 @@ impl FieldAttrs {
deserialize_with: None,
};
for meta_items in field.node.attrs.iter().filter_map(get_serde_meta_items) {
for meta_items in field.attrs.iter().filter_map(get_serde_meta_items) {
for meta_item in meta_items {
match meta_item.node {
// Parse `#[serde(rename="foo")]`
@@ -278,7 +278,7 @@ impl FieldAttrs {
ast::MetaItemKind::NameValue(ref name, ref lit) if name == &"deserialize_with" => {
let expr = wrap_deserialize_with(
cx,
&field.node.ty,
&field.ty,
generics,
try!(parse_lit_into_path(cx, name, lit)),
);