-
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
28 Pull requests merged by 11 people
-
Fix
missing_inline_in_public_items
FP on functions withextern
#15313 merged
Jul 19, 2025 -
Fix
filter_map_bool_then
wrongly suggests macro definitions#15048 merged
Jul 19, 2025 -
Fix
needless_range_loop
FP on array literals#15314 merged
Jul 19, 2025 -
Simplify
must_use_candidate
spans#15310 merged
Jul 19, 2025 -
Remove unused option
None
forLEVEL_FILTERS_DEFAULT
#15315 merged
Jul 19, 2025 -
Fix
empty_with_brackets
span handling#15311 merged
Jul 19, 2025 -
Warn about
const
instability wrt MSRV#15297 merged
Jul 18, 2025 -
Warn about types not meeting MSRV
#15296 merged
Jul 17, 2025 -
Fix
ptr_as_ptr
suggests wrongly with turbo fish#15289 merged
Jul 16, 2025 -
Propose to exchange ranges only when it is safe to do so
#14432 merged
Jul 16, 2025 -
Various improvements to the
incompatible_msrv
lint#14433 merged
Jul 16, 2025 -
Move
uninlined_format_args
topedantic
#15287 merged
Jul 16, 2025 -
Fix
ptr_arg
suggests changes when it's actually better not to bother#15105 merged
Jul 16, 2025 -
Get myself off assignment rotation
#15288 merged
Jul 16, 2025 -
unsafe_derive_deserialize
: do not considerpin!()
asunsafe
#15137 merged
Jul 16, 2025 -
Don't trigger
unused_trait_names
in macros#14947 merged
Jul 16, 2025 -
Use
$RUSTC
instead ofrustc
to get version if var is available#15250 merged
Jul 15, 2025 -
Use 10000
Ty::is_fn
instead of manually matching onTyKind
#15089 merged
Jul 15, 2025 -
gh-pages: reduce page size by skipping spaces
#15278 merged
Jul 15, 2025 -
fix suggestion causes error of
needless_for_each
#15262 merged
Jul 15, 2025 -
useless_conversion
: move all the impl to the same lint pass#15274 merged
Jul 14, 2025 -
ineffective_open_options
: removemethod_call
use#15271 merged
Jul 14, 2025 -
Fix expect_fun_call producing invalid suggestions
#15122 merged
Jul 14, 2025 -
Fix manual is multiple of
#15205 merged
Jul 14, 2025 -
Fix
manual_assert
suggests wrongly for macros#15264 merged
Jul 14, 2025 -
fix false negative of
expect_used
#15253 merged
Jul 14, 2025 -
Fix
manual_abs_diff
suggests wrongly behind refs#15265 merged
Jul 14, 2025 -
Update manual_is_variant_and documentation to include equality comparison
#15239 merged
Jul 13, 2025
17 Pull requests opened by 7 people
-
Fix `as_ptr_cast_mut` FP when `self` is not mutable
#15266 opened
Jul 13, 2025 -
Fix `if_then_some_else_none` FP when require type coercion
#15267 opened
Jul 13, 2025 -
WIP: `map_identity`: suggest making the variable mutable when necessary
#15268 opened
Jul 13, 2025 -
`clippy_dev`: changes to parsing code
#15270 opened
Jul 14, 2025 -
Do not run lintcheck summary on feature-freezed PRs
#15272 opened
Jul 14, 2025 -
Fix `min_ident_chars`: ignore on trait impl.
#15275 opened
Jul 14, 2025 -
`redundant_clone`: split iterator checks into `redundant_iter_cloned`
#15277 opened
Jul 15, 2025 -
`unused_enumerate_index`: move to loops lint pass
#15279 opened
Jul 15, 2025 -
Split methods pass into a new crate take 2
#15280 opened
Jul 15, 2025 -
Split loops pass into a new crate
#15291 opened
Jul 16, 2025 -
Split matches pass into a new crate
#15292 opened
Jul 16, 2025 -
Split casts pass into a new crate
#15293 opened
Jul 16, 2025 -
Split early lints into a new crate
#15294 opened
Jul 16, 2025 -
Fix `string_to_string` wrongly suggests `cloned` inside `map`
#15302 opened
Jul 17, 2025 -
Fix suggestion for `collapsible_if` and `collapsible_else_if` when the inner `if` is enclosed in parentheses
#15304 opened
Jul 17, 2025 -
fix: ignore pattern_type_mismatch when external macro owns the match
#15306 opened
Jul 17, 2025 -
Fix `unused_async` FP on function with `todo!`
#15308 opened
Jul 18, 2025
23 Issues closed by 10 people
-
missing_inline_in_public_items: false positive on externally exported function
#15301 closed
Jul 19, 2025 -
`filter_map_bool_then` should not show the macro definition in suggestions
#15047 closed
Jul 19, 2025 -
needless_range_loop doesn't recognize anonymous arrays
#15309 closed
Jul 19, 2025 -
`ptr-as-ptr` suggestion syntax error
#15283 closed
Jul 16, 2025 -
range_minus_one changes range type and causes type error
#9908 closed
Jul 16, 2025 -
incompatible_msrv false positive: enabled unstable feature
#14425 closed
Jul 16, 2025 -
`uninlined_format_args` should have stayed in `pedantic`
#15151 closed
Jul 16, 2025 -
`ptr_arg` should not warn about &mut Vec<T> for underscore prefixed parameters
#13489 closed
Jul 16, 2025 -
Don't emit ptr_arg warning about unused function arguments
#13728 closed
Jul 16, 2025 -
Usage of safe decl macros that contain unsafe trigger unsafe_derive_deserialize
#15120 closed
Jul 16, 2025 -
FP unused_trait_names
#14924 closed
Jul 16, 2025 -
Build script triggers rustup toolchain installation
#15249 closed
Jul 15, 2025 -
Compiler panic bug report
#15276 closed
Jul 15, 2025 -
`needless-for-each` expands macros in suggestion
#15256 closed
Jul 15, 2025 -
Garbage clippy::expect_fun_call lint for result.expect(if b { "" } else { "" })
#15056 closed
Jul 14, 2025 -
Smarter clippy::manual_is_multiple_of ?
#15203 closed
Jul 14, 2025 -
`manual_is_multiple_of` triggers on arbitrary types implementing `Rem` and outputing an integer
#15204 closed
Jul 14, 2025 -
`manual-assert` mishandles `if macro! { panic!() }`
#15227 closed
Jul 14, 2025 -
`expect_used` doesnt trigger for `.ok().expect("...")`
#15247 closed
Jul 14, 2025 -
manual_abs_diff suggested fix doesn't work for borrowed values
#15254 closed
Jul 14, 2025 -
Pointer and function pointer casting
#5921 closed
Jul 13, 2025 -
`manual_is_variant_and` documentation doesn't mention all linted cases
#15217 closed
Jul 13, 2025
18 Issues opened by 17 people
-
False Positive `useless_attribute` with `#[expect(redundant_imports)]`
#15316 opened
Jul 19, 2025 -
Cannot `allow(clippy::disallowed_macros)` inside of a macro expansion?
#15312 opened
Jul 18, 2025 -
Failure to correctly apply fixes for clippy::map_entry
#15307 opened
Jul 18, 2025 -
unused_async triggers on stubs with todo!()
#15305 opened
Jul 17, 2025 -
incorrect fix for `collapsable_if` and `collapsable_else_if` when inner `if` is wrapped in parens
#15303 opened
Jul 17, 2025 -
Clippy `string-to-string` `--fix` generates broken code
#15300 opened
Jul 17, 2025 -
boolean to integer conversion multiple passes and error
#15299 opened
Jul 17, 2025 -
Clippy generates invalid code
#15298 opened
Jul 16, 2025 -
Lint for using `LazyLock` in a non-static context
#15295 opened
Jul 16, 2025 -
IIFE closure extension temporary value
#15290 opened
Jul 16, 2025 -
Documentation of `cast_sign_loss` does not cover floating point
#15286 opened
Jul 16, 2025 -
Custom handling for const-stability of assign operators in `assign_op_pattern` lint should be removed
#15285 opened
Jul 16, 2025 -
assertions_on_constants
#15284 opened
Jul 15, 2025 -
`as_underscore` async closure suggestion tricky
#15282 opened
Jul 15, 2025 -
`as-pointer-underscore` suggests `*const fn() -> u32 {foo}`
#15281 opened
Jul 15, 2025 -
proc macro results in clippy treating a method starting with "r" as a raw string
#15273 opened
Jul 14, 2025 -
match_single_binding suggests code with invalid syntax
#15269 opened
Jul 13, 2025 -
New lint: reproducible build hazards
#15263 opened
J F014 ul 13, 2025
39 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 `never_loop` forget to remove `break` in suggestion
#15064 commented on
Jul 20, 2025 • 9 new comments -
Fix `large_stack_frames` FP on compiler generated targets
#15101 commented on
Jul 14, 2025 • 4 new comments -
Fixed issue #15192
#15241 commented on
Jul 19, 2025 • 3 new comments -
Fix `search_is_some` suggests wrongly inside macro
#15135 commented on
Jul 14, 2025 • 3 new comments -
WIP: New lint: `needless_path_new`
#14895 commented on
Jul 14, 2025 • 3 new comments -
Add new `comment_within_doc` lint
#15260 commented on
Jul 16, 2025 • 2 new comments -
Remove CSS bootstrap dependency
#15251 commented on
Jul 15, 2025 • 2 new comments -
Fix `match_single_binding` wrongly handles scope
#15060 commented on
Jul 17, 2025 • 2 new comments -
Add lint unnecessary_option_map_or_else
#14662 commented on
Jul 13, 2025 • 1 new comment -
Fix capacity overflow in `single_match` with deref patterns
#15124 commented on
Jul 20, 2025 • 1 new comment -
Rewrite `lifetimes` lint pass
#14715 commented on
Jul 17, 2025 • 0 new comments -
Snippet rework
#14724 commented on
Jul 19, 2025 • 0 new comments -
Rework `missing_docs_in_private_items`
#14741 commented on
Jul 19, 2025 • 0 new comments -
Rework `module_inception`
#14753 commented on
Jul 17, 2025 • 0 new comments -
Fix `iter_on_single_items` FP on function pointers and let stmts
#15013 commented on
Jul 14, 2025 • 0 new comments -
Fix `redundant_closure` suggests wrongly with deref overload
#15077 commented on
Jul 14, 2025 • 0 new comments -
Fix `let_unit_value` suggests wrongly for format macros
#15085 commented on
Jul 14, 2025 • 0 new comments -
fixes #14869
#15100 commented on
Jul 15, 2025 • 0 new comments -
fix(manual_assert): use multipart suggestion instead of simple span_suggestion
#15226 commented on
Jul 14, 2025 • 0 new comments -
`{flat_,}map_identity`: recognize (tuple) struct de- and restructuring
#15261 commented on
Jul 13, 2025 • 0 new comments -
[TRACKING] Highlighted issues for the feature freeze
#15086 commented on
Jul 14, 2025 • 0 new comments -
`map_entry` lint fires even when else block takes ownership of key
#15233 commented on
Jul 14, 2025 • 0 new comments -
`clone-on-ref-ptr` could suggest `std::sync::Arc` when `Arc` is not in scope
#15258 commented on
Jul 15, 2025 • 0 new comments -
FP `ptr-cast-constness`
#11317 commented on
Jul 15, 2025 • 0 new comments -
`cargo clippy`: Provides confusing help on wrong usage
#11676 commented on
Jul 15, 2025 • 0 new comments -
unnecessary_to_owned causes type mismatch
#8929 commented on
Jul 16, 2025 • 0 new comments -
Auto fixes of `single_char_pattern` might fail to compile
#14893 commented on
Jul 17, 2025 • 0 new comments -
Whether or not the `drain_collect` lint suggestion is an improvement is context dependent
#12410 commented on
Jul 17, 2025 • 0 new comments -
ICE in zero_sized_map_values
#14972 commented on
Jul 17, 2025 • 0 new comments -
Add `allow-disallowed-*-in-tests` configuration items
#13790 commented on
Jul 17, 2025 • 0 new comments -
[Feature] Generate and publish JSON Schema for Clippy Config
#13868 commented on
Jul 17, 2025 • 0 new comments -
`single_match` shouldn't warn when matching on an explicit type
#13371 commented on
Jul 18, 2025 • 0 new comments -
`clippy::non_canonical_partial_ord_impl` warns for canonical forwarding implementation
#14149 commented on
Jul 18, 2025 • 0 new comments -
Suggest to replace `int_as_float.log{|2|10}().floor() as u32` with `int.ilog{|2|10}()`
#13699 commented on
Jul 18, 2025 • 0 new comments -
New Lint: No recursion without tail calls
#1678 commented on
Jul 20, 2025 • 0 new comments -
Add lint `could_be_unsized`
#8526 commented on
Jul 18, 2025 • 0 new comments -
Rewrite config parsing for better span support
#13084 commented on
Jul 18, 2025 • 0 new comments -
Extend `implicit_clone` to handle `to_string` calls
#14177 commented on
Jul 17, 2025 • 0 new comments -
Clarify that `.contains` is only sometimes more efficient
#14710 commented on
Jul 16, 2025 • 0 new comments