dtolnay / dtolnay/syn

allow `custom_keyword!` to support different struct name

Open
#1,507 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
3.4k
Forks
374
Avg merge
1d 5h
Merged PRs (30d)
2

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.