pub static NON_UPPER_CASE_GLOBALS: &'static 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.