Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Commit

Permalink
Update to syntex 0.55
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jan 15, 2017
1 parent e51c078 commit 1bfac81
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ with-syntex = ["syntex_syntax"]
unstable-testing = ["clippy", "compiletest_rs"]

[dependencies]
syntex_syntax = { version = "^0.54.0", optional = true }
syntex_syntax = { version = "^0.55.0", optional = true }
clippy = { version = "0.*", optional = true }
compiletest_rs = { version = "^0.2.0", optional = true }

Expand Down
1 change: 1 addition & 0 deletions src/expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1110,6 +1110,7 @@ impl<I, F> Invoke<P<ast::Expr>> for ExprStructFieldBuilder<I, F>
expr: expr,
span: self.builder.span,
is_shorthand: false,
attrs: Vec::new().into(),
};
self.builder.fields.push(field);
self.builder
Expand Down
3 changes: 3 additions & 0 deletions src/pat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,7 @@ impl<F> PatStructPathBuilder<F>
ident: id,
pat: pat,
is_shorthand: true,
attrs: Vec::new().into(),
})
}

Expand All @@ -446,6 +447,7 @@ impl<F> PatStructPathBuilder<F>
ident: id,
pat: pat,
is_shorthand: true,
attrs: Vec::new().into(),
})
}

Expand Down Expand Up @@ -475,6 +477,7 @@ impl<F> Invoke<P<ast::Pat>> for PatStructFieldBuilder<F>
ident: self.id,
pat: pat,
is_shorthand: false,
attrs: Vec::new().into(),
})
}
}
Expand Down

0 comments on commit 1bfac81

Please sign in to comment.