pub static NON_CAMEL_CASE_TYPES: &Lint
Expand description

The non_camel_case_types lint detects types, variants, traits and type parameters that don’t have camel case names.

§Example

struct my_struct;

{{produces}}

§Explanation

The preferred style for these identifiers is to use “camel case”, such as MyStruct, where the first letter should not be lowercase, and should not use underscores between letters. Underscores are allowed at the beginning and end of the identifier, as well as between non-letters (such as X86_64).