syn icon indicating copy to clipboard operation
syn copied to clipboard

allow `custom_keyword!` to support different struct name

Open ModProg opened this issue 1 year ago • 1 comments

I'd prefer to have uppercase Struct names, consistent with the actual keywords in syn::token::*.

I propose a syntax, like custom_keyword!(var as Var), that could be non-breakingly be introduced.

If this is something you'd consider, I'd be willing to implement it.

ModProg avatar Sep 12 '23 18:09 ModProg