-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Insights: rust-lang/rust-clippy
Overview
Could not load contribution data
Please try again later
24 Pull requests merged by 13 people
-
Rustup
#14815 merged
May 15, 2025 -
clippy_dev
refactor#14616 merged
May 14, 2025 -
Add the
allow_exact_repetitions
option to themodule_name_repetititions
lint#14261 merged
May 14, 2025 -
Post
non_std_lazy_statics
type warnings onto the right node#14740 merged
May 14, 2025 -
Add internal lint
derive_deserialize_allowing_unknown
#14360 merged
May 13, 2025 -
Add new lint:
cloned_ref_to_slice_refs
#14284 merged
May 13, 2025 -
Do not use
clippy_utils
from UI tests#14788 merged
May 12, 2025 -
Update "Changelog update walkthrough" section
#14785 merged
May 12, 2025 -
Fix messages for
type_repetition_in_bounds
#14752 merged
May 12, 2025 -
return_and_then
: only lint returning expressions#14783 merged
May 12, 2025 -
Fix clippy::version of elidable_lifetime_names to 1.87
#14654 merged
May 12, 2025 -
Add new
confusing_method_to_numeric_cast
lint#13979 merged
May 12, 2025 -
Changelog for Clippy 1.87 🦡
#14748 merged
May 12, 2025 -
book: modify FnKind::Fn matching
#14780 merged
May 12, 2025 -
Use
tempfile::TempDir::keep()
instead of deprecatedinto_path()
#14784 merged
May 12, 2025 -
Fix ICE in
missing_const_for_fn
#14776 merged
May 10, 2025 -
Resolve through local re-exports in
lookup_path
#14772 merged
May 10, 2025 -
Fix
unnecessary_unwrap
emitted twice in closure (#14763)#14770 merged
May 10, 2025 -
char::is_digit()
is const-stable only since Rust 1.87#14771 merged
May 9, 2025 -
Fix integer_division false negative for NonZero denominators
#14664 merged
May 9, 2025 -
unwrap.rs
cleanup#14761 merged
May 9, 2025 -
remove superseded lints
#14703 merged
May 9, 2025 -
Allow any rust-lang team member to close an issue with rustbot
#14765 merged
May 9, 2025 -
Use
cargo dev setup toolchain
in install from source docs#14766 merged
May 9, 2025
21 Pull requests opened by 15 people
-
`unnecessary_wraps`: do not include the whole body in the lint span
#14777 opened
May 10, 2025 -
add `impl-ordering-except-fn-names` config field for `arbitrary_source_item_ordering`
#14782 opened
May 11, 2025 -
Add `clippy::self_only_used_in_recursion` lint
#14787 opened
May 12, 2025 -
Make lint span smaller for needless return
#14790 opened
May 12, 2025 -
Emit lint about redundant closure on the closure node itself
#14791 opened
May 12, 2025 -
new restriction lint: pointer_format
#14792 opened
May 13, 2025 -
`unnecessary_ip_addr_parse`: new lint
#14794 opened
May 13, 2025 -
`needless_return`: look inside `else if` parts as well
#14798 opened
May 14, 2025 -
Fix false positive of `useless_conversion` when using `.into_iter().any()`
#14800 opened
May 14, 2025 -
Document how to use `rust-toolchain.toml` to avoid breaking changes (e.g. in CI)
#14803 opened
May 14, 2025 -
Fixes `manual_slice_size_computation` ICE and triggers in `const` context
#14804 opened
May 14, 2025 -
Reenable linting on UFCS `deref` calls
#14808 opened
May 15, 2025 -
changelog: Add `as_slice_instead_of_reference_full_range` lint
#14809 opened
May 15, 2025 -
`needless_borrow`: do not contradict `dangerous_implicit_autorefs`
#14810 opened
May 15, 2025 -
comparison_chain: do not lint on 2 blocks expression
#14811 opened
May 15, 2025 -
WIP: Introduce coerce_any_ref_to_any
#14812 opened
May 15, 2025 -
add lint infallible_try_from
#14813 opened
May 15, 2025 -
WIP: add unnecessary_split_off lint
#14814 opened
May 15, 2025 -
Create summary comment for lintcheck runs
#14816 opened
May 15, 2025 -
[WIP] Trigger absurd_extreme_comparisons if Duration is less than zero
#14817 opened
May 15, 2025 -
Add lint `long_variable_names`
#14818 opened
May 15, 2025
15 Issues closed by 11 people
-
Lint againts items with the same names as their modules
#14226 closed
May 14, 2025 -
`#[expect(clippy::non_std_lazy_statics)]` does not correctly suppress lint on types
#14729 closed
May 14, 2025 -
`arithmetic_side_effects` can't see past literals
#14796 closed
May 14, 2025 -
`dead_code` is emitted for traits shadowed by `std`, even in `no_std`
#14795 closed
May 13, 2025 -
Utils related to `taint analysis` or `dataflow analysis`
#14793 closed
May 13, 2025 -
Clippy doesn't take into account configuration overrides given through `cargo --config` CLI
#14786 closed
May 13, 2025 -
`type-repetition-in-bounds` gives an unhelpful suggestion when lifetimes are involved
#14744 closed
May 12, 2025 -
`return_and_then`: suggests using `?` operator on `Option` in function which returns `Result`
#14781 closed
May 12, 2025 -
`u8::max as usize` instead of `u8::MAX as usize` should warn
#13973 closed
May 12, 2025 -
ICE: attempted to read from stolen value
#14774 closed
May 10, 2025 -
`expected a type, found an import` warning false positive of "disallowed-types"
#14767 closed
May 10, 2025 -
incorrectly emitting 'this could be a `const fn`'
#14775 closed
May 10, 2025 -
`unnecessary_unwrap` emitted twice in closure
#14763 closed
May 10, 2025 -
`integer_division` false negative for `NonZero` denominators
#14652 closed
May 9, 2025 -
`cargo test` can not apply `[lints]` configuration correctly
#14769 closed
May 9, 2025
11 Issues opened by 11 people
-
Deny imports from (configurable) modules
#14807 opened
May 15, 2025 -
Lint against passing &Box<dyn Any> to a function accepting &dyn Any
#14806 opened
May 15, 2025 -
Restriction Lint for static / const arrays filled with a non-zero value
#14805 opened
May 15, 2025 -
Manual Slice Size Calculation with DSTs ICE
#14802 opened
May 14, 2025 -
`bind_instead_of_map` should suggest removing `Result::and_then` call when possible
#14801 opened
May 14, 2025 -
collapsible_else_if disregard platform code in else branch
#14799 opened
May 14, 2025 -
How to get the owner node through a variable's `HirId`
#14797 opened
May 14, 2025 -
Regression of `#[allow(clippy::redundant_closure)]` in Rust 1.82
#14789 opened
May 12, 2025 -
New lint: Prefer `.unwrap_or(0)` over `.unwrap_or_default()`
#14779 opened
May 11, 2025 -
ICE: `explicit deref of non-derefable type`
#14778 opened
May 10, 2025 -
unnecessary_wraps: Annoyingly large span
#14773 opened
May 10, 2025
57 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.
-
[Perf] Optimize documentation lints **a lot** (1/2) (18% -> 10%)
#14693 commented on
May 11, 2025 • 4 new comments -
Fix `needless_for_each` suggests wrongly when closure has no braces
#14735 commented on
May 13, 2025 • 4 new comments -
`missing_const_for_fn`: consider constness of instance
#14759 commented on
May 15, 2025 • 3 new comments -
Add relative_path_in_macro_definition lint (#14472) #14645
#14648 commented on
May 13, 2025 • 3 new comments -
doc_suspicious_footnotes: lint text that looks like a footnote
#14708 commented on
May 14, 2025 • 3 new comments -
Add lint unnecessary_option_map_or_else
#14662 commented on
May 12, 2025 • 2 new comments -
`while_let_loop`: Include `let` assignment in suggestion
#14756 commented on
May 15, 2025 • 1 new comment -
Add new `useless_concat` lint
#13829 commented on
May 14, 2025 • 1 new comment -
Add lints against more manual integer ops where direct methods exist
#12894 commented on
May 15, 2025 • 0 new comments -
Avoid reported unsoundness for implied lifetime bounds
#12471 commented on
May 15, 2025 • 0 new comments -
Suggest using `==` instead of `matches!`
#14688 commented on
May 15, 2025 • 0 new comments -
Which version of librustc_driver clippy uses?
#14764 commented on
May 9, 2025 • 0 new comments -
Rewrite `non_copy_const`
#13207 commented on
May 15, 2025 • 0 new comments -
New lint: `unit_as_impl_trait`
#13925 commented on
May 13, 2025 • 0 new comments -
New lint: `copy_then_borrow_mut`
#13984 commented on
May 13, 2025 • 0 new comments -
fn_to_numeric_cast_any: Do not warn cast to raw pointer
#14109 commented on
May 12, 2025 • 0 new comments -
Extend `implicit_clone` to handle `to_string` calls
#14177 commented on
May 14, 2025 • 0 new comments -
Add new lint [`manual_checked_sub`]
#14236 commented on
May 13, 2025 • 0 new comments -
New lint: `manual_is_multiple_of`
#14292 commented on
May 10, 2025 • 0 new comments -
Create new lints with `#[clippy::version = "nightly"]`
#14299 commented on
May 12, 2025 • 0 new comments -
Caution against `warn(clippy::nursery)`.
#14391 commented on
May 9, 2025 • 0 new comments -
New lint: always_true_conditions
#14434 commented on
May 13, 2025 • 0 new comments -
Emit disallowed_names lint for functions
#14601 commented on
May 12, 2025 • 0 new comments -
`match_same_arms`, `ifs_same_cond`: lint once per same arm/condition
#14637 commented on
May 13, 2025 • 0 new comments -
Extend `manual_is_variant_and lint` to check for boolean map comparisons
#14646 commented on
May 10, 2025 • 0 new comments -
Misc changes
#14702 commented on
May 14, 2025 • 0 new comments -
Snippet rework
#14724 commented on
May 15, 2025 • 0 new comments -
Rework `missing_docs_in_private_items`
#14741 commented on
May 14, 2025 • 0 new comments -
Rework `module_inception`
#14753 commented on
May 14, 2025 • 0 new comments -
`disallowed_macros` false negatives
#11431 commented on
May 9, 2025 • 0 new comments -
Cargo.toml dependencies: avoid caret requirements
#13307 commented on
May 9, 2025 • 0 new comments -
error: expected identifier, found `$`
#14680 commented on
May 9, 2025 • 0 new comments -
ICE on rustdoc test: delay span bug / thread::spawn failed: issue-80992.rs
#8244 commented on
May 10, 2025 • 0 new comments -
`arbitrary_source_item_ordering` should allow sorting constructors first
#14739 commented on
May 11, 2025 • 0 new comments -
`clippy::only_used_in_recursion` considers `self`, but `unused_variables` does not
#10370 commented on
May 11, 2025 • 0 new comments -
lint suggests dropping temporary with significant drop after another function takes ownership of it.
#12128 commented on
May 12, 2025 • 0 new comments -
Getting "unknown lint: `clippy::elidable_lifetime_names`" using clippy 1.85.1
#14653 commented on
May 12, 2025 • 0 new comments -
No span for clippy::large_stack_arrays
#13774 commented on
May 13, 2025 • 0 new comments -
`option_if_let_else` suggested fix is invalidated by borrow checker
#14587 commented on
May 13, 2025 • 0 new comments -
[CI] Use rust-cache@v2 when building on CI
#13033 commented on
May 13, 2025 • 0 new comments -
`dangerous_implicit_autorefs` lint suggestion triggers `clippy::needless_borrow`
#14743 commented on
May 14, 2025 • 0 new comments -
Have a lint against usize-to-u64 casts (or, against *all* integer casts)
#9231 commented on
May 14, 2025 • 0 new comments -
map_clone should not suggest copied() for MSRV < 1.36
#8623 commented on
May 14, 2025 • 0 new comments -
[False Positive] About removing a into_iter() from an ops::Range
#14656 commented on
May 14, 2025 • 0 new comments -
Needlessly Verbose Replacement Suggestion for `needless_return`
#14750 commented on
May 15, 2025 • 0 new comments -
Politely mention that `Box<&T>` is almost the most useless type you can have
#2394 commented on
May 15, 2025 • 0 new comments -
use statements anywhere but top of module
#259 commented on
May 15, 2025 • 0 new comments -
New lint: Prefer mem::take over Vec::split_off(0)
#4953 commented on
May 15, 2025 • 0 new comments -
Suggest usage of `array.as_slice()` (instead of `&array[..]`) and `array.as_mut_slice()`
#7633 commented on
May 15, 2025 • 0 new comments -
Lint for `fold` closure that never moves the accumulator
#6053 commented on
May 15, 2025 • 0 new comments -
Lint TryFrom with infalliable error type
#2144 commented on
May 15, 2025 • 0 new comments -
Using `format!` to add a prefix/suffix to `String` and then never using the original `String` again
#14512 commented on
May 15, 2025 • 0 new comments -
should comparison_chain only trigger for "if x > y {} else if x <y {} else {}" ?
#4725 commented on
May 15, 2025 • 0 new comments -
Lint for unused arguments starting with a _
#3219 commented on
May 15, 2025 • 0 new comments -
Lint non-expressive variable names
#644 commented on
May 15, 2025 • 0 new comments -
Suggest `v.trailing_zeros() == n` over `(v & (1 << n)) != 0`
#1195 commented on
May 15, 2025 • 0 new comments -
`manual_flatten` doesn't follow its suggestion to remove `if let` statement leading to broken code
#14692 commented on
May 15, 2025 • 0 new comments