Skip to content

allow custom_keyword! to support different struct name #1507

@ModProg

Description

@ModProg

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions