Skip to content

Camel case warning fires on X86_64 #34633

Closed
@nagisa

Description

@nagisa

I feel like the warning fires wrongly on this variant name in particular.

src/lib.rs:24:5: 24:11 warning: variant `X86_64` should have a camel case name such as `X8664`, #[warn(non_camel_case_types)] on by default
src/lib.rs:24     X86_64,
                  ^~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-dev-toolsRelevant to the dev-tools subteam, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions