@@ -6,7 +6,83 @@ document.
66
77## Unreleased / Beta / In Rust Nightly
88
9- [ e9b7045...master] ( https://github.com/rust-lang/rust-clippy/compare/e9b7045...master )
9+ [ d9fb15c...master] ( https://github.com/rust-lang/rust-clippy/compare/d9fb15c...master )
10+
11+ ## Rust 1.92
12+
13+ Current stable, released 2025-12-11
14+
15+ [ View all 124 merged pull requests] ( https://github.com/rust-lang/rust-clippy/pulls?q=merged%3A2025-09-05T18%3A24%3A03Z..2025-10-16T14%3A13%3A43Z+base%3Amaster )
16+
17+ ### New Lints
18+
19+ * Added [ ` unnecessary_option_map_or_else ` ] to ` suspicious `
20+ [ #14662 ] ( https://github.com/rust-lang/rust-clippy/pull/14662 )
21+ * Added [ ` replace_box ` ] to ` perf `
22+ [ #14953 ] ( https://github.com/rust-lang/rust-clippy/pull/14953 )
23+ * Added [ ` volatile_composites ` ] to ` nursery `
24+ [ #15686 ] ( https://github.com/rust-lang/rust-clippy/pull/15686 )
25+ * Added [ ` self_only_used_in_recursion ` ] to ` pedantic `
26+ [ #14787 ] ( https://github.com/rust-lang/rust-clippy/pull/14787 )
27+ * Added [ ` redundant_iter_cloned ` ] to ` perf `
28+ [ #15277 ] ( https://github.com/rust-lang/rust-clippy/pull/15277 )
29+
30+ ### Moves and Deprecations
31+
32+ * Renamed [ ` unchecked_duration_subtraction ` ] to [ ` unchecked_time_subtraction ` ]
33+ [ #13800 ] ( https://github.com/rust-lang/rust-clippy/pull/13800 )
34+
35+ ### Enhancements
36+
37+ * [ ` mutex_atomic ` ] and [ ` mutex_integer ` ] overhauled to only lint definitions, not uses; added suggestions
38+ and better help messages
39+ [ #15632 ] ( https://github.com/rust-lang/rust-clippy/pull/15632 )
40+ * [ ` manual_rotate ` ] now recognizes non-const rotation amounts
41+ [ #15402 ] ( https://github.com/rust-lang/rust-clippy/pull/15402 )
42+ * [ ` multiple_inherent_impl ` ] added ` inherent-impl-lint-scope ` config option (` module ` , ` file ` ,
43+ or ` crate ` )
44+ [ #15843 ] ( https://github.com/rust-lang/rust-clippy/pull/15843 )
45+ * [ ` use_self ` ] now checks structs and enums
46+ [ #15566 ] ( https://github.com/rust-lang/rust-clippy/pull/15566 )
47+ * [ ` while_let_loop ` ] extended to lint on ` loop { let else } `
48+ [ #15701 ] ( https://github.com/rust-lang/rust-clippy/pull/15701 )
49+ * [ ` mut_mut ` ] overhauled with structured suggestions and improved documentation
50+ [ #15417 ] ( https://github.com/rust-lang/rust-clippy/pull/15417 )
51+ * [ ` nonstandard_macro_braces ` ] now suggests trailing semicolon when needed
52+ [ #15593 ] ( https://github.com/rust-lang/rust-clippy/pull/15593 )
53+ * [ ` ptr_offset_with_cast ` ] now respects MSRV when suggesting fix, and lints more cases
54+ [ #15613 ] ( https://github.com/rust-lang/rust-clippy/pull/15613 )
55+ * [ ` cast_sign_loss ` ] and [ ` cast_possible_wrap ` ] added suggestions using ` cast_{un,}signed() ` methods
56+ (MSRV 1.87+)
57+ [ #15384 ] ( https://github.com/rust-lang/rust-clippy/pull/15384 )
58+ * [ ` unchecked_time_subtraction ` ] extended to include ` Duration - Duration ` operations
59+ [ #13800 ] ( https://github.com/rust-lang/rust-clippy/pull/13800 )
60+ * [ ` filter_next ` ] now suggests replacing ` filter().next_back() ` with ` rfind() ` for
61+ ` DoubleEndedIterator `
62+ [ #15748 ] ( https://github.com/rust-lang/rust-clippy/pull/15748 )
63+
64+ ### False Positive Fixes
65+
66+ * [ ` unnecessary_safety_comment ` ] fixed FPs with comments above attributes
67+ [ #15678 ] ( https://github.com/rust-lang/rust-clippy/pull/15678 )
68+ * [ ` manual_unwrap_or ` ] fixed FP edge case
69+ [ #15812 ] ( https://github.com/rust-lang/rust-clippy/pull/15812 )
70+ * [ ` needless_continue ` ] fixed FP when match type is not unit or never
71+ [ #15547 ] ( https://github.com/rust-lang/rust-clippy/pull/15547 )
72+ * [ ` if_then_some_else_none ` ] fixed FP when return exists in block expr
73+ [ #15783 ] ( https://github.com/rust-lang/rust-clippy/pull/15783 )
74+ * [ ` new_without_default ` ] fixed to copy ` #[cfg] ` onto ` impl Default ` and fixed FP on private type
75+ with trait impl
76+ [ #15720 ] ( https://github.com/rust-lang/rust-clippy/pull/15720 )
77+ [ #15782 ] ( https://github.com/rust-lang/rust-clippy/pull/15782 )
78+ * [ ` question_mark ` ] fixed FP on variables used after
79+ [ #15644 ] ( https://github.com/rust-lang/rust-clippy/pull/15644 )
80+ * [ ` needless_return ` ] fixed FP with ` cfg ` d code after ` return `
81+ [ #15669 ] ( https://github.com/rust-lang/rust-clippy/pull/15669 )
82+ * [ ` useless_attribute ` ] fixed FP on ` deprecated_in_future `
83+ [ #15645 ] ( https://github.com/rust-lang/rust-clippy/pull/15645 )
84+ * [ ` double_parens ` ] fixed FP when macros are involved
85+ [ #15420 ] ( https://github.com/rust-lang/rust-clippy/pull/15420 )
1086
1187## Rust 1.91
1288
@@ -6280,6 +6356,7 @@ Released 2018-09-13
62806356[ `cyclomatic_complexity` ] : https://rust-lang.github.io/rust-clippy/master/index.html#cyclomatic_complexity
62816357[ `dbg_macro` ] : https://rust-lang.github.io/rust-clippy/master/index.html#dbg_macro
62826358[ `debug_assert_with_mut_call` ] : https://rust-lang.github.io/rust-clippy/master/index.html#debug_assert_with_mut_call
6359+ [ `decimal_bitwise_operands` ] : https://rust-lang.github.io/rust-clippy/master/index.html#decimal_bitwise_operands
62836360[ `decimal_literal_representation` ] : https://rust-lang.github.io/rust-clippy/master/index.html#decimal_literal_representation
62846361[ `declare_interior_mutable_const` ] : https://rust-lang.github.io/rust-clippy/master/index.html#declare_interior_mutable_const
62856362[ `default_constructed_unit_structs` ] : https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
@@ -6541,6 +6618,7 @@ Released 2018-09-13
65416618[ `manual_flatten` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_flatten
65426619[ `manual_hash_one` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_hash_one
65436620[ `manual_ignore_case_cmp` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_ignore_case_cmp
6621+ [ `manual_ilog2` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_ilog2
65446622[ `manual_inspect` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_inspect
65456623[ `manual_instant_elapsed` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_instant_elapsed
65466624[ `manual_is_ascii_check` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_ascii_check
@@ -6686,6 +6764,7 @@ Released 2018-09-13
66866764[ `needless_return` ] : https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
66876765[ `needless_return_with_question_mark` ] : https://rust-lang.github.io/rust-clippy/master/index.html#needless_return_with_question_mark
66886766[ `needless_splitn` ] : https://rust-lang.github.io/rust-clippy/master/index.html#needless_splitn
6767+ [ `needless_type_cast` ] : https://rust-lang.github.io/rust-clippy/master/index.html#needless_type_cast
66896768[ `needless_update` ] : https://rust-lang.github.io/rust-clippy/master/index.html#needless_update
66906769[ `neg_cmp_op_on_partial_ord` ] : https://rust-lang.github.io/rust-clippy/master/index.html#neg_cmp_op_on_partial_ord
66916770[ `neg_multiply` ] : https://rust-lang.github.io/rust-clippy/master/index.html#neg_multiply
@@ -6765,6 +6844,7 @@ Released 2018-09-13
67656844[ `ptr_as_ptr` ] : https://rust-lang.github.io/rust-clippy/master/index.html#ptr_as_ptr
67666845[ `ptr_cast_constness` ] : https://rust-lang.github.io/rust-clippy/master/index.html#ptr_cast_constness
67676846[ `ptr_eq` ] : https://rust-lang.github.io/rust-clippy/master/index.html#ptr_eq
6847+ [ `ptr_offset_by_literal` ] : https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_by_literal
67686848[ `ptr_offset_with_cast` ] : https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast
67696849[ `pub_enum_variant_names` ] : https://rust-lang.github.io/rust-clippy/master/index.html#pub_enum_variant_names
67706850[ `pub_underscore_fields` ] : https://rust-lang.github.io/rust-clippy/master/index.html#pub_underscore_fields
@@ -7081,6 +7161,7 @@ Released 2018-09-13
70817161[ `allow-expect-in-consts` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#allow-expect-in-consts
70827162[ `allow-expect-in-tests` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#allow-expect-in-tests
70837163[ `allow-indexing-slicing-in-tests` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#allow-indexing-slicing-in-tests
7164+ [ `allow-large-stack-frames-in-tests` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#allow-large-stack-frames-in-tests
70847165[ `allow-mixed-uninlined-format-args` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#allow-mixed-uninlined-format-args
70857166[ `allow-one-hash-in-raw-strings` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#allow-one-hash-in-raw-strings
70867167[ `allow-panic-in-tests` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#allow-panic-in-tests
0 commit comments