rust-lang/rust-clippy

upper_case_acronyms complains about full-capital identifiers

Open

#6631 aperta il 23 gen 2021

Vedi su GitHub
 (9 commenti) (2 reazioni) (1 assegnatario)Rust (1391 fork)batch import
C-bugI-false-positivegood first issue

Metriche repository

Star
 (10.406 star)
Metriche merge PR
 (Merge medio 19g 22h) (113 PR mergiate in 30 g)

Descrizione

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....

Guida contributor