Skip to main content

## NON_UPPER_CASE_GLOBALS

# Static NON_UPPER_CASE_GLOBALS

Source

    pub static NON_UPPER_CASE_GLOBALS: &Lint

Expand description

The `non_upper_case_globals` lint detects static items that don’t have uppercase identifiers.

#### §Example

    static max_points: i32 = 5;

{{produces}}

#### §Explanation

The preferred style is for static item names to use all uppercase letters such as `MAX_POINTS`.