rust-lang/rust-clippy

upper_case_acronyms complains about full-capital identifiers

Open

#6,631 创建于 2021年1月23日

在 GitHub 查看
 (9 评论) (2 反应) (1 负责人)Rust (1,391 fork)batch import
C-bugI-false-positivegood first issue

仓库指标

Star
 (10,406 star)
PR 合并指标
 (平均合并 19天 22小时) (30 天内合并 113 个 PR)

描述

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

贡献者指南