-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Issues: rust-lang/rust-clippy
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
Label
Projects
Milestones
Assignee
Sort
Issues list
nonminimal_bool
wrongly showed the macro definition in suggestion
C-bug
#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
A lint for diverging expressions in else-case to encourage early retuns (and similar)
A-lint
Area: New lints
#13674
opened Nov 10, 2024 by
porky11
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 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
!(a as type >= b)
C-bug
#12625
by folkertdev
was closed Apr 8, 2024
clippy::nonminimal_bool
False positive on !0u32
C-bug
#12408
by ithinuel
was closed Mar 3, 2024
nonmininal_bool
appears to be confused about behaviour of the not operator for integers
C-bug
#12384
by zesterer
was closed Feb 29, 2024
clippy::nonminimal_bool suggests a semantics-altering transformation
#12371
by RalfJung
was closed Feb 28, 2024
nonminimal_bool: Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
id == !0
is not id != 0
C-bug
#12369
by ytakano
was closed Feb 28, 2024
nonminimal_bool
recommends calling function more than necessary
C-bug
#12195
opened Jan 24, 2024 by
Erutuon
nonminimal_bool
complains about asserts in boolean expressions
C-bug
#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 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
nonminimal_bool
when !v returns bool
but v is not bool
C-bug
#10836
by endorpersand
was closed Jun 5, 2023
nonminimal_bool
triggers on is_some()
through macros
C-bug
#10523
by Kyuuhachi
was closed Mar 22, 2023
Strange behavior re Category: Clippy is not doing the correct thing
#[allow(clippy::nonminimal_bool)]
C-bug
#10435
by smoelius
was closed Apr 2, 2023
nonminimal_bool
suggestion is inaccurate for macros
C-bug
#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
#8684
opened Apr 11, 2022 by
ghost
nonminimal_bool
reorders operands, changing behavior
C-bug
#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 Area: New lints
good first issue
These issues are a good way to get started with Clippy
!count != 0
A-lint
#5794
by idubrov
was closed Feb 11, 2024
collapsible_if: comparison chain 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
x || y
-> x
-> y
can be optimized to x && y
A-lint
#5282
opened Mar 7, 2020 by
Luro02
Previous Next
ProTip!
no:milestone will show everything without a milestone.