-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Insights: rust-lang/rust-clippy
Overview
Could not load contribution data
Please try again later
21 Pull requests merged by 11 people
-
Optimize some usages of
!!
and--
in suggestions#15366 merged
Jul 30, 2025 -
Fix
iter_on_single_items
FP on function pointers and let stmts#15013 merged
Jul 30, 2025 -
chore: fix some minor issues in comments
#15372 merged
Jul 30, 2025 -
Fix
min_ident_chars
: ignore on trait impl.#15275 merged
Jul 30, 2025 -
Do not autofix comments containing bare CR
#15175 merged
Jul 29, 2025 -
Fix
search_is_some
suggests wrongly inside macro#15135 merged
Jul 29, 2025 -
Fix typo in internal error message
#15363 merged
Jul 28, 2025 -
Do not treat NixOS as a Pascal-cased identifier
#15361 merged
Jul 28, 2025 -
Fix
cast-lossless
should not suggest when casting type is from macro input#15358 merged
Jul 28, 2025 -
Fix
match_single_binding
wrongly handles scope#15060 merged
Jul 28, 2025 -
Fix typo non_std_lazy_statics.rs
#15357 merged
Jul 27, 2025 -
Fix
let_unit_value
suggests wrongly for format macros#15085 merged
Jul 27, 2025 -
fix:
unnecessary_map_or
don't add parens if the parent expr comes f…#15345 merged
Jul 27, 2025 -
Fix
empty_structs_with_brackets
suggests wrongly on generics#15355 merged
Jul 27, 2025 -
Detect prefixed attributes as duplicated
#15212 merged
Jul 26, 2025 -
fix ip_constant when call wrapped in extra parens
#15339 merged
Jul 26, 2025 -
Get myself back on assignment rotation
#15346 merged
Jul 25, 2025 -
Rustup
#15341 merged
Jul 25, 2025 -
Remove "Known problems" section for
clippy::redundant_closure
#15331 merged
Jul 25, 2025 -
Fix
if_then_some_else_none
FP when require type coercion#15267 merged
Jul 24, 2025 -
Correct help message for
arc_with_non_send_sync
#15332 merged
Jul 24, 2025
10 Pull requests opened by 5 people
-
expand the issue template for new lints
#15336 opened
Jul 24, 2025 -
PoC: Integer range analysis
#15342 opened
Jul 25, 2025 -
fix: `unnested_or_patterns` FP on structs with only shorthand field pats
#15343 opened
Jul 25, 2025 -
clean-up `unnested_or_patterns`
#15344 opened
Jul 25, 2025 -
Do not replace `match` by `if` if any arm contains a binding
#15352 opened
Jul 26, 2025 -
Fix`unnecessary_safety_comment` does not lint for the first line
#15354 opened
Jul 27, 2025 -
Fix `never_loop` forget to remove `break` in nested loop
#15356 opened
Jul 27, 2025 -
Do not specialize for `if_chain` any longer
#15362 opened
Jul 28, 2025 -
Simplify boolean expression in `manual_assert`
#15368 opened
Jul 29, 2025 -
Output lintcheck summary HTML markdown in order
#15371 opened
Jul 30, 2025
15 Issues closed by 7 people
-
`iter-on-single-items` breaks code in macro context that takes IntoIterator
#14981 closed
Jul 30, 2025 -
`min_ident_chars` triggers on implementation block for foreign traits
#13396 closed
Jul 30, 2025 -
`four_forward_slashes` does not know that doc comments cannot contain "bare CR"
#15174 closed
Jul 29, 2025 -
`search_is_some` suggests broken code when match guard is present
#15102 closed
Jul 29, 2025 -
[clippy::doc_markdown] Default whitelist: Add 'NixOS'
#15360 closed
Jul 28, 2025 -
`cast-lossless` breaks macro
#15348 closed
Jul 28, 2025 -
`match_single_binding`: missing brackets
#15018 closed
Jul 28, 2025 -
match_single_binding suggests code with invalid syntax
#15269 closed
Jul 28, 2025 -
The suggestion of let_unit_value is invalid when the value is used in formatted in print
#15061 closed
Jul 27, 2025 -
suggestions for `unnecessary_map_or` suggest unnecessary parentheses
#14714 closed
Jul 27, 2025 -
`empty-structs-with-brackets` wants to remove const parameters of structs 🤔
#15349 closed
Jul 27, 2025 -
Prefixed attributes are not detected as duplicated
#14942 closed
Jul 26, 2025 -
Invalid core::time:::Instant --fix
#15330 closed
Jul 26, 2025 -
cargo clippy --fix mishandles order of operations [neg_multiply]
#15340 closed
Jul 25, 2025 -
`if-then-some-else-none` changes return type
#15257 closed
Jul 24, 2025
16 Issues opened by 11 people
-
Clone of box then dereference should dereference first
#15374 opened
Jul 30, 2025 -
Lint suggestion: `indirect_boxing`
#15373 opened
Jul 30, 2025 -
Lintcheck outputs fields in wrong order
#15370 opened
Jul 30, 2025 -
`incompatible_msrv` does not work with unit tests
#15369 opened
Jul 29, 2025 -
`bool_comparison` triggers twice on the same code
#15367 opened
Jul 29, 2025 -
`min_ident_chars` applies same rules to variables and fn params
#15365 opened
Jul 29, 2025 -
`nonminimal_bool` does not work with `||`
#15364 opened
Jul 29, 2025 -
`manual_assert` does not simplify expressions
#15359 opened
Jul 28, 2025 -
missing_panics_doc: FP with <div>
#15353 opened
Jul 26, 2025 -
`match_bool` will suggetion will introduce untinitialized binding that still existed in the match arm
#15351 opened
Jul 26, 2025 -
`never_loop` removes label that the replaced loop was attached to (outer label)
#15350 opened
Jul 26, 2025 -
`branches-sharing-code` does not work when the shared references code inside branches
#15347 opened
Jul 26, 2025 -
Providing information about integer type aliases with multiple sizes
#15337 opened
Jul 24, 2025 -
`manual_is_multiple_of` suggests change that could alter behaviour
#15335 opened
Jul 24, 2025 -
warn about code that is aligned without being in a code or pre block
#15334 opened
Jul 24, 2025 -
needless_borrows_for_generic_args incorrectly triggers on `&[]`
#15333 opened
Jul 24, 2025
31 Unresolved conversations
Sometimes conversations happen on old items that aren’t yet closed. Here is a list of all the Issues and Pull Requests with unresolved conversations.
-
Fix `missing_inline_in_public_items` fail to fulfill `expect` in `--test` build
#15320 commented on
Jul 27, 2025 • 2 new comments -
Extend `implicit_clone` to handle `to_string` calls
#14177 commented on
Jul 26, 2025 • 2 new comments -
WIP: New lint: `needless_path_new`
#14895 commented on
Jul 25, 2025 • 1 new comment -
Split `possible_missing_else` from `suspicious_else_formatting`
#15317 commented on
Jul 30, 2025 • 0 new comments -
Fix suggestion for `collapsible_if` and `collapsible_else_if` when the inner `if` is enclosed in parentheses
#15304 commented on
Jul 24, 2025 • 0 new comments -
WIP: `map_identity`: suggest making the variable mutable when necessary
#15268 commented on
Jul 29, 2025 • 0 new comments -
`{flat_,}map_identity`: recognize (tuple) struct de- and restructuring
#15261 commented on
Jul 29, 2025 • 0 new comments -
Remove CSS bootstrap dependency
#15251 commented on
Jul 25, 2025 • 0 new comments -
Fix `large_stack_frames` FP on compiler generated targets
#15101 commented on
Jul 26, 2025 • 0 new comments -
`similar_names` stop linting for 3-char names
#15100 commented on
Jul 27, 2025 • 0 new comments -
Get the block content from the proper context
#15014 commented on
Jul 25, 2025 • 0 new comments -
Suggest naming types before using explicit type names
#14996 commented on
Jul 28, 2025 • 0 new comments -
Note that using `enumerate()` will swap the arguments
#14969 commented on
Jul 28, 2025 • 0 new comments -
Add ifs_as_logical_ops lint
#14904 commented on
Jul 29, 2025 • 0 new comments -
Add lint `long_variable_names`
#14818 commented on
Jul 30, 2025 • 0 new comments -
`parsed_string_literals`: new lint
#14794 commented on
Jul 28, 2025 • 0 new comments -
Add relative_path_in_macro_definition lint (#14472) #14645
#14648 commented on
Jul 30, 2025 • 0 new comments -
Convert `redundant_clone` to an analysis pass take 2
#14599 commented on
Jul 26, 2025 • 0 new comments -
Do not suggest to use implicit `DerefMut` on `ManuallyDrop` reached through unions
#14387 commented on
Jul 28, 2025 • 0 new comments -
Warn against having multiple `impl` blocks for the same struct and with the same bounds(?)
#8714 commented on
Jul 30, 2025 • 0 new comments -
[1.84.0 regression] `#[allow(clippy::disallowed_macros)]` does not work on two-argument `std::panic`
#14017 commented on
Jul 29, 2025 • 0 new comments -
`undocumented_unsafe_blocks` requires incorrect word "SAFETY"
#15161 commented on
Jul 28, 2025 • 0 new comments -
Lint for using `LazyLock` in a non-static context
#15295 commented on
Jul 28, 2025 • 0 new comments -
doc_markdown should ignore things which just contain acronyms
#1136 commented on
Jul 28, 2025 • 0 new comments -
IIFE closure extension temporary value
#15290 commented on
Jul 28, 2025 • 0 new comments -
Match Allows Multiple Identical as i32 Statements Without Warning
#14427 commented on
Jul 27, 2025 • 0 new comments -
suggest `== Some(` for `is_some_and` if possible
#14713 commented on
Jul 25, 2025 • 0 new comments -
`unnested-or-patterns` `union` binding no longer usable
#15219 commented on
Jul 25, 2025 • 0 new comments -
Clippy `string-to-string` `--fix` generates broken code
#15300 commented on
Jul 25, 2025 • 0 new comments -
Suggest trait implementations for references/boxes
#2258 commented on
Jul 24, 2025 • 0 new comments -
Unexpected panic in rustc_query_system while running 'x clippy'
#15338 commented on
Jul 24, 2025 • 0 new comments