Closed
Description
The following program does not report any naming convention warnings:
#![allow(dead_code)]
static mut snake_case: u32 = 0;
static mut camelCase: u32 = 0;
static mut SCREAMING_SNAKE_CASE: u32 = 0;
static mut CapitalizedCamelCase: u32 = 0;
fn main() {}
Looks like only SCREAMING_SNAKE_CASE
should be allowed? If I remove mut
s, I get the warnings. Or have we already deprecated static muts (pre rfc: https://internals.rust-lang.org/t/pre-rfc-remove-static-mut/1437/20) ?