rust-lang/rust-clippy

upper_case_acronyms complains about full-capital identifiers

Open

#6631 opened on Jan 23, 2021

View on GitHub
 (9 comments) (2 reactions) (1 assignee)Rust (10,406 stars) (1,391 forks)batch import
C-bugI-false-positivegood first issue

Description

Lint name: upper_case_acronyms

I tried this code:

pub enum DIR {}

Checks for camel case name containing a capitalized acronym. but there is no camel-case here, it's literally all uppercase, not sure why this triggers here then....

Contributor guide