rust-lang/rust-clippy

upper_case_acronyms complains about full-capital identifiers

Open

#6,631 opened on 2021年1月23日

GitHub で見る
 (9 comments) (2 reactions) (1 assignee)Rust (1,391 forks)batch import
C-bugI-false-positivegood first issue

Repository metrics

Stars
 (10,406 stars)
PR merge metrics
 (平均マージ 19d 22h) (30d で 113 merged PRs)

説明

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

コントリビューターガイド