Skip to content

Issues: rust-lang/rust-clippy

[Roadmap] False Positive Rate
#6623 by flip1995 was closed Sep 20, 2024
Closed 12
Most commonly ignored lints on crates.io
#7666 by dtolnay was closed Oct 9, 2022
Closed 23
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

cast_possible_truncation could check whether floating point values are manually truncated (round, floor, ceil...) prior to cast C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#13257 opened Aug 12, 2024 by ijijn
cast_possible_truncation could leverage simple patterns C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#12781 opened May 8, 2024 by clarfonthey
clippy::cast_possible_truncation is inconsistent in recognizing where values will never be truncated C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#12721 by MATSMACKE was closed Apr 28, 2024
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
ICE: None in `cast_possible_truncation C-bug Category: Clippy is not doing the correct thing I-ICE Issue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️
#12352 by matthiaskrgr was closed Mar 24, 2024
cast-related lint should warn internal macros 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-negative Issue: The lint should have been triggered on code, but wasn't
#11738 by taiki-e was closed Apr 4, 2024
ICE shift too high: TryFromIntError(()) C-bug Category: Clippy is not doing the correct thing I-ICE Issue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️
#11426 by matthiaskrgr was closed Sep 18, 2023
cast_possible_truncation gives invalid suggestion to use _::try_from(x) 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
#10366 by ryanavella was closed Mar 25, 2023
cast_possible_truncation false positive: const defined in the same crate C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#9613 opened Oct 8, 2022 by dtolnay
Have a lint against usize-to-u64 casts (or, against *all* integer casts) A-lint Area: New lints good-first-issue These issues are a good way to get started with Clippy
#9231 opened Jul 23, 2022 by RalfJung
Clippy pedantic for f64 as u64
#8601 opened Mar 29, 2022 by 1Dragoon
Possible cast_possible_truncation false positive C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#8316 by leonardo-m was closed Dec 6, 2023
cast_lossless should lint about bool -> integer casts? 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-negative Issue: The lint should have been triggered on code, but wasn't
#7947 by 5225225 was closed Nov 12, 2021
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
cast_possible_truncation triggers when the value is guranteed to not be truncated C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#7486 opened Jul 24, 2021 by Luro02
Tracking Issue for refactoring types.rs C-tracking-issue Category: Tracking Issue
#6724 by Y-Nak was closed Mar 31, 2021
4 tasks done
[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
Spurious map_err_ignore warning when running cargo clippy with that warning allowed A-ui Area: Clippy interface, usage and configuration C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#6460 opened Dec 16, 2020 by ghost
<int>.signum() can be safely cast to any signed integer 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
#5395 by jhpratt was closed Oct 21, 2021
ProTip! What’s not been updated in a month: updated:<2024-09-30.