Skip to content

non_snake_case warning on #[cache] / #[cache_left_rec] rule ending in _ #381

@QnnOkabayashi

Description

@QnnOkabayashi

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.

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