rust-lang/rust-clippy

upper_case_acronyms complains about full-capital identifiers

Open

#6.631 geöffnet am 23. Jan. 2021

Auf GitHub ansehen
 (9 Kommentare) (2 Reaktionen) (1 zugewiesene Person)Rust (1.391 Forks)batch import
C-bugI-false-positivegood first issue

Repository-Metriken

Stars
 (10.406 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 19T 22h) (113 gemergte PRs in 30 T)

Beschreibung

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