@@ -6,7 +6,103 @@ document.
66
77## Unreleased / Beta / In Rust Nightly
88
9- [ 92b4b68...master] ( https://github.com/rust-lang/rust-clippy/compare/92b4b68...master )
9+ [ 500e0ff...master] ( https://github.com/rust-lang/rust-clippy/compare/500e0ff...master )
10+
11+ ## Rust 1.94
12+
13+ Current stable, released 2026-03-05
14+
15+ [ View all 94 merged pull requests] ( https://github.com/rust-lang/rust-clippy/pulls?q=merged%3A2025-11-29T21%3A01%3A29Z..2026-01-08T20%3A33%3A22Z+base%3Amaster )
16+
17+ ### New Lints
18+
19+ * Added [ ` same_length_and_capacity ` ] to ` pedantic `
20+ [ #15656 ] ( https://github.com/rust-lang/rust-clippy/pull/15656 )
21+ * Added [ ` manual_ilog2 ` ] to ` pedantic `
22+ [ #15865 ] ( https://github.com/rust-lang/rust-clippy/pull/15865 )
23+ * Added [ ` needless_type_cast ` ] to ` nursery `
24+ [ #16139 ] ( https://github.com/rust-lang/rust-clippy/pull/16139 )
25+ * Added [ ` ptr_offset_by_literal ` ] to ` pedantic `
26+ [ #15606 ] ( https://github.com/rust-lang/rust-clippy/pull/15606 )
27+ * Added [ ` decimal_bitwise_operands ` ] to ` pedantic `
28+ [ #15215 ] ( https://github.com/rust-lang/rust-clippy/pull/15215 )
29+
30+ ### Moves and Deprecations
31+
32+ * Moved [ ` multiple_bound_locations ` ] from ` suspicious ` to ` style `
33+ [ #16302 ] ( https://github.com/rust-lang/rust-clippy/pull/16302 )
34+ * Moved [ ` collapsible_else_if ` ] from ` style ` to ` pedantic `
35+ [ #16211 ] ( https://github.com/rust-lang/rust-clippy/pull/16211 )
36+ * Moved [ ` needless_type_cast ` ] from ` pedantic ` to ` nursery `
37+ [ #16246 ] ( https://github.com/rust-lang/rust-clippy/pull/16246 )
38+
39+ ### Enhancements
40+
41+ * [ ` never_loop ` ] do not consider ` return ` as preventing the iterator from looping; lint diverging
42+ iterator reduction closures like ` for_each ` and ` fold `
43+ [ #16364 ] ( https://github.com/rust-lang/rust-clippy/pull/16364 )
44+ * [ ` single_range_in_vec_init ` ] don't apply the suggestion automatically
45+ [ #16365 ] ( https://github.com/rust-lang/rust-clippy/pull/16365 )
46+ * [ ` useless_conversion ` ] refine ` .into_iter() ` suggestions to stop at final target type
47+ [ #16238 ] ( https://github.com/rust-lang/rust-clippy/pull/16238 )
48+ * Multiple lints fix wrongly unmangled macros
49+ [ #16337 ] ( https://github.com/rust-lang/rust-clippy/pull/16337 )
50+ * [ ` large_stack_arrays ` ] do not warn for libtest harness
51+ [ #16347 ] ( https://github.com/rust-lang/rust-clippy/pull/16347 )
52+ * [ ` derive_ord_xor_partial_ord ` ] allow ` expect ` on ` impl ` block
53+ [ #16303 ] ( https://github.com/rust-lang/rust-clippy/pull/16303 )
54+ * [ ` match_bool ` ] restrict to 2 arms
55+ [ #16333 ] ( https://github.com/rust-lang/rust-clippy/pull/16333 )
56+ * [ ` multiple_inherent_impl ` ] fix false negatives for generic impl blocks
57+ [ #16284 ] ( https://github.com/rust-lang/rust-clippy/pull/16284 )
58+ * [ ` unnecessary_fold ` ] warn about semantics change and lint ` Add::add ` /` Mul::mul ` folds
59+ [ #16324 ] ( https://github.com/rust-lang/rust-clippy/pull/16324 )
60+ * [ ` transmuting_null ` ] check const blocks and const integer casts
61+ [ #16260 ] ( https://github.com/rust-lang/rust-clippy/pull/16260 )
62+ * [ ` needless_pass_by_ref_mut ` ] preserve user-provided lifetime information
63+ [ #16273 ] ( https://github.com/rust-lang/rust-clippy/pull/16273 )
64+ * [ ` while_let_on_iterator ` ] use reborrow for non-` Sized ` trait references
65+ [ #16100 ] ( https://github.com/rust-lang/rust-clippy/pull/16100 )
66+ * [ ` collapsible_else_if ` ] prevent emitting when arms only ` if {..} else {..} `
67+ [ #16286 ] ( https://github.com/rust-lang/rust-clippy/pull/16286 )
68+ * [ ` multiple_unsafe_ops_per_block ` ] count only towards innermost unsafe block
69+ [ #16117 ] ( https://github.com/rust-lang/rust-clippy/pull/16117 )
70+ * [ ` manual_saturating_arithmetic ` ] lint ` x.checked_sub(y).unwrap_or_default() `
71+ [ #15845 ] ( https://github.com/rust-lang/rust-clippy/pull/15845 )
72+ * [ ` transmute_ptr_to_ref ` ] handle pointer in struct
73+ [ #15948 ] ( https://github.com/rust-lang/rust-clippy/pull/15948 )
74+ * [ ` disallowed_methods ` ] skip compiler-generated code
75+ [ #16186 ] ( https://github.com/rust-lang/rust-clippy/pull/16186 )
76+ * [ ` missing_enforced_import_renames ` ] do not enforce for "as _ "
77+ [ #16352 ] ( https://github.com/rust-lang/rust-clippy/pull/16352 )
78+
79+ ### False Positive Fixes
80+
81+ * [ ` double_parens ` ] fix FP on macro repetition patterns
82+ [ #16301 ] ( https://github.com/rust-lang/rust-clippy/pull/16301 )
83+ * [ ` assertions_on_constants ` ] fix false positive when there is non-constant value in condition expr
84+ [ #16297 ] ( https://github.com/rust-lang/rust-clippy/pull/16297 )
85+ * [ ` use_self ` ] fix FP on type in const generics
86+ [ #16172 ] ( https://github.com/rust-lang/rust-clippy/pull/16172 )
87+ * [ ` set_contains_or_insert ` ] fix FP when set is mutated before ` insert `
88+ [ #16009 ] ( https://github.com/rust-lang/rust-clippy/pull/16009 )
89+ * [ ` if_then_some_else_none ` ] fix FP when then block contains ` await `
90+ [ #16178 ] ( https://github.com/rust-lang/rust-clippy/pull/16178 )
91+ * [ ` match_like_matches_macro ` ] fix FP with guards containing ` if let `
92+ [ #15876 ] ( https://github.com/rust-lang/rust-clippy/pull/15876 )
93+ * [ ` tuple_array_conversions ` ] fix FP when binded vars are used before conversion
94+ [ #16197 ] ( https://github.com/rust-lang/rust-clippy/pull/16197 )
95+ * [ ` map_entry ` ] fix FP when it would cause ` MutexGuard ` to be held across await
96+ [ #16199 ] ( https://github.com/rust-lang/rust-clippy/pull/16199 )
97+ * [ ` panicking_unwrap ` ] fix FP on field access with implicit deref
98+ [ #16196 ] ( https://github.com/rust-lang/rust-clippy/pull/16196 )
99+ * [ ` large_stack_frames ` ] fix FP on compiler generated targets
100+ [ #15101 ] ( https://github.com/rust-lang/rust-clippy/pull/15101 )
101+
102+ ### ICE Fixes
103+
104+ * [ ` needless_type_cast ` ] do not ICE on struct constructor
105+ [ #16245 ] ( https://github.com/rust-lang/rust-clippy/pull/16245 )
10106
11107### New Lints
12108
@@ -6705,6 +6801,7 @@ Released 2018-09-13
67056801[ `manual_ok_or` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_ok_or
67066802[ `manual_option_as_slice` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_option_as_slice
67076803[ `manual_pattern_char_comparison` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_pattern_char_comparison
6804+ [ `manual_pop_if` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_pop_if
67086805[ `manual_range_contains` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains
67096806[ `manual_range_patterns` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_patterns
67106807[ `manual_rem_euclid` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_rem_euclid
0 commit comments