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

clippy::identity_op for int.pow(1) A-lint Area: New lints
#14206 opened Feb 12, 2025 by leonardo-m
Compile error after applying clippy::identity_op 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
#13924 opened Jan 1, 2025 by dhedey
identity_op in some scenarios C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#13813 opened Dec 11, 2024 by pacak
Compiler errors after clippy fixes. Maybe issue with WebAssembly attribute. 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
#12932 opened Jun 14, 2024 by PaulXiCao
clippy-driver fails to compile valid rustc code C-bug Category: Clippy is not doing the correct thing
#12055 by PartiallyUntyped was closed Dec 30, 2023
identity_op: fails to apply fix for reference 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
#12050 by FineFindus was closed Jan 3, 2024
Incorrect identity_op, erasing_op lints when doing arithmetic with seq_macro counters C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#10230 opened Jan 26, 2023 by mnissler-rivos
identity_op fails to deal with references properly: &0 + 0 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
#9904 by matthiaskrgr was closed Dec 9, 2022
identity_op: span could point at the redundant expression instead of the rest of it? L-suggestion Lint: Improving, adding or fixing lint suggestions
#9537 opened Sep 25, 2022 by matthiaskrgr
[FP] identity_op in front of if 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
#8724 by hellow554 was closed May 3, 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
Duplicate output C-bug Category: Clippy is not doing the correct thing good first issue These issues are a good way to get started with Clippy
#7356 by MakotoE was closed Jul 28, 2021
Name enhancement erasion_op => absorbing_op S-needs-discussion Status: Needs further discussion before merging or work can be started
#7211 opened May 12, 2021 by Kannen
erasing_op and identity_op should only be triggered for internal 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
#7210 by Kannen was closed Jan 2, 2022
integer_arithmetic rule is too simplistic and is triggered even when arithmetic operations are applied to constants/literals that cannot cause overflow or panic 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. good first issue These issues are a good way to get started with Clippy
#6209 by mimoo was closed May 18, 2023
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
panic: index out of bounds: the len is 1 but the index is 1' consts.rs:354:77 C-bug Category: Clippy is not doing the correct thing I-ICE Issue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️
#5497 by matthiaskrgr was closed Apr 21, 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
Possible false positive for redundant_closure_call C-bug Category: Clippy is not doing the correct thing
#4705 by nico-abram was closed Oct 22, 2019
Consider excluding Duration's associated constants from identity_op lint 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
#3866 by dtolnay was closed Jun 2, 2022
identity_op warns for bitflag constant C-enhancement Category: Enhancement of lints, like adding more cases or adding help messages L-style Lint: Belongs in the style lint group
#3430 by konstin was closed May 16, 2020
Clippy thinks Serialize is ineffective
#1886 by CryZe was closed Jul 12, 2017
Merge some lints together A-documentation Area: Adding or improving documentation C-enhancement Category: Enhancement of lints, like adding more cases or adding help messages S-needs-discussion Status: Needs further discussion before merging or work can be started
#1078 by mcarton was closed May 16, 2020 1.0
identity_op seems confused sometimes C-bug Category: Clippy is not doing the correct thing good first issue These issues are a good way to get started with Clippy
#969 by fabricedesre was closed Jul 6, 2016
ProTip! What’s not been updated in a month: updated:<2025-04-20.