Bump syn dependency

This commit is contained in:
David Tolnay
2016-09-24 09:54:10 -07:00
parent 51f95575ec
commit 1eca7766ba
7 changed files with 44 additions and 26 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ pub enum Style {
}
impl<'a> Item<'a> {
pub fn from_ast(cx: &Ctxt, item: &'a syn::Item) -> Item<'a> {
pub fn from_ast(cx: &Ctxt, item: &'a syn::MacroInput) -> Item<'a> {
let attrs = attr::Item::from_ast(cx, item);
let body = match item.body {