Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cache_left_rec on rule ending in underscore #381

Open
QnnOkabayashi opened this issue Aug 15, 2024 · 0 comments
Open

cache_left_rec on rule ending in underscore #381

QnnOkabayashi opened this issue Aug 15, 2024 · 0 comments

Comments

@QnnOkabayashi
Copy link

When you have a rule with #[cache_left_rec] and the rule name ends in an underscore (e.g. type_), you get a warning saying "Field type__cache should have a snake_case name". Since this is an implementation detail, I imagine that the macro should add #[allow(non_snake_case)] on the generated helper rule.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant