Parse types
diff --git a/src/data.rs b/src/data.rs
index 36ba136..c8e9e06 100644
--- a/src/data.rs
+++ b/src/data.rs
@@ -241,7 +241,7 @@
vis: input.parse()?,
ident: Some(input.parse()?),
colon_token: Some(input.parse()?),
- ty: input.parse_synom(Type::parse)?,
+ ty: input.parse()?,
})
}
@@ -251,7 +251,7 @@
vis: input.parse()?,
ident: None,
colon_token: None,
- ty: input.parse_synom(Type::parse)?,
+ ty: input.parse()?,
})
}
}
@@ -292,7 +292,7 @@
pub_token: pub_token,
paren_token: parenthesized!(content in input),
in_token: Some(content.parse()?),
- path: Box::new(content.parse_synom(Path::parse_mod_style)?),
+ path: Box::new(content.parse_synom(Path::old_parse_mod_style)?),
}));
}
}