We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This follows this discussion on Zulip
The aim of this issue is to track effort to reduce False Positive rate, and potentially categorize things into common patterns.
Obviously there are many more, and I will keep adding them as I go.
while_let_loop
get_unwrap
useless_if_let_seq
op_ref
match_same_arms
&Any
while_immutable_condition
boxed_local
wasm_bindgen
Eq
map_identity
float_cmp
This category is concerned with FPs that involve macros, and their expansions.
iter_without_into_iter
struct_field_names
derive(Serialize/Deserialize)
redundant_closure_call
unnecessary_mut_passed
zero_ptr
no_effect_underscore_binding
eq_op
@flip1995 wanted to automate issue tracking / impl issue finder for lint names in #5049. Perhaps it's needed because it's a lot of manual effort :D
@rustbot label +C-tracking-issue
The text was updated successfully, but these errors were encountered:
The boxed_local ones need a minor change on their lint message and are good to go.
Sorry, something went wrong.
No branches or pull requests
This follows this discussion on Zulip
The aim of this issue is to track effort to reduce False Positive rate, and potentially categorize things into common patterns.
Obviously there are many more, and I will keep adding them as I go.
while_let_loop
while_let_loop
should not be reported for empty match statements #10037get_unwrap
| False positive?: get_unwrap #1725useless_if_let_seq
| useless_if_let_seq should not warn for composite ifs #1089op_ref
| op_ref false positive #2042match_same_arms
match_same_arms
: FP if arms have different comments #12044match_same_arms
vs.&Any
#1218while_immutable_condition
| while_immutable_condition false positive with mut pointers #3548boxed_local
wasm_bindgen
#4351Could be closed(?)
Eq
implementations #2025 (@Jarcho)map_identity
]: respect match ergonomics #11792)Have PR
float_cmp
| float_cmp false positive: catching underflow #2834 |float_cmp
changes #11948 (@Jarcho)Macros
This category is concerned with FPs that involve macros, and their expansions.
iter_without_into_iter
|iter_without_into_iter
fires on code generated by macros from other crates #12037struct_field_names
| Consider silencingstruct_field_names
for structs withderive(Serialize/Deserialize)
#12035redundant_closure_call
redundant_closure_call
when closures are passed to macros #12082unnecessary_mut_passed
| False positives selecting system allocator #2373zero_ptr
| False positives selecting system allocator #2373no_effect_underscore_binding
|no_effect_underscore_binding
: FP on field inside derive macros #12045May need discussion
eq_op
| lint against using a binding whose name is prefixed with an underscore #488Meta
@flip1995 wanted to automate issue tracking / impl issue finder for lint names in #5049. Perhaps it's needed because it's a lot of manual effort :D
@rustbot label +C-tracking-issue
The text was updated successfully, but these errors were encountered: