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
The syn::parse_macro_input! macro and synattra crate both use the syn::Parse trait to do their work. Anything that implements one of darling's traits should be able to implement that. A blanket impl is probably impossible, so the choices are:
Provide a generic newtype wrapper and implement it on that.
Add a new option to the code generator to also implement the Parse trait.
Do both.
The text was updated successfully, but these errors were encountered:
The
syn::parse_macro_input!
macro andsynattra
crate both use thesyn::Parse
trait to do their work. Anything that implements one ofdarling
's traits should be able to implement that. A blanket impl is probably impossible, so the choices are:Parse
trait.The text was updated successfully, but these errors were encountered: