-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Insights: rust-lang/rust-clippy
Overview
24 Pull requests merged by 14 people
-
Fix
wildcard_enum_match_arm
suggests wrongly with raw identifiers#15093 merged
Jun 21, 2025 -
Emit lint about redundant closure on the closure node itself
#14791 merged
Jun 21, 2025 -
Add MSRV test for
unnecessary_debug_formatting
withOsStr
#15001 merged
Jun 21, 2025 -
or_fun_call: lint more methods
#15071 merged
Jun 21, 2025 -
Fix typo in tests/ui/missing_const_for_fn/const_trait.rs
#15090 merged
Jun 20, 2025 -
Fix false positive of
borrow_deref_ref
#14967 merged
Jun 20, 2025 -
Sugg
: do not parenthesize a double unary operator#14983 merged
Jun 20, 2025 -
[PERF] Don't spawn so many compilers (3/2) (19m -> 250k)
#15030 merged
Jun 20, 2025 -
Fix
manual_ok_err
suggests wrongly with references#15053 merged
Jun 20, 2025 -
Fix
branches_sharing_code
suggests misleadingly when in assignment#15076 merged
Jun 20, 2025 -
New lint:
manual_is_multiple_of
#14292 merged
Jun 20, 2025 -
Fix suggestion-cases-error of
empty_line_after_outer_attr
#15078 merged
Jun 20, 2025 -
Fix
non_copy_const
ICE#15083 merged
Jun 19, 2025 -
Fix
clippy::question_mark
on let-else with cfg#15082 merged
Jun 19, 2025 -
Fix typo
#15081 merged
Jun 19, 2025 -
Check MSRV before suggesting applying
const
to a function#15080 merged
Jun 19, 2025 -
Fix
exhaustive_structs
FP on structs with default valued field#15022 merged
Jun 19, 2025 -
Prepare to split
clippy_lints
#14684 merged
Jun 19, 2025 -
Add
allow-invalid
configuration option fordisallowed_*
to the documentation#14845 merged
Jun 17, 2025 -
docs: add link to span_lint in diagnostics.rs.
#15065 merged
Jun 16, 2025 -
Add lint for broken doc links
#13696 merged
Jun 16, 2025 -
Fix FP of
identity_op
when encounteringDefault::default()
#15028 merged
Jun 15, 2025 -
docs: make unbuffered_bytes docs more consistent
#15019 merged
Jun 14, 2025 -
Remove unneeded lifetime
#15040 merged
Jun 14, 2025
13 Pull requests opened by 7 people
-
Fix coerce_container_to_any false positive on autoderef
#15057 opened
Jun 14, 2025 -
Fix `match_single_binding` wrongly handles scope
#15060 opened
Jun 15, 2025 -
Fix `never_loop` forget to remove `break` in suggestion
#15064 opened
Jun 16, 2025 -
Fix multiple problems in #15063
#15070 opened
Jun 17, 2025 -
or_fun_call: also lint `and` method for Option/Result
#15073 opened
Jun 18, 2025 -
or_fun_call: lint method calls inside map_or first arg
#15074 opened
Jun 18, 2025 -
Fix `redundant_closure` suggests wrongly with deref overload
#15077 opened
Jun 18, 2025 -
Fix `let_unit_value` suggests wrongly for format macros
#15085 opened
Jun 20, 2025 -
Use `Ty::is_fn` instead of manually matching on `TyKind`
#15089 opened
Jun 20, 2025 -
New lint: `missing_workspace_lints`
#15092 opened
Jun 21, 2025 -
Deprecate `cognitive_complexity` lint
#15094 opened
Jun 21, 2025 -
Changelog for Clippy 1.88 🏄
#15095 opened
Jun 21, 2025 -
Add missing space when expanding a struct-like variant
#15096 opened
Jun 21, 2025
20 Issues closed by 9 people
-
Refactor does not create raw identifier when necessary
#15091 closed
Jun 21, 2025 -
Regression of `#[allow(clippy::redundant_closure)]` in Rust 1.82
#14789 closed
Jun 21, 2025 -
Move our paths over to diagnostic items
#5393 closed
Jun 21, 2025 -
FP borrow_deref_ref
#14934 closed
Jun 20, 2025 -
`manual_ok_err` suggest incorrect fix for references
#15051 closed
Jun 20, 2025 -
suggest `a.is_multiple_of(b)` for `a % b == 0`
#14289 closed
Jun 20, 2025 -
`empty_line_after_outer_attr`: some attrs like `repr` can't be crate-level attrs
#14980 closed
Jun 20, 2025 -
`ilog(2)` -> `ilog2()` and `ilog(10)` -> `ilog10`
#15084 closed
Jun 20, 2025 -
Recursion lint, part 2 of 2: Indirect Recursion
#15020 closed
Jun 19, 2025 -
ICE: const parameter `N/#1` (N/#1/1) out of range when instantiating args=[N/#1]
#15069 closed
Jun 19, 2025 -
`clippy::question_mark` ignores `#[cfg]`-ed out statements in `let-else`
#13642 closed
Jun 19, 2025 -
`std_instead_of_core` and similar lints are not helpful on a nested `std` import
#15050 closed
Jun 19, 2025 -
`missing_const_for_fn` should respect MSRV for trait bounds
#15079 closed
Jun 19, 2025 -
`exhaustive-structs` wants to add non_exhaustive to structs with `default_field_values` which does not work
#14992 closed
Jun 19, 2025 -
`unnecessary_debug_formatting` should respect MSRV
#14977 closed
Jun 19, 2025 -
`allow-invalid` configuration option for `disallowed_*` is missing from the documentation
#14836 closed
Jun 17, 2025 -
Lint broken URLs in documentation comments
#2179 closed
Jun 16, 2025 -
FP identity_op does not catch type hint is needed
#14932 closed
Jun 15, 2025 -
contradictory suggestion for labeled break with an unsafe block
#15059 closed
Jun 15, 2025 -
[if_then_some_else_none] extra `;` and `}` inside `Some()`?
#15055 closed
Jun 14, 2025
11 Issues opened by 10 people
-
Clippy suggests broken code in explicit_counter_loop lint
#15088 opened
Jun 20, 2025 -
Add a chapter on how to review a lint in the book
#15087 opened
Jun 20, 2025 -
[TRACKING] Highlighted issues for the feature freeze
#15086 opened
Jun 20, 2025 -
Clippy errors after the first problematic crate in the workspace
#15075 opened
Jun 18, 2025 -
Clippy --fix redundant closure breaks with function call through deref
#15072 opened
Jun 17, 2025 -
`needless_range_loop` falsely emmitted with nested indexing
#15068 opened
Jun 17, 2025 -
disallowed-methods auto-fixes are unreliable
#15067 opened
Jun 17, 2025 -
`clippy::vec_init_then_push` can't be ignored
#15066 opened
Jun 17, 2025 -
clippy failed to automatically apply fixes suggested by rustc
#15063 opened
Jun 16, 2025 -
The suggestion of let_unit_value is invalid when the value is used in formatted in print
#15061 opened
Jun 15, 2025 -
clippy reports: `after fixes were automatically applied the compiler reported errors within these files`
#15058 opened
Jun 15, 2025
40 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.
-
Add direct-recursion Lint
#15006 commented on
Jun 19, 2025 • 42 new comments -
Add ifs_as_logical_ops lint
#14904 commented on
Jun 21, 2025 • 5 new comments -
Get the block content from the proper context
#15014 commented on
Jun 20, 2025 • 3 new comments -
Add new lint: `std_wildcard_imports`
#14868 commented on
Jun 18, 2025 • 3 new comments -
Fix `unused_trait_names` FP when `as` name is from macro input
#14947 commented on
Jun 18, 2025 • 2 new comments -
check f16 and f128 in float_equality_without_abs
#15054 commented on
Jun 14, 2025 • 1 new comment -
Misc `clippy_dev` changes
#14896 commented on
Jun 19, 2025 • 1 new comment -
Refactor `useless_vec` lint
#14503 commented on
Jun 21, 2025 • 1 new comment -
New lint: `unit_as_impl_trait`
#13925 commented on
Jun 21, 2025 • 0 new comments -
New lint: `borrow_mutable_copy`
#13984 commented on
Jun 21, 2025 • 0 new comments -
Do not suggest to use implicit `DerefMut` on `ManuallyDrop` reached through unions
#14387 commented on
Jun 18, 2025 • 0 new comments -
Propose to exchange ranges only when it is safe to do so
#14432 commented on
Jun 18, 2025 • 0 new comments -
Various improvements to the `incompatible_msrv` lint
#14433 commented on
Jun 18, 2025 • 0 new comments -
Add relative_path_in_macro_definition lint (#14472) #14645
#14648 commented on
Jun 21, 2025 • 0 new comments -
Rewrite `lifetimes` lint pass
#14715 commented on
Jun 18, 2025 • 0 new comments -
Add `clippy::self_only_used_in_recursion` lint
#14787 commented on
Jun 14, 2025 • 0 new comments -
`parsed_string_literals`: new lint
#14794 commented on
Jun 21, 2025 • 0 new comments -
WIP: New lint: `needless_path_new`
#14895 commented on
Jun 20, 2025 • 0 new comments -
Add Triagebot's `concern` capability to the Clippy repository
#14916 commented on
Jun 18, 2025 • 0 new comments -
Closes #259: Adds new lint `items_before_use`
#14985 commented on
Jun 21, 2025 • 0 new comments -
`coerce_container_to_any` should not trigger in method chains
#15045 commented on
Jun 14, 2025 • 0 new comments -
`legacy_numeric_constants` spans are a bit off, synatx error due to misssing `)`
#15008 commented on
Jun 16, 2025 • 0 new comments -
`undocumented_unsafe_blocks` should attempt to detect typos
#15038 commented on
Jun 16, 2025 • 0 new comments -
Basic while loops => for loops
#15046 commented on
Jun 17, 2025 • 0 new comments -
range_plus_one lint wrongly suggests using RangeInclusive when Range is required and the other way around
#3307 commented on
Jun 17, 2025 • 0 new comments -
Add `allow-disallowed-*-in-tests` configuration items
#13790 commented on
Jun 18, 2025 • 0 new comments -
Reeneable should_assert_eq lint
#6637 commented on
Jun 18, 2025 • 0 new comments -
lint logically inconsistent checks
#685 commented on
Jun 19, 2025 • 0 new comments -
False positive in `unnecessary_to_owned` when a mutable borrow would cause a compiler error
#14918 commented on
Jun 19, 2025 • 0 new comments -
`cloned_ref_to_slice_refs` suggestion may cause error
#14856 commented on
Jun 19, 2025 • 0 new comments -
Don't emit ptr_arg warning about unused function arguments
#13728 commented on
Jun 19, 2025 • 0 new comments -
Inconsistent handling of to_string() removal suggestion between field and method access
#13726 commented on
Jun 19, 2025 • 0 new comments -
The exit lint is emitted for test target but not for bin target
#13518 commented on
Jun 19, 2025 • 0 new comments -
Garbage clippy::expect_fun_call lint for result.expect(if b { "" } else { "" })
#15056 commented on
Jun 19, 2025 • 0 new comments -
[literal_string_with_formatting_args] support for `lazy_format`
#14894 commented on
Jun 19, 2025 • 0 new comments -
New lint: `windows_const` and `chunks_const`
#6580 commented on
Jun 20, 2025 • 0 new comments -
cargo clippy --fix generated broken code
#9583 commented on
Jun 20, 2025 • 0 new comments -
`min_ident_chars` triggers on implementation block for foreign traits
#13396 commented on
Jun 21, 2025 • 0 new comments -
Lint for unused arguments starting with a _
#3219 commented on
Jun 21, 2025 • 0 new comments -
eq_op: allow optionally check fn calls
#13828 commented on
Jun 18, 2025 • 0 new comments