-
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
12 Pull requests merged by 8 people
-
Lint docs: Sort versions, so that stable comes first
#15149 merged
Jun 26, 2025 -
Ping notriddle when a clippy lint in
clippy_lints/doc
is modified#15147 merged
Jun 26, 2025 -
Rustup
#15148 merged
Jun 26, 2025 -
Update book and templates with feature freeze
#14456 merged
Jun 26, 2025 -
Add beta-accepted to CHANGELOG for 1.88
#15130 merged
Jun 26, 2025 -
changelog: link to the correct PR
#15125 merged
Jun 25, 2025 -
Changelog for Clippy 1.88 🏄
#15095 merged
Jun 24, 2025 -
Add missing space when expanding a struct-like variant
#15096 merged
Jun 21, 2025 -
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
27 Pull requests opened by 13 people
-
Deprecate `cognitive_complexity` lint
#15094 opened
Jun 21, 2025 -
Add new lints: `const_sized_chunks_exact`, `const_sized_chunks_exact_mut`, and `const_sized_windows`
#15097 opened
Jun 21, 2025 -
fixes #14869
#15100 opened
Jun 22, 2025 -
Fix `large_stack_frames` FP on compiler generated targets
#15101 opened
Jun 22, 2025 -
handle another type of collapsible if-statement
#15104 opened
Jun 22, 2025 -
Fix `ptr_arg` suggests changes when it's actually better not to bother
#15105 opened
Jun 22, 2025 -
Add new lint `shadow_type_generic`
#15109 opened
Jun 22, 2025 -
New lint: `explicit_struct_update`
#15110 opened
Jun 23, 2025 -
Properly check that an expression might be the one returned
#15115 opened
Jun 23, 2025 -
Handle potentially-shadowing bindings in `manual_let_else`
#15118 opened
Jun 23, 2025 -
Fix expect_fun_call producing invalid suggestions
#15122 opened
Jun 24, 2025 -
Fix `disallowed_script_idents` FP on identifiers with `_`
#15123 opened
Jun 24, 2025 -
Fix capacity overflow in `single_match` with deref patterns
#15124 opened
Jun 24, 2025 -
fix: Improve floating point lint to handle ambiguous type
#15133 opened
Jun 25, 2025 -
Fix `search_is_some` suggests wrongly inside macro
#15135 opened
Jun 25, 2025 -
`unsafe_derive_deserialize`: do not consider `pin!()` as `unsafe`
#15137 opened
Jun 25, 2025 -
Downgrade known buggy pointer cast suggestions to `MaybeIncorrect`.
#15138 opened
Jun 25, 2025 -
Reduce page size and number of DOM elements on clippy lints page
#15140 opened
Jun 25, 2025 -
fix: redundant_closure_call lint for closures with block
#15144 opened
Jun 26, 2025 -
Don't remove explicit cast to trait object pointer
#15145 opened
Jun 26, 2025 -
doc_nested_refdefs: do not falsely report checkboxes as refdefs
#15146 opened
Jun 26, 2025 -
Explain how to temporarily use paths instead of diagnostic items
#15150 opened
Jun 26, 2025 -
`zero_ptr`: lint in `const` context as well
#15152 opened
Jun 26, 2025 -
Add new lint to detect dangling pointer return from closure
#15154 opened
Jun 27, 2025 -
[WIP] Support lint level configuration in clippy.toml
#15155 opened
Jun 27, 2025 -
fix infinite loop
#15157 opened
Jun 27, 2025 -
Make `transmute_ptr_to_ref` suggestion work correctly with some outer expression types
#15159 opened
Jun 27, 2025
11 Issues closed by 9 people
-
Lint for inclusive ranges from 0 to len
#1396 closed
Jun 27, 2025 -
Lints with alphabetic names after `unknown_lints` are not allowed
#15126 closed
Jun 26, 2025 -
Clippy crashes with 'attempted to read from stolen value'
#7614 closed
Jun 26, 2025 -
`clippy::exit` triggers, but expect claims that it doesn't
#15107 closed
Jun 23, 2025 -
`cmp_null` autofix generates incorrect code
#15114 closed
Jun 23, 2025 -
Consider separate lints for "hierarchical" unused lints (or some way to opt-out)
#15106 closed
Jun 23, 2025 -
Suggest the use of bool::then_some
#15103 closed
Jun 22, 2025 -
Add "#[inline(always)]" hint to functions with only one caller
#15098 closed
Jun 21, 2025 -
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
24 Issues opened by 20 people
-
`undocumented_unsafe_blocks` requires incorrect word "SAFETY"
#15161 opened
Jun 27, 2025 -
error[E0502] (cannot borrow with different mutability) in code permitted by Edition 2024
#15160 opened
Jun 27, 2025 -
False positive for collapsible_else_if with cfg feature usage
#15158 opened
Jun 27, 2025 -
Clippy panics on UTF-8 (Chinese) comments in protobuf-generated Rust code
#15156 opened
Jun 27, 2025 -
`uninlined_format_args` should have stayed in `pedantic`
#15151 opened
Jun 26, 2025 -
std-instead-of-core: crate change is suggested even though not all items come from the new crate
#15143 opened
Jun 25, 2025 -
`option_if_let_else` does not take into account automatic temporary lifetime extension
#15142 opened
Jun 25, 2025 -
`borrow-as-ptr` causes type change
#15141 opened
Jun 25, 2025 -
clippy::neg_multiply results in inconsistent code
#15139 opened
Jun 25, 2025 -
`needless_pass_by_value` lint does not trigger on `async fn`
#15136 opened
Jun 25, 2025 -
make let-chains collapsable-if allow-by-default
#15134 opened
Jun 25, 2025 -
support function arguments in `source-item-ordering`
#15132 opened
Jun 25, 2025 -
sort integer suffix as a whole number rather than by individual digits in `arbitrary_source_item_ordering`
#15129 opened
Jun 25, 2025 -
Allow all lints to be configured via `clippy.toml`
#15128 opened
Jun 25, 2025 -
cast_slice_from_raw_parts not triggered for equivalent cast-less conversions
#15127 opened
Jun 25, 2025 -
Suggest removing "empty" `format!` for types that implement `fmt::Display`
#15121 opened
Jun 24, 2025 -
Usage of safe decl macros that contain unsafe trigger unsafe_derive_deserialize
#15120 opened
Jun 24, 2025 -
iter_with_drain suggestion causes lifetime/ownership error
#15119 opened
Jun 23, 2025 -
clippy::disallowed_script_idents has false positive if there is an _ underscore in the ident
#15116 opened
Jun 23, 2025 -
blocks_in_conditions suggests a fix which breaks code due to lifetime extension rules
#15112 opened
Jun 23, 2025 -
[return_and_then] False Positive on Nightly
#15111 opened
Jun 23, 2025 -
`clippy::all` is not all
#15108 opened
Jun 22, 2025 -
`search_is_some` suggests broken code when match guard is present
#15102 opened
Jun 22, 2025 -
`large_stack_frames`: unsilenceable diagnostic about compiler-generated functions
#15099 opened
Jun 21, 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.
-
WIP: New lint: `needless_path_new`
#14895 commented on
Jun 27, 2025 • 29 new comments -
Add ifs_as_logical_ops lint
#14904 commented on
Jun 24, 2025 • 6 new comments -
Fix `match_single_binding` wrongly handles scope
#15060 commented on
Jun 24, 2025 • 2 new comments -
Add new lint: `std_wildcard_imports`
#14868 commented on
Jun 24, 2025 • 2 new comments -
Refactor `useless_vec` lint
#14503 commented on
Jun 21, 2025 • 1 new comment -
`legacy_numeric_constants` spans are a bit off, synatx error due to misssing `)`
#15008 commented on
Jun 28, 2025 • 0 new comments -
False positive for `infinite_loop` inside `async` block in function
#14000 commented on
Jun 28, 2025 • 0 new comments -
Prefixed attributes are not detected as duplicated
#14942 commented on
Jun 28, 2025 • 0 new comments -
Explicitly add `::`/`self::` on full path and import path
#13750 commented on
Jun 27, 2025 • 0 new comments -
Lint Suboptimal Expression Order
#1193 commented on
Jun 27, 2025 • 0 new comments -
Warn when casting double indirection pointer to single indirection (e.g. `*const *const i8` to `*const i8`)
#9877 commented on
Jun 27, 2025 • 0 new comments -
disallow `from_exposed_addr(ptr.addr())`
#10383 commented on
Jun 27, 2025 • 0 new comments -
lint idea: `useless_default_generic_parameters`
#14848 commented on
Jun 27, 2025 • 0 new comments -
lint single byte char regex count
#1385 commented on
Jun 27, 2025 • 0 new comments -
false positive on chained re-exports of ffi C types with `disallowed-types` lint
#14880 commented on
Jun 26, 2025 • 0 new comments -
should_implement_trait triggers for next() where the return value has lifetimes
#5004 commented on
Jun 26, 2025 • 0 new comments -
Clippy leaves cargo running in the background on SIGTERM
#4505 commented on
Jun 26, 2025 • 0 new comments -
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 -
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 23, 2025 • 0 new comments -
`parsed_string_literals`: new lint
#14794 commented on
Jun 26, 2025 • 0 new comments -
Closes #259: Adds new lint `items_before_use`
#14985 commented on
Jun 22, 2025 • 0 new comments -
WIP: New lint: `duplicate_match_guard`
#14986 commented on
Jun 24, 2025 • 0 new comments -
or_fun_call: also lint `and` method for Option/Result
#15073 commented on
Jun 21, 2025 • 0 new comments -
or_fun_call: lint method calls inside map_or first arg
#15074 commented on
Jun 22, 2025 • 0 new comments -
Fix `redundant_closure` suggests wrongly with deref overload
#15077 commented on
Jun 25, 2025 • 0 new comments -
New lint: `missing_workspace_lints`
#15092 commented on
Jun 21, 2025 • 0 new comments -
Lint for unused arguments starting with a _
#3219 commented on
Jun 21, 2025 • 0 new comments -
Don't emit ptr_arg warning about unused function arguments
#13728 commented on
Jun 22, 2025 • 0 new comments -
`ptr_arg` should not warn about &mut Vec<T> for underscore prefixed parameters
#13489 commented on
Jun 22, 2025 • 0 new comments -
`ref_as_ptr` suggests using `ptr::from_ref(r)` where it should instead suggest `ptr::from_mut(r)` for `r: &mut T`.
#12882 commented on
Jun 22, 2025 • 0 new comments -
`needless_pass_by_value` cannot be controlled on a single parameter
#12525 commented on
Jun 22, 2025 • 0 new comments -
Shadowing of types via Generic Parameter
#380 commented on
Jun 22, 2025 • 0 new comments -
clippy::cargo lint is applied to sibling crates
#13745 commented on
Jun 23, 2025 • 0 new comments -
suggestions for `unnecessary_map_or` suggest unnecessary parentheses
#14714 commented on
Jun 23, 2025 • 0 new comments -
Stop triggering `similar_names` for 3-character names
#14869 commented on
Jun 23, 2025 • 0 new comments -
`cargo clippy --fix` tries to apply `mul_add` but causes `[E0689]`
#14897 commented on
Jun 24, 2025 • 0 new comments -
Garbage clippy::expect_fun_call lint for result.expect(if b { "" } else { "" })
#15056 commented on
Jun 24, 2025 • 0 new comments -
Suggested lint: avoid passing `&mut _` to `core::ptr::from_ref` and `core::ptr::NonNull::from_ref`
#12883 commented on
Jun 24, 2025 • 0 new comments -
`multiple_crate_versions` lint may not use vendored crates
#11708 commented on
Jun 24, 2025 • 0 new comments -
New lint: `duplicate_match_guard`
#14971 commented on
Jun 24, 2025 • 0 new comments -
Stop suggesting alphabetic arrangement between different types of items (structs vs funcs vs mods etc)
#14875 commented on
Jun 25, 2025 • 0 new comments -
ref-as-ptr causes compiler error
#13910 commented on
Jun 25, 2025 • 0 new comments -
Clippy with `--no-deps` emits unexpected warnings from deps or should have emitted warnings as expected
#13983 commented on
Jun 25, 2025 • 0 new comments -
Clippy wrong detects E0597
#13962 commented on
Jun 25, 2025 • 0 new comments -
Pointer and function pointer casting
#5921 commented on
Jun 25, 2025 • 0 new comments -
"blank issues" template isn't blank
#11276 commented on
Jun 25, 2025 • 0 new comments -
cargo clippy --fix generated broken code
#9583 commented on
Jun 26, 2025 • 0 new comments -
False positive in `unnecessary_to_owned` when a mutable borrow would cause a compiler error
#14918 commented on
Jun 26, 2025 • 0 new comments -
transmute_ptr_to_ref suggestion doesn't with some outer expression types
#1754 commented on
Jun 26, 2025 • 0 new comments -
`cargo clippy`: Provides confusing help on wrong usage
#11676 commented on
Jun 26, 2025 • 0 new comments -
excessive_precision should not lint when it's so excessive as to be clearly intentional
#13855 commented on
Jun 26, 2025 • 0 new comments -
[TRACKING] Highlighted issues for the feature freeze
#15086 commented on
Jun 26, 2025 • 0 new comments -
suspicious-operation-groupings generates a false positive, suggested code doesn't even compile
#7086 commented on
Jun 26, 2025 • 0 new comments -
rc_buffer lint is dangerous as it changes runtime behaviour
#6170 commented on
Jun 26, 2025 • 0 new comments