-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Insights: rust-lang/rust-clippy
Overview
26 Pull requests merged by 13 people
-
fix suggestion-causes-error of
print_literal
andwrite_literal
#14961 merged
Jun 4, 2025 -
Use interned strings when possible, for efficiency purposes
#14963 merged
Jun 4, 2025 -
Lint reversed ordering in partial ord impl
#14945 merged
Jun 3, 2025 -
missing_const_for_fn
: consider constness of instance#14759 merged
Jun 3, 2025 -
zombie_processes
: do not complain about early early returns#14912 merged
Jun 3, 2025 -
Test that all interned symbols are referenced in Clippy sources
#14842 merged
Jun 2, 2025 -
Use
None::<u64>
instead of0
to denote an absence of value#14957 merged
Jun 2, 2025 -
add lint
infallible_try_from
#14813 merged
Jun 2, 2025 -
Fix
semicolon_outside_block
suggests wrongly when inside macros#14954 merged
Jun 2, 2025 -
chore: replace smart quote with straight quote in update_lints comment
#14949 merged
Jun 1, 2025 -
Do not count deprecated lints in lint total
#14948 merged
Jun 1, 2025 -
Use interned symbols instead of strings in more places
#14855 merged
Jun 1, 2025 -
new restriction lint: pointer_format
#14792 merged
Jun 1, 2025 -
Rustup
#14938 merged
May 31, 2025 -
Fix
dbg_macro
fail to handle async coroutine desugar#14937 merged
May 31, 2025 -
[
explicit_deref_methods
]: do not lint on method chains#14921 merged
May 30, 2025 -
Correct code comments
#14920 merged
May 30, 2025 -
docs(trait_checking): import the right function
#14891 merged
May 30, 2025 -
clean-up
modulo_arithmetic
#14898 merged
May 30, 2025 -
Show total count lints
#14901 merged
May 30, 2025 -
Improve wording of
manual_contains
docs#14917 merged
May 29, 2025 -
while_let_loop
: Includelet
assignment in suggestion#14756 merged
May 28, 2025 -
Optimize
unit_return_expecting_ord
#14905 merged
May 28, 2025 -
needless_return
: look insideelse if
parts as well#14798 merged
May 28, 2025 -
[book] fix the trait checking example code
#14908 merged
May 28, 2025 -
Mark myself as on vacation until June 30
#14909 merged
May 28, 2025
14 Pull requests opened by 8 people
-
Fix `branches_sharing_code` suggests wrongly when dealing with macros
#14907 opened
May 28, 2025 -
Remove incremental test, disable incremental for cargo tests
#14910 opened
May 28, 2025 -
Correct the Cognitive Complexity lint's documentation
#14915 opened
May 29, 2025 -
Add Triagebot's `concern` capability to the Clippy repository
#14916 opened
May 29, 2025 -
New redundant boxed types lint
#14919 opened
May 30, 2025 -
Automatically set MSRV for code under `#[cfg(version)]`
#14940 opened
May 31, 2025 -
Fix `unused_trait_names` FP when `as` name is from macro input
#14947 opened
Jun 1, 2025 -
Fix `return_and_then` FP when return type is not `Option` or `Result`
#14950 opened
Jun 1, 2025 -
Add `default_box_assignments` lint
#14953 opened
Jun 2, 2025 -
Fix `unnecessary_debug_formatting` FP inside `Debug` impl
#14955 opened
Jun 2, 2025 -
Fix false positive for unused_unit
#14962 opened
Jun 3, 2025 -
Do not recurse indefinitely while checking for inner mutability
#14965 opened
Jun 4, 2025 -
Fix an incorrect error message regarding the size of `usize` and `isize` in `cast_precision_loss`.
#14966 opened
Jun 4, 2025 -
Fix false positive of `borrow_deref_ref`
#14967 opened
Jun 4, 2025
11 Issues closed by 6 people
-
FP print_literal
#14930 closed
Jun 4, 2025 -
`non_canonical_partial_ord_impl` will not lint reversed ordering
#14574 closed
Jun 3, 2025 -
[False Positive] Regarding adding const to a function that can't be const
#14658 closed
Jun 3, 2025 -
"spawned process is not `wait()`ed on in all code paths" when `?` used in chain call before `spawn()`
#14911 closed
Jun 3, 2025 -
Lint TryFrom with infalliable error type
#2144 closed
Jun 2, 2025 -
FP semicolon_outside_block: macro
#14926 closed
Jun 2, 2025 -
multiple rev()'s on one iterator
#14939 closed
May 31, 2025 -
dbg_macro lint causes an ICE when used inside an async closure
#14914 closed
May 31, 2025 -
False-positive `explicit_deref_methods` on method chains
#14593 closed
May 30, 2025 -
Warning if levels of indentation exceeds, say, 4
#2169 closed
May 28, 2025 -
`while_let_loop` fails to account for lifetimes
#362 closed
May 28, 2025
25 Issues opened by 16 people
-
New lint for platform-dependent or nondeterministic float operations
#14964 opened
Jun 3, 2025 -
New lint: `out_of_bound_slice_operation`
#14960 opened
Jun 3, 2025 -
Applying manual_clamp lint results in slower code
#14959 opened
Jun 2, 2025 -
`disallowed_names` triggers within external macro generated code
#14958 opened
Jun 2, 2025 -
unnecessary_debug_formatting does not respect MSRV
#14952 opened
Jun 2, 2025 -
Lint Suggestion: Useless ::{self}
#14951 opened
Jun 1, 2025 -
Suggestion of `collect_push_then_iter` for iterators
#14946 opened
Jun 1, 2025 -
`manual_div_ceil` suggestion can result in worse generated code
#14944 opened
Jun 1, 2025 -
Lint Suggestion: Pointer offset with vec reference
#14943 opened
May 31, 2025 -
Prefixed attributes are not detected as duplicated
#14942 opened
May 31, 2025 -
comparison_chain vs. const generics
#14936 opened
May 30, 2025 -
Stack overflow when using recursive type and conditions
#14935 opened
May 30, 2025 -
FP borrow_deref_ref
#14934 opened
May 30, 2025 -
FP explicit_deref_methods mutability
#14933 opened
May 30, 2025 -
FP identity_op does not catch type hint is needed
#14932 opened
May 30, 2025 -
FP manual_swap : mutability mismatch
#14931 opened
May 30, 2025 -
range_zip_with_len causes type mismatch
#14929 opened
May 30, 2025 -
FP redundant_pattern lifetime mismatch
#14928 opened
May 30, 2025 -
FP return_and_then
#14927 opened
May 30, 2025 -
FP single_match_else (lifetimes)
#14925 opened
May 30, 2025 -
FP unused_trait_names
#14924 opened
May 30, 2025 -
Move `excessive_nesting` to `pedantic`
#14923 opened
May 30, 2025 -
[Feature] Hierarchical allow/deny configuration like `.cargo/config.toml`
#14922 opened
May 30, 2025 -
False positive in `unnecessary_to_owned` when a mutable borrow would cause a compiler error
#14918 opened
May 30, 2025 -
Suggestion of `explicit_infinite_iterator` for `OneSidedRange`
#14913 opened
May 28, 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.
-
Introduce coerce_container_to_any
#14812 commented on
Jun 2, 2025 • 6 new comments -
Fix `collapsible_else_if` FP on conditionally compiled stmt
#14906 commented on
May 31, 2025 • 4 new comments -
Add ifs_as_logical_ops lint
#14904 commented on
Jun 3, 2025 • 4 new comments -
WIP: New lint: `needless_path_new`
#14895 commented on
Jun 3, 2025 • 3 new comments -
fix(or_fun_call): respect MSRV for unwrap_or_default suggestion
#14885 commented on
May 31, 2025 • 3 new comments -
Add new lint: `std_wildcard_imports`
#14868 commented on
Jun 4, 2025 • 3 new comments -
doc_suspicious_footnotes: lint text that looks like a footnote
#14708 commented on
Jun 2, 2025 • 2 new comments -
Misc `clippy_dev` changes
#14896 commented on
May 30, 2025 • 1 new comment -
Add lint unnecessary_option_map_or_else
#14662 commented on
Jun 1, 2025 • 1 new comment -
Prepare to split `clippy_lints`
#14684 commented on
Jun 1, 2025 • 1 new comment -
Add `manual_as_slice` lint
#14809 commented on
Jun 3, 2025 • 1 new comment -
Restriction lint for constructing a type with a Drop impl from a raw pointer
#5954 commented on
May 28, 2025 • 0 new comments -
Add relative_path_in_macro_definition lint (#14472) #14645
#14648 commented on
May 31, 2025 • 0 new comments -
Rework `module_inception`
#14753 commented on
Jun 1, 2025 • 0 new comments -
`parsed_string_literals`: new lint
#14794 commented on
May 29, 2025 • 0 new comments -
WIP: add unnecessary_split_off lint
#14814 commented on
Jun 3, 2025 • 0 new comments -
Add lint `long_variable_names`
#14818 commented on
Jun 2, 2025 • 0 new comments -
Add `allow-invalid` configuration option for `disallowed_*` to the documentation
#14845 commented on
May 29, 2025 • 0 new comments -
add new lint: `ip_constant`
#14878 commented on
Jun 3, 2025 • 0 new comments -
Fix `unit_arg` suggests wrongly for `Default::default`
#14881 commented on
Jun 1, 2025 • 0 new comments -
test `to_string_in_format_args_incremental` fails in a read-only working directory
#11126 commented on
May 28, 2025 • 0 new comments -
[Tracking issue] Lints that are not grouped
#11493 commented on
May 29, 2025 • 0 new comments -
[Roadmap] Lint groups
#6626 commented on
May 29, 2025 • 0 new comments -
Lint against inconsistent import paths
#12878 commented on
Jun 2, 2025 • 0 new comments -
Lint: Implicit Deref
#1225 commented on
Jun 2, 2025 • 0 new comments -
false positive: redundant_closure Failed to compile after replacing the closure with the function itself
#13094 commented on
Jun 2, 2025 • 0 new comments -
improve collapsible if in complex cases with same expressions
#812 commented on
Jun 3, 2025 • 0 new comments -
manual_async_fn suggests code with incompatible lifetimes
#14372 commented on
Jun 3, 2025 • 0 new comments -
Incorrect clippy::derivable_impls in the presence of conditional compilation
#13160 commented on
Jun 3, 2025 • 0 new comments -
Suggest `pub extern foo;` if any part of `foo` is in this crate's public API
#3553 commented on
Jun 3, 2025 • 0 new comments -
incompatible_msrv doesn't respect #[cfg(version(...))]
#14827 commented on
Jun 3, 2025 • 0 new comments -
lint idea: `useless_default_generic_parameters`
#14848 commented on
Jun 4, 2025 • 0 new comments -
New lint: `unit_as_impl_trait`
#13925 commented on
Jun 2, 2025 • 0 new comments -
New lint: `borrow_mutable_copy`
#13984 commented on
Jun 2, 2025 • 0 new comments -
fn_to_numeric_cast_any: Do not warn cast to raw pointer
#14109 commented on
May 28, 2025 • 0 new comments -
`cast_lossless`: lint when converting `usize`, `isize`, `char` and float as well
#14470 commented on
Jun 2, 2025 • 0 new comments -
[Minor perf] Avoid unnecessary allocations
#14509 commented on
May 28, 2025 • 0 new comments -
Emit disallowed_names lint for functions
#14601 commented on
Jun 1, 2025 • 0 new comments -
New lint: manual_exhaustive_pattern (#14518)
#14632 commented on
Jun 3, 2025 • 0 new comments