-
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
21 Pull requests merged by 11 people
-
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 -
Add "PowerPC" to the list of valid CamelCase strings in docs
#15447 merged
Aug 9, 2025 -
[[infinite_loop] fix infinite loop false positive
#15157 merged
Aug 9, 2025 -
Do not attempt to compute size of a type with escaping lifetimes
#15434 merged
Aug 9, 2025 -
use a let-chain in
needless_bool
#15444 merged
Aug 8, 2025 -
move
crosspointer_transmute
fromcomplexity
tosuspicious
#15403 merged
Aug 8, 2025 -
eta_reduction
: don't refer to ADT constructors as "function"s#15436 merged
Aug 8, 2025 -
Reuse previous
Vec
allocation in loop#15428 merged
Aug 7, 2025 -
Rustup
#15431 merged
Aug 7, 2025
23 Pull requests opened by 8 people
-
`unnecessary_operation`: add space between stmts in suggestion
#15432 opened
Aug 7, 2025 -
`cast_slice_from_raw_parts`: check for implicit cast to raw slice pointer
#15437 opened
Aug 7, 2025 -
`unnecessary_mut_passed`: add structured suggestion
#15438 opened
Aug 8, 2025 -
change `suspicious_operation_groupings` to work on the HIR instead of the AST
#15443 opened
Aug 8, 2025 -
Rewrite `unwrap_in_result` lint
#15445 opened
Aug 8, 2025 -
`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 -
`result_large_err`: get `DefId` from `AdtDef` instead of `expect`ing
#15467 opened
Aug 12, 2025 -
fix `self_named_module_files`: track module with relative path
#15469 opened
Aug 12, 2025 -
`{borrow,ptr}_as_ptr`
#15473 opened
Aug 13, 2025 -
Fix `match_ref_pats` FP on match scrutinee of never type
#15474 opened
Aug 13, 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`: FP in const context
#15482 opened
Aug 13, 2025 -
fix `or_then_unwrap`: suggestion preserves macro calls
#15483 opened
Aug 13, 2025
11 Issues closed by 9 people
-
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 -
[meta] Reccommend checking code with all clippy lints before filing a new issue
#13424 closed
Aug 9, 2025 -
False positive for `infinite_loop` inside `async` block in function
#14000 closed
Aug 9, 2025 -
Internal compiler error after upgrading to 1.89.0
#15429 closed
Aug 9, 2025 -
unused or incorrect lints in Cargo.toml fail silently
#12124 closed
Aug 9, 2025 -
Lint: useless/unidiomatic match statement on bool
#8014 closed
Aug 9, 2025 -
redundant_closure calls a tuple struct enum variant a function
#8817 closed
Aug 8, 2025
12 Issues opened by 11 people
-
manual_div_ceil lint suggests broken code
#15485 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 -
`allow` specific `unwrap`s with `unwrap_in_result`
#15439 opened
Aug 8, 2025 -
New lint: collapsible `matches!`-es
#15435 opened
Aug 7, 2025 -
Documentation still says that `--fix` selects all targets, even though the behavior was changed
#15433 opened
Aug 7, 2025 -
`too_many_lines` should only highlight the function signature, and not the entire function body
#15430 opened
Aug 7, 2025
56 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 11, 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 -
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 -
`borrow_as_ptr` and `ptr_as_ptr` false positives in `windows::core::implement` macro invocation
#15398 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 -
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 12, 2025 • 0 new comments -
WIP: New lint: `needless_path_new`
#14895 commented on
Aug 7, 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 -
[WIP] Support lint level configuration in clippy.toml
#15155 commented on
Aug 9, 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 -
fix: `unnested_or_patterns` FP on structs with only shorthand field pats
#15343 commented on
Aug 8, 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 -
feat: `manual_rotate` also recognize non-consts
#15402 commented on
Aug 7, 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 -
Include simple fractions in approx_constant
#15248 commented on
Aug 7, 2025 • 0 new comments -
`cognitive_complexity` lint includes code expanded from macro in calculated complexity
#14417 commented on
Aug 7, 2025 • 0 new comments -
Detect bitwise negation with `!` for integral types
#15425 commented on
Aug 7, 2025 • 0 new comments -
`needless_pass_by_value` lint does not trigger on `async fn`
#15136 commented on
Aug 7, 2025 • 0 new comments -
`option_if_let_else` misses lint on `mut` version of function
#8967 commented on
Aug 8, 2025 • 0 new comments -
suspicious-operation-groupings generates a false positive, suggested code doesn't even compile
#7086 commented on
Aug 8, 2025 • 0 new comments -
mistyped_literal_suffixes triggered for any integer that ends with _8 _16 _32 _64
#8715 commented on
Aug 8, 2025 • 0 new comments -
Clippy pedantic for f64 as u64
#8601 commented on
Aug 8, 2025 • 0 new comments -
Why is `use_self` deprecated?
#11960 commented on
Aug 9, 2025 • 0 new comments -
unnecessary_cast: does not handle `std::ptr::null{_mut}`
#11912 commented on
Aug 9, 2025 • 0 new comments -
redundant_closure lint causes a compile error when applied as is
#11604 commented on
Aug 9, 2025 • 0 new comments -
`clippy` was not able to apply suggested fixes
#11598 commented on
Aug 9, 2025 • 0 new comments -
[feature request] Auto-fix for `extra_unused_lifetimes`
#13612 commented on
Aug 9, 2025 • 0 new comments -
Display lints which are blocked by the configured MSRV
#13416 commented on
Aug 9, 2025 • 0 new comments -
`clippy::clone_on_copy` following recommendation on lock guards can lead to dead locks
#12957 commented on
Aug 9, 2025 • 0 new comments -
Changed lint name refers to lint uplifted into rustc
#11654 commented on
Aug 9, 2025 • 0 new comments -
Panic when running `cargo clippy --all-targets` after protobuf change
#11542 commented on
Aug 9, 2025 • 0 new comments -
`clippy::wildcard_dependencies` message doesn't indicate the source file with the error
#11409 commented on
Aug 9, 2025 • 0 new comments -
`std::thread::park` is a better suggestion for fixing `clippy::empty_loop`
#11388 commented on
Aug 9, 2025 • 0 new comments -
Bug report: thread 'rustc' panicked at 'forcing query with already existing `DepNode`
#11155 commented on
Aug 9, 2025 • 0 new comments -
Configuring clippy in Cargo.toml missing from documentation?
#12164 commented on
Aug 9, 2025 • 0 new comments -
`clippy::main_recursion` tests seem to be testing nothing anymore
#11034 commented on
Aug 9, 2025 • 0 new comments -
[Clippy command line] Add ignore flag (e.g., for directories or crate names).
#10957 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 -
`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