Skip to content

Issues: rust-lang/rust-clippy

Most commonly ignored lints on crates.io
#7666 by dtolnay was closed Oct 9, 2022
Closed 23
Beta
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Author
Filter by author
Loading
Label
Filter by label
Loading
Use alt + click/return to exclude labels
or + click/return for logical OR
Projects
Filter by project
Loading
Milestones
Filter by milestone
Loading
Assignee
Filter by who’s assigned
Sort

Issues list

Extra return statements at end of function should not lower cognitive complexity C-bug Category: Clippy is not doing the correct thing I-false-negative Issue: The lint should have been triggered on code, but wasn't
#14422 by KonaeAkira was closed Apr 12, 2025
cognitive_complexity lint includes code expanded from macro in calculated complexity C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#14417 opened Mar 16, 2025 by KonaeAkira
Incorrect Cognitive Complexity value when nesting for loops C-bug Category: Clippy is not doing the correct thing L-nursery Lint: Currently in the nursery group
#11164 opened Jul 15, 2023 by epic-64
FP single-element-loop: nested control flow C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have I-suggestion-causes-error Issue: The suggestions provided by this Lint cause an ICE/error when applied
#10018 by matthiaskrgr was closed Jan 7, 2023
Document lint configuration values in Clippy's book A-documentation Area: Adding or improving documentation C-an-interesting-project Category: Interesting projects, that usually are more involved design/code wise. good-first-issue These issues are a good way to get started with Clippy
#9991 by xFrednet was closed Jan 14, 2023
4 tasks done
Cognitive complexity doesn't work for async functions C-bug Category: Clippy is not doing the correct thing I-false-negative Issue: The lint should have been triggered on code, but wasn't
#9300 by JosuGZ was closed Nov 10, 2022
Internal compiler error: unexpected panic - Clippy 0.1.59 I-ICE Issue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️
#8173 by kukabi was closed Dec 30, 2021
False positive occuring with cognitive_complexity on macros C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#7905 by edward-shen was closed May 25, 2022
Most commonly ignored lints on crates.io A-category Area: Categorization of lints C-tracking-issue Category: Tracking Issue S-needs-discussion Status: Needs further discussion before merging or work can be started
#7666 by dtolnay was closed Oct 9, 2022
[Roadmap] Lint groups A-category Area: Categorization of lints C-enhancement Category: Enhancement of lints, like adding more cases or adding help messages C-tracking-issue Category: Tracking Issue P-low Priority: Low
#6626 opened Jan 22, 2021 by flip1995
3 of 7 tasks
Minimum supported version of Rust (MSVR) config and support C-enhancement Category: Enhancement of lints, like adding more cases or adding help messages good-first-issue These issues are a good way to get started with Clippy
#6097 by ghost was closed Dec 18, 2020
ICE: unnested_or_patterns while checking rustc_typeck C-bug Category: Clippy is not doing the correct thing I-ICE Issue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️
#5780 by matthiaskrgr was closed Jul 13, 2020
Most commonly ignored lints A-category Area: Categorization of lints C-tracking-issue Category: Tracking Issue S-needs-discussion Status: Needs further discussion before merging or work can be started
#5418 by dtolnay was closed Sep 13, 2021
Improve the cognitive_complexity lint to show what lines are causing the complexity C-an-interesting-project Category: Interesting projects, that usually are more involved design/code wise. C-enhancement Category: Enhancement of lints, like adding more cases or adding help messages E-medium Call for participation: Medium difficulty level problem and requires some initial experience. L-nursery Lint: Currently in the nursery group
#4470 opened Aug 29, 2019 by iddm
Improve cognitive_complexity lint by showing the limit in the warning C-enhancement Category: Enhancement of lints, like adding more cases or adding help messages good-first-issue These issues are a good way to get started with Clippy
#4466 by iddm was closed Aug 29, 2019
Suggestion for new lint: Cognitive Complexity C-an-interesting-project Category: Interesting projects, that usually are more involved design/code wise. C-enhancement Category: Enhancement of lints, like adding more cases or adding help messages E-hard Call for participation: This a hard problem and requires more experience or effort to work on L-complexity Lint: Belongs in the complexity lint group S-needs-discussion Status: Needs further discussion before merging or work can be started
#3793 opened Feb 21, 2019 by felix91gr
if_same_then_else Should not warn for else if blocks. good-first-issue These issues are a good way to get started with Clippy I-false-positive Issue: The lint was triggered on code it shouldn't have S-needs-discussion Status: Needs further discussion before merging or work can be started
#3770 opened Feb 16, 2019 by kevincox
ProTip! Follow long discussions with comments:>50.