-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Insights: rust-lang/rust-clippy
Overview
Could not load contribution data
Please try again later
19 Pull requests merged by 10 people
-
similar_names
stop linting for 3-char names#15100 merged
Aug 16, 2025 -
clean-up
unnecessary_unwrap
a bit#15489 merged
Aug 16, 2025 -
{borrow,ptr}_as_ptr
: don't lint inside proc-macros#15473 merged
Aug 15, 2025 -
unnecessary_operation
: add space between stmts in suggestion#15432 merged
Aug 14, 2025 -
Fix
match_ref_pats
FP on match scrutinee of never type#15474 merged
Aug 14, 2025 -
result_large_err
: getDefId
fromAdtDef
instead ofexpect
ing#15467 merged
Aug 14, 2025 -
Adjust
declare_interior_mutable_const
lint's category#15454 merged
Aug 14, 2025 -
Bump slab from 0.4.10 to 0.4.11 in /clippy_test_deps
#15471 merged
Aug 13, 2025 -
as_ptr_cast
: move the unfixable case into a separate file#15475 merged
Aug 13, 2025 -
move
char_lit_as_u8
under the explicit-cast case#15477 merged
Aug 13, 2025 -
fix
unnecessary_semicolon
: don't lint on stmts with attrs#15466 merged
Aug 12, 2025 -
Update actions/checkouts to v5
#15457 merged
Aug 11, 2025 -
Get myself off assignment rotation
#15459 merged
Aug 11, 2025 -
Correct
needless_borrow_for_generic_args
doc comment#15440 merged
Aug 11, 2025 -
doc: use
is_some_and
instead ofmap_or(false, _)
#15455 merged
Aug 11, 2025 -
Update CONTRIBUTING.md to use RustRover instead of IntelliJ Rust
#15448 merged
Aug 10, 2025 -
feat: introduce
path_to_local_with_projections
#15396 merged
Aug 10, 2025 -
fix &str type check in
from_str_radix_10
#15410 merged
Aug 9, 2025 -
expect_fun_call
: move helper functions out of the main one#15446 merged
Aug 9, 2025
25 Pull requests opened by 10 people
-
`is_expr_identity_of_pat`: simplify using `(unordered_)over`
#15450 opened
Aug 10, 2025 -
Add `needless_conversion_for_trait` lint
#15451 opened
Aug 10, 2025 -
fix(disallowed_macros): Fix emitting on attr macros
#15452 opened
Aug 10, 2025 -
`let_unit_with_type_underscore`: make early-pass
#15458 opened
Aug 11, 2025 -
`unnecessary_operation`: don't suggest autofixes on composite types with fields of uncertain types
#15460 opened
Aug 11, 2025 -
`too_many_lines`: only highlight the function signature
#15461 opened
Aug 11, 2025 -
simplify `too_many_args`
#15462 opened
Aug 11, 2025 -
fix `self_named_module_files`: track module with relative path
#15469 opened
Aug 12, 2025 -
Fix `semicolon_inside_block` FP when attribute over expr is not enabled
#15476 opened
Aug 13, 2025 -
clean-up `ptr_cast_constness`
#15478 opened
Aug 13, 2025 -
split `cast_ptr_alignment`
#15479 opened
Aug 13, 2025 -
`ptr_as_ptr`: move to `if`
#15480 opened
Aug 13, 2025 -
fix `unnecessary_semicolon`: FN on `#[feature(stmt_expr_attributes)]`
#15481 opened
Aug 13, 2025 -
fix `equatable_if_let`: don't suggest `=` in const context
#15482 opened
Aug 13, 2025 -
fix `or_then_unwrap`: suggestion preserves macro calls
#15483 opened
Aug 13, 2025 -
Fix FP of `needless_range_loop` when meeting multidimensional array
#15486 opened
Aug 14, 2025 -
cast_possible_truncation: Support `size_of`, `align_of`, and `size_of_val`
#15488 opened
Aug 14, 2025 -
`msrv`: replace nested `if`s with guard clauses
#15490 opened
Aug 14, 2025 -
fix `manual_is_ascii_check`: also add explicit type when linting `matches!`
#15492 opened
Aug 15, 2025 -
Add the `iter_last_slice` lint
#15496 opened
Aug 15, 2025 -
`bool_comparison`: no longer lint on `!x != y`
#15498 opened
Aug 15, 2025 -
extract `bool_comparison` to a separate file
#15499 opened
Aug 15, 2025 -
missing_safety_doc: guide them out of an HTML block with a header
#15500 opened
Aug 16, 2025 -
`missing_inline_in_public_items`: fix lint emission source HirId
#15501 opened
Aug 16, 2025 -
clean-up `collapsible_if` a bit
#15503 opened
Aug 16, 2025
11 Issues closed by 10 people
-
Stop triggering `similar_names` for 3-character names
#14869 closed
Aug 16, 2025 -
False positive `missing_const_for_fn` if there are `#[start]` and `#[test]` both are present
#13946 closed
Aug 16, 2025 -
`borrow_as_ptr` and `ptr_as_ptr` false positives in `windows::core::implement` macro invocation
#15398 closed
Aug 15, 2025 -
ICE in zero_sized_map_values
#14972 closed
Aug 14, 2025 -
`match_ref_pats` matching on macros like `unimplemented` there is nothing that can be dereferenced
#15378 closed
Aug 14, 2025 -
manual_div_ceil lint suggests broken code
#15485 closed
Aug 14, 2025 -
clippy::swap_with_temporary false positive
#15472 closed
Aug 13, 2025 -
`unnecessary_semicolon` FP on expression statements with attributes
#15426 closed
Aug 12, 2025 -
Update CONTRIBUTING.md to include RustRover instead of deprecated IntelliJ Rust
#15406 closed
Aug 10, 2025 -
`unwrap_used` specialization for writing to `String` broken in 1.89
#15449 closed
Aug 10, 2025 -
Latest Clippy tags `unused_imports` on trait imports spuriously
#15442 closed
Aug 9, 2025
14 Issues opened by 12 people
-
`collapsible_if` ignore gated out lines between two if
#15502 opened
Aug 16, 2025 -
`bool_comparison` mangles macro invocations
#15497 opened
Aug 15, 2025 -
`self_named_module_files`: Enforce consistent naming for leaf modules
#15495 opened
Aug 15, 2025 -
`let_unit_value` suggestion replacing variable in println with unit
#15494 opened
Aug 15, 2025 -
Correct manual impl Default
#15493 opened
Aug 15, 2025 -
`missing_inline_in_public_items` not controllable on individual default trait method
#15491 opened
Aug 14, 2025 -
Lint against `[T].iter().last()` and suggest `[T].last()`
#15487 opened
Aug 14, 2025 -
`regex_creation_in_loops` fires even if a regex compilation is followed by `break`.
#15484 opened
Aug 14, 2025 -
Lint against unnecessary borrow_mut when borrow is enough
#15470 opened
Aug 13, 2025 -
Lintcheck gives a wrong link
#15468 opened
Aug 12, 2025 -
unnecessary_lazy_evaluations could give more targeted suggestion when unwrapping
#15465 opened
Aug 12, 2025 -
No need to ref to function
#15464 opened
Aug 12, 2025 -
Consider renaming `cargo dev setup intellij` command to `cargo dev setup rustrover`
#15463 opened
Aug 12, 2025 -
`unnecessary_fallible_conversions`: Check for unnecessary `from_str` calls where `from` is available
#15456 opened
Aug 11, 2025
43 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`unnecessary_safety_comment` does not lint for the first line
#15354 commented on
Aug 14, 2025 • 7 new comments -
`map_identity`: suggest making the variable mutable when necessary
#15268 commented on
Aug 16, 2025 • 6 new comments -
WIP: `mut_mut`: generalize the from-expansion check
#15419 commented on
Aug 10, 2025 • 3 new comments -
WIP: New lint: `duplicate_match_guards`
#14986 commented on
Aug 10, 2025 • 2 new comments -
add structured suggestions to `double_parens`
#15420 commented on
Aug 10, 2025 • 1 new comment -
[Clippy command line] Add ignore flag (e.g., for directories or crate names).
#10957 commented on
Aug 9, 2025 • 0 new comments -
`absolute_paths` can trigger on code produced by a macro
#13920 commented on
Aug 16, 2025 • 0 new comments -
`needless_pass_by_ref_mut` should not trigger when values derived from the `&mut` are used in an unsafe block
#13172 commented on
Aug 16, 2025 • 0 new comments -
Incorrect clippy::derivable_impls in the presence of conditional compilation
#13160 commented on
Aug 16, 2025 • 0 new comments -
Add `clippy::self_only_used_in_recursion` lint
#14787 commented on
Aug 11, 2025 • 0 new comments -
Add lint `long_variable_names`
#14818 commented on
Aug 15, 2025 • 0 new comments -
Fix `redundant_closure` suggests wrongly with deref overload
#15077 commented on
Aug 13, 2025 • 0 new comments -
Fix `large_stack_frames` FP on compiler generated targets
#15101 commented on
Aug 11, 2025 • 0 new comments -
Fix `as_ptr_cast_mut` FP when `self` is not mutable
#15266 commented on
Aug 14, 2025 • 0 new comments -
Fix `missing_inline_in_public_items` fail to fulfill `expect` in `--test` build
#15320 commented on
Aug 13, 2025 • 0 new comments -
clean-up `unnested_or_patterns`
#15344 commented on
Aug 12, 2025 • 0 new comments -
Fix `never_loop` forget to remove `break` in nested loop
#15356 commented on
Aug 11, 2025 • 0 new comments -
Fix cast_sign_loss false positive for float to uint casts
#15382 commented on
Aug 9, 2025 • 0 new comments -
Add suggestion to `cast_sign_loss` and `cast_possible_wrap` using the `cast_{un,}signed()` methods
#15384 commented on
Aug 14, 2025 • 0 new comments -
overhaul `mut_mut`
#15417 commented on
Aug 12, 2025 • 0 new comments -
fix: `semicolon_inside_block` don't fire if block is surrounded by parens
#15421 commented on
Aug 13, 2025 • 0 new comments -
change `suspicious_operation_groupings` to work on the HIR instead of the AST
#15443 commented on
Aug 9, 2025 • 0 new comments -
False "missing_const_in_fn" for a function that consumes `self`
#8874 commented on
Aug 10, 2025 • 0 new comments -
Lint `*Error` types that don't implement `std::error::Error`
#1291 commented on
Aug 10, 2025 • 0 new comments -
Docs for `let_underscore_untyped` unclear
#10867 commented on
Aug 10, 2025 • 0 new comments -
Documentation still says that `--fix` selects all targets, even though the behavior was changed
#15433 commented on
Aug 11, 2025 • 0 new comments -
`explicit_deref_methods` triggering from within macros
#15168 commented on
Aug 11, 2025 • 0 new comments -
`self_named_module_files` implementation is broken
#14697 commented on
Aug 11, 2025 • 0 new comments -
`too_many_lines` should only highlight the function signature, and not the entire function body
#15430 commented on
Aug 11, 2025 • 0 new comments -
future_not_send unclear about what value is held across an await
#14271 commented on
Aug 12, 2025 • 0 new comments -
Coccinelle files generated by Clippy?
#13516 commented on
Aug 12, 2025 • 0 new comments -
result_large_err difficult to suppress selectively
#15404 commented on
Aug 12, 2025 • 0 new comments -
Clippy `string-to-string` `--fix` generates broken code
#15300 commented on
Aug 13, 2025 • 0 new comments -
`equatable-if-let` not stable for consts yet
#15376 commented on
Aug 13, 2025 • 0 new comments -
New lint: reproducible build hazards
#15263 commented on
Aug 14, 2025 • 0 new comments -
`cargo-clippy` doesn't seem to support `--exclude` option like `check`
#9555 commented on
Aug 14, 2025 • 0 new comments -
`unnecessary_unwrap` false negative of Option variable in struct
#15321 commented on
Aug 14, 2025 • 0 new comments -
single_component_path_imports should respect #[allow(unused_imports)]
#9139 commented on
Aug 15, 2025 • 0 new comments -
manual_is_ascii_check causes error[E0282]: type annotations needed
#15326 commented on
Aug 15, 2025 • 0 new comments -
`bool_comparison` triggers twice on the same code
#15367 commented on
Aug 15, 2025 • 0 new comments -
missing_panics_doc: FP with <div>
#15353 commented on
Aug 15, 2025 • 0 new comments -
False alarm with derive_ord_xor_partial_ord
#6219 commented on
Aug 16, 2025 • 0 new comments -
Clippy does not respect rules to allow `uninlined_format_args`
#14694 commented on
Aug 16, 2025 • 0 new comments