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

or_fun_call misses nested calls C-bug Category: Clippy is not doing the correct thing I-false-negative Issue: The lint should have been triggered on code, but wasn't L-nursery Lint: Currently in the nursery group
#12973 by TomFryersMidsummer was closed Jul 13, 2024
Different trade-offs for or_fun_call false positives C-enhancement Category: Enhancement of lints, like adding more cases or adding help messages L-nursery Lint: Currently in the nursery group
#12724 opened Apr 27, 2024 by kornelski
debug_assert ICE in type_certainty contradiction detection C-bug Category: Clippy is not doing the correct thing I-ICE Issue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️
#12585 by kpreid was closed Apr 4, 2024
clippy does not fire warning for ok_or usage C-bug Category: Clippy is not doing the correct thing
#12517 by aliciawyy was closed Mar 25, 2024
ice: Contradiction with Some(DefId(0:50068 ~ core[8f25]::core_simd::alias::mask8x16)) and Some(DefId(0:21244 ~ core[8f25]::core_simd::masks::Mask) C-bug Category: Clippy is not doing the correct thing I-ICE Issue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️
#11256 by matthiaskrgr was closed Jul 30, 2023
CI and local clippy shows different result C-bug Category: Clippy is not doing the correct thing
#10469 by scarf005 was closed Mar 9, 2023
Clippy suggests replacing .or_insert(Default::default()) with .or_default() inside implementation of .or_default() C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#10228 by schuelermine was closed Jul 12, 2024
or_fun_call suggests invalid code by removing type information 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-nursery Lint: Currently in the nursery group
#9790 opened Nov 4, 2022 by tommilligan
or_fun_call false positive on nightly with some enums C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#9693 by cottnn was closed Jul 19, 2024
false positive of or_fun_call for enum C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#9663 by xxchan was closed Jul 19, 2024
or_fun_call false positive on enum variants with tuple fields C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#9608 by AlexTMjugador was closed Oct 10, 2022
or_fun_call suggestion causing error on temporary value C-bug Category: Clippy is not doing the correct thing E-hard Call for participation: This a hard problem and requires more experience or effort to work on 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
#9205 opened Jul 19, 2022 by J-ZhengLi
Improve span of or_fun_call lint good-first-issue These issues are a good way to get started with Clippy L-suggestion Lint: Improving, adding or fixing lint suggestions
#9033 by flip1995 was closed Jul 11, 2022
or_fun_call doesn't suggest map_or_else C-bug Category: Clippy is not doing the correct thing I-false-negative Issue: The lint should have been triggered on code, but wasn't
#8993 by junbl was closed Oct 23, 2022
clippy bug report C-bug Category: Clippy is not doing the correct thing
#8925 opened Jun 1, 2022 by AlphaCodingPilot
or_fun_call isn't always a performance lint A-category Area: Categorization of lints good-first-issue These issues are a good way to get started with Clippy L-nursery Lint: Currently in the nursery group
#8574 opened Mar 22, 2022 by hrxi
Favor unwrap_or over .or(Some(value)).unwrap() A-lint Area: New lints
#8557 by FoseFx was closed Mar 21, 2022
ok_or_else suggested over ok_or with tuple struct type C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#8525 by Eddio0141 was closed Mar 13, 2022
Printed hint for lint or_fun_call is cropped and does not show the solution 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
#8239 by aleksanderkrauze was closed Jan 17, 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
Duration's constructors should not trigger or_fun_call C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#7483 opened Jul 23, 2021 by asomers-ax
Suggest use of unwrap_or_default C-enhancement Category: Enhancement of lints, like adding more cases or adding help messages
#7250 by ndmitchell was closed Dec 27, 2021
FP: or_insert -> or_insert_with C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#7009 by caemor was closed May 3, 2021
ProTip! Find all open issues with in progress development work with linked:pr.