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

nonminimal_bool wrongly showed the macro definition in suggestion C-bug Category: Clippy is not doing the correct thing
#14404 by profetia was closed Mar 23, 2025
nonminimal_bool and is_x86_feature_detected 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 T-macros Type: Issues with macros and macro expansion
#14153 opened Feb 5, 2025 by GoldsteinE
nonminimal_bool can take excessive time
#13206 by weaversa was closed Aug 3, 2024
suggestion from nonminimal_bool with integer cast creates a syntax error due to parentheses removal C-bug Category: Clippy is not doing the correct thing I-suggestion-causes-error Issue: The suggestions provided by this Lint cause an ICE/error when applied
#12761 by expectedjoe was closed Oct 28, 2024
nonminimal_bool and 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 T-macros Type: Issues with macros and macro expansion
#12627 opened Apr 3, 2024 by ijackson
Invalid clippy suggestion for !(a as type >= b) C-bug Category: Clippy is not doing the correct thing I-suggestion-causes-error Issue: The suggestions provided by this Lint cause an ICE/error when applied
#12625 by folkertdev was closed Apr 8, 2024
clippy::nonminimal_bool False positive on !0u32 C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#12408 by ithinuel was closed Mar 3, 2024
nonmininal_bool appears to be confused about behaviour of the not operator for integers C-bug Category: Clippy is not doing the correct thing
#12384 by zesterer was closed Feb 29, 2024
nonminimal_bool: id == !0 is not id != 0 C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#12369 by ytakano was closed Feb 28, 2024
nonminimal_bool recommends calling function more than necessary C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#12195 opened Jan 24, 2024 by Erutuon
nonminimal_bool complains about asserts in boolean expressions C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#11932 by TomFryersMidsummer was closed Jan 27, 2024
nonminimal_bool produces suboptimal and invalid results C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#11921 opened Dec 3, 2023 by pacak
Double not incorrectly triggers nonminimal_bool when !v returns bool but v is not bool C-bug Category: Clippy is not doing the correct thing 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
#10836 by endorpersand was closed Jun 5, 2023
nonminimal_bool triggers on is_some() through 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
#10523 by Kyuuhachi was closed Mar 22, 2023
Strange behavior re #[allow(clippy::nonminimal_bool)] C-bug Category: Clippy is not doing the correct thing
#10435 by smoelius was closed Apr 2, 2023
nonminimal_bool suggestion is inaccurate for macros C-bug Category: Clippy is not doing the correct thing I-suggestion-causes-error Issue: The suggestions provided by this Lint cause an ICE/error when applied L-suggestion Lint: Improving, adding or fixing lint suggestions
#9428 by dswij was closed Sep 10, 2022
nonminimal_bool fires several times on the same code C-bug Category: Clippy is not doing the correct thing
#8891 opened May 25, 2022 by matthiaskrgr
nonminimal_bool suggestions missing required parenthesis C-bug Category: Clippy is not doing the correct thing I-suggestion-causes-error Issue: The suggestions provided by this Lint cause an ICE/error when applied
#8684 opened Apr 11, 2022 by ghost
nonminimal_bool reorders operands, changing behavior C-bug Category: Clippy is not doing the correct thing
#8050 opened Dec 1, 2021 by khyperia
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
needless_bool fix suggestion can trigger nonminimal_bool lint 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
#7320 by DoumanAsh was closed Dec 28, 2021
Lint double negation !count != 0 A-lint Area: New lints good first issue These issues are a good way to get started with Clippy
#5794 by idubrov was closed Feb 11, 2024
collapsible_if: comparison chain x || y -> x -> y can be optimized to x && y A-lint Area: New lints C-enhancement Category: Enhancement of lints, like adding more cases or adding help messages L-complexity Lint: Belongs in the complexity lint group
#5282 opened Mar 7, 2020 by Luro02
ProTip! no:milestone will show everything without a milestone.