You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let x = quote!{struct a(fn(mutself,));
};let z:Result<syn::DeriveInput,_> = syn::parse2(x);
The panic message is:
thread 'fuzz::reproduce_failure_1' panicked at 'Punctuated::push_punct: cannot push punctuation if Punctuated is empty or already has trailing punctuation', /Users/loic/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-1.0.87/src/punctuated.rs:181:9
I am using syn version 1.0.87 with features "full" and "visit".
The text was updated successfully, but these errors were encountered:
loiclec
changed the title
Panic at Punctuated::push_punct when parsing struct a(fn(mut self,));
Panic when parsing struct a(fn(mut self,));Mar 16, 2022
Hello,
The following code crashes:
The panic message is:
I am using
syn
version1.0.87
with features "full" and "visit".The text was updated successfully, but these errors were encountered: