We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
serde_derive emits macro_rules! try, which doesn't parse with syn v2
macro_rules! try
minimum reproducible example
// src/lib.rs #[derive(serde::Deserialize)] struct A; pub fn a() {}
cargo expand a
expected: pub fn a() {}
pub fn a() {}
actual: everything gets printed because syn::parse_file fails here
syn::parse_file
cargo-expand/src/main.rs
Line 211 in a1f18db
The text was updated successfully, but these errors were encountered:
Fixed in cargo-expand 1.0.42.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
serde_derive emits
macro_rules! try
, which doesn't parse with syn v2minimum reproducible example
expected:
pub fn a() {}
actual: everything gets printed because
syn::parse_file
fails herecargo-expand/src/main.rs
Line 211 in a1f18db
The text was updated successfully, but these errors were encountered: