rust-lang/rust-clippy

upper_case_acronyms complains about full-capital identifiers

Open

#6.631 aberto em 23 de jan. de 2021

Ver no GitHub
 (9 comments) (2 reactions) (1 assignee)Rust (1.391 forks)batch import
C-bugI-false-positivegood first issue

Métricas do repositório

Stars
 (10.406 stars)
Métricas de merge de PR
 (Mesclagem média 19d 22h) (113 fundiu PRs em 30d)

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

Guia do colaborador