Skip to content

non_uppercase_statics should be renamed for constants #17932

Closed
@mahkoh

Description

@mahkoh
src/clang/ll.rs:794:1: 794:55 warning: static constant `CXIdxEntityRef_Implicit` should have an uppercase name such as `CXIDXENTITYREF_IMPLICIT`, #[warn(non_uppercase_statics)] on by default
src/clang/ll.rs:794 pub const CXIdxEntityRef_Implicit: ::libc::c_uint = 2;
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsA-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