Module nonstandard_style
rustc_
lint
1.92.0-nightly
(975e6c8fe 2025-09-23)
Module nonstandard_
style
Module Items
Structs
Statics
Functions
In crate rustc_
lint
rustc_lint
Module
nonstandard_
style
Copy item path
Source
Structs
§
NonCamel
Case
Types
NonSnake
Case
NonUpper
Case
Globals
Statics
§
NON_
CAMEL_
CASE_
TYPES
The
non_camel_case_types
lint detects types, variants, traits and type parameters that don’t have camel case names.
NON_
SNAKE_
CASE
The
non_snake_case
lint detects variables, methods, functions, lifetime parameters and modules that don’t have snake case names.
NON_
UPPER_
CASE_
GLOBALS
The
non_upper_case_globals
lint detects static items that don’t have uppercase identifiers.
Functions
§
char_
has_
case
🔒
Some unicode characters
have
case, are considered upper case or lower case, but they
can’t
be upper cased or lower cased. For the purposes of the lint suggestion, we care about being able to change the char’s case.
is_
camel_
case
🔒
to_
camel_
case
🔒