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

Cargo clippy --fix introduces compilation errors on rustc 1.79.0-nightly 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
#12565 opened Mar 26, 2024 by PanieriLorenzo
[epic] False Positive tracking / triaging / categorization C-tracking-issue Category: Tracking Issue
#12046 opened Dec 29, 2023 by PartiallyUntyped
10 of 24 tasks
float_cmp could catch float literals in match expressions C-enhancement Category: Enhancement of lints, like adding more cases or adding help messages
#11555 opened Sep 23, 2023 by Centri3
Warn against exact floating-point comparsions. A-lint Area: New lints
#8583 by zvavybir was closed Mar 25, 2022
Consider downgrading float_cmp to restriction or nursery S-needs-discussion Status: Needs further discussion before merging or work can be started
#7725 opened Sep 27, 2021 by dtolnay
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
Split suboptimal_flops into smaller lints A-lint Area: New lints S-needs-discussion Status: Needs further discussion before merging or work can be started
#6867 opened Mar 8, 2021 by HalfVoxel
assert_eq! with a literal float should probably fire float_cmp_const not float_cmp 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
#6817 opened Mar 1, 2021 by CAD97
EPSILON is a bad error margin and should not be recommended [float_cmp] A-documentation Area: Adding or improving documentation C-bug Category: Clippy is not doing the correct thing good-first-issue These issues are a good way to get started with Clippy L-suggestion Lint: Improving, adding or fixing lint suggestions
#6816 by CAD97 was closed Jul 10, 2024
[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
excessive_precision inconsistency with exponential notation A-documentation Area: Adding or improving documentation C-bug Category: Clippy is not doing the correct thing E-medium Call for participation: Medium difficulty level problem and requires some initial experience. I-false-positive Issue: The lint was triggered on code it shouldn't have
#6341 opened Nov 18, 2020 by EndilWayfare
Running cargo check after having run cargo clippy reports clippy errors C-bug Category: Clippy is not doing the correct thing
#6253 by camelid was closed Oct 27, 2020
The word "error" in float_cmp can be confusing 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
#6040 by fvsch was closed Sep 15, 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
float_cmp should not apply to results of signum() 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 L-correctness Lint: Belongs in the correctness lint group
#4248 by danburkert was closed Jul 16, 2019
The suggested fix for comparing floats with != is incorrect C-bug Category: Clippy is not doing the correct thing good-first-issue These issues are a good way to get started with Clippy L-suggestion Lint: Improving, adding or fixing lint suggestions
#4204 by peterjoel was closed Jun 17, 2019
Allow float comparison with zero C-bug Category: Clippy is not doing the correct thing
#3804 opened Feb 23, 2019 by konstin
Consistently naming lints S-needs-discussion Status: Needs further discussion before merging or work can be started
#2845 opened Jun 14, 2018 by clarfonthey 1.0
float_cmp false positive: catching underflow C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#2834 opened Jun 7, 2018 by JP-Ellis
Expand float_cmp to structs with PartialEq 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 L-correctness Lint: Belongs in the correctness lint group T-middle Type: Probably requires verifiying types
#1685 opened Apr 17, 2017 by RazrFalcon
Additions to float_cmp check
#1683 opened Apr 16, 2017 by RazrFalcon
float_cmp: ignore when comparing with constant? 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
#1142 by birkenfeld was closed Nov 20, 2017
false posivite on float_cmp when comparing between f32 pointer C-bug Category: Clippy is not doing the correct thing good-first-issue These issues are a good way to get started with Clippy T-middle Type: Probably requires verifiying types
#1037 by bungcip was closed Jun 25, 2016
Use const_eval instead of constant for more lints? C-question Category: Questions
#461 opened Nov 18, 2015 by llogiq
3 of 8 tasks
ProTip! Type g i on any issue or pull request to go back to the issue listing page.