rust-clippy · Issues· 2875 开放
在 GitHub 打开本地同步的开放议题(评论请到 GitHub 查看)
- #17702
为 `NonZero`::new(0) 字面类型添加 lint
A-lint更新于 2026年9月18日 - #15829
`unnecessary_lazy_evaluations`: lint `{Option,Result}::map_or_else`
good first issueC-enhancement更新于 2026年9月18日 - #16882
网站上的"查看源代码"链接始终链接到动态的"master"分支
A-documentation更新于 2026年9月18日 - #15997
重命名 (并合并) `unnecessary_option_map_or_else` 和 `unnecessary_result_map_or_else`
A-category更新于 2026年9月18日 - #17475
double_parens: 是否考虑使用一组诊断信息而不是每对使用一条?
C-enhancementD-confusing更新于 2026年9月18日 - #17297
`empty_enums` 没有考虑到类型的使用方式
C-bugI-false-positiveL-nursery更新于 2026年9月18日 - #17755
cast_possible_wrap 假阴性
C-bugI-false-negative更新于 2026年9月18日 - #16356
`if_same_then_else` 当实体仅在属性上不同时触发
C-bugI-false-positive更新于 2026年9月18日 - #17043
`redundant_type_annotations` 与 `let_underscore_untyped` 发生冲突
C-bugI-false-positiveL-restriction更新于 2026年9月18日 - #8031
新的 lint: 将 `exit`,`todo`,`mem_forget` 等函数进行泛化
A-lintG-Rust-for-Linux更新于 2026年9月17日 - #14333
`manual_div_ceil` 建议的更改可能会改变行为
G-Rust-for-Linux更新于 2026年9月17日 - #14827
incompatible_msrv 不遵守 #[cfg(version(...))]
G-Rust-for-Linux更新于 2026年9月17日 - #17724
test_attr_in_doctest 会输出与实际测试函数无关的属性
C-bugI-false-positive更新于 2026年9月17日 - #14477
功能请求: 在 MSRV 门控 lint 中支持 `# [feature]`
G-Rust-for-Linux更新于 2026年9月17日 - #17384
自 1.97 以来,Clippy 在问号下标记 else 返回 { None },即使在较长的链中也是如此
C-bugI-false-positive更新于 2026年9月17日