Skip to content

non_camel_case_types lint check should ignore enum variants #14599

Closed
@ghost

Description

Given that enum variants are not types, it doesn't make sense to have a lint named non_camel_case_types be checking the naming of those.

Add another lint named non_camel_case_enum_variants to check those.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions