-
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
12 Pull requests merged by 7 people
-
Skip inner ordering checking in presence of
#[repr(…)]
#14610 merged
May 16, 2025 -
Extend
cargo dev rename_lint
#14633 merged
May 16, 2025 -
Rewrite
non_copy_const
#13207 merged
May 16, 2025 -
Reenable linting on UFCS
deref
calls#14808 merged
May 16, 2025 -
unnecessary_wraps
: do not include the whole body in the lint span#14777 merged
May 16, 2025 -
match_same_arms
,ifs_same_cond
: lint once per same arm/condition#14637 merged
May 16, 2025 -
comparison_chain: do not lint on 2 blocks expression
#14811 merged
May 16, 2025 -
Fix false positive of
useless_conversion
when using.into_iter().any()
#14800 merged
May 16, 2025 -
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
13 Pull requests opened by 10 people
-
`needless_return`: look inside `else if` parts as well
#14798 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 -
Add `manual_as_slice` lint
#14809 opened
May 15, 2025 -
`needless_borrow`: do not contradict `dangerous_implicit_autorefs`
#14810 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 -
[WIP] New lint: `matches_instead_of_eq`
#14820 opened
May 16, 2025 -
Verify that versions in the changelog match the lint definitions
#14821 opened
May 16, 2025
7 Issues closed by 4 people
-
FN in clippy::borrow_interior_mutable_const
#12979 closed
May 16, 2025 -
unnecessary_wraps: Annoyingly large span
#14773 closed
May 16, 2025 -
Removing @rust-nofix from match_same_arms requires lint fixes
#13835 closed
May 16, 2025 -
should comparison_chain only trigger for "if x > y {} else if x <y {} else {}" ?
#4725 closed
May 16, 2025 -
[False Positive] About removing a into_iter() from an ops::Range
#14656 closed
May 16, 2025 -
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
10 Issues opened by 10 people
-
Clippy suggestion breaks code when replacing `.last()` with `.next_back()`
#14823 opened
May 17, 2025 -
ICE `unexpected ambiguity: CanonicalQueryInput `
#14822 opened
May 16, 2025 -
Suggest `LOCALHOST`
#14819 opened
May 16, 2025 -
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
42 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.
-
`missing_const_for_fn`: consider constness of instance
#14759 commented on
May 16, 2025 • 4 new comments -
Add relative_path_in_macro_definition lint (#14472) #14645
#14648 commented on
May 16, 2025 • 4 new comments -
doc_suspicious_footnotes: lint text that looks like a footnote
#14708 commented on
May 14, 2025 • 3 new comments -
Make lint span smaller for needless return
#14790 commented on
May 15, 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 -
Josh preparations
#12759 commented on
May 16, 2025 • 0 new comments -
Update book for backport, release and sync
#12762 commented on
May 16, 2025 • 0 new comments -
Extend `implicit_clone` to handle `to_string` calls
#14177 commented on
May 16, 2025 • 0 new comments -
fix: `collapsible_match` suggests ref/derefs when needed
#14221 commented on
May 16, 2025 • 0 new comments -
Create new lints with `#[clippy::version = "nightly"]`
#14299 commented on
May 16, 2025 • 0 new comments -
Do not suggest to use implicit `DerefMut` on `ManuallyDrop` reached through unions
#14387 commented on
May 16, 2025 • 0 new comments -
Propose to exchange ranges only when it is safe to do so
#14432 commented on
May 16, 2025 • 0 new comments -
Check if dropping an expression may have indirect side-effects
#14594 commented on
May 16, 2025 • 0 new comments -
Refactor and speed up `cargo dev fmt`
#14638 commented on
May 16, 2025 • 0 new comments -
Add `global_variables` lint
#14657 commented on
May 16, 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 -
new restriction lint: pointer_format
#14792 commented on
May 16, 2025 • 0 new comments -
`unnecessary_ip_addr_parse`: new lint
#14794 commented on
May 14, 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 -
Needlessly Verbose Replacement Suggestion for `needless_return`
#14750 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 -
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 -
Suggest using `==` instead of `matches!`
#14688 commented on
May 15, 2025 • 0 new comments -
Add lints against more manual integer ops where direct methods exist
#12894 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 16, 2025 • 0 new comments -
`clippy --fix -- -Dwarnings` does not fail on warnings
#13502 commented on
May 16, 2025 • 0 new comments -
False positive for only_used_in_recursion for trait implementations
#14566 commented on
May 16, 2025 • 0 new comments -
unusual_byte_groupings triggers for binary literals
#11749 commented on
May 16, 2025 • 0 new comments -
Avoid reported unsoundness for implied lifetime bounds
#12471 commented on
May 15, 2025 • 0 new comments