@@ -8,6 +8,89 @@ document.
88
99[ e9b7045...master] ( https://github.com/rust-lang/rust-clippy/compare/e9b7045...master )
1010
11+ ## Rust 1.91
12+
13+ Current stable, released 2025-10-30
14+
15+ [ View all 146 merged pull requests] ( https://github.com/rust-lang/rust-clippy/pulls?q=merged%3A2025-07-25T21%3A05%3A11Z..2025-09-04T22%3A34%3A27Z+base%3Amaster )
16+
17+ ### New Lints
18+
19+ * Added [ ` possible_missing_else ` ] to ` suspicious `
20+ [ #15317 ] ( https://github.com/rust-lang/rust-clippy/pull/15317 )
21+
22+ ### Moves and Deprecations
23+
24+ * Moved [ ` cognitive_complexity ` ] from ` nursery ` to ` restriction `
25+ [ #15415 ] ( https://github.com/rust-lang/rust-clippy/pull/15415 )
26+ * Moved [ ` declare_interior_mutable_const ` ] from ` style ` to ` suspicious `
27+ [ #15454 ] ( https://github.com/rust-lang/rust-clippy/pull/15454 )
28+ * Moved [ ` crosspointer_transmute ` ] from ` complexity ` to ` suspicious `
29+ [ #15403 ] ( https://github.com/rust-lang/rust-clippy/pull/15403 )
30+
31+ ### Enhancements
32+
33+ * [ ` excessive_precision ` ] added ` const_literal_digits_threshold ` option to suppress overly precise constants.
34+ [ #15193 ] ( https://github.com/rust-lang/rust-clippy/pull/15193 )
35+ * [ ` unwrap_in_result ` ] rewritten for better accuracy; now lints on ` .unwrap() ` and ` .expect() `
36+ directly and no longer mixes ` Result ` and ` Option ` .
37+ [ #15445 ] ( https://github.com/rust-lang/rust-clippy/pull/15445 )
38+ * [ ` panic ` ] now works in ` const ` contexts.
39+ [ #15565 ] ( https://github.com/rust-lang/rust-clippy/pull/15565 )
40+ * [ ` implicit_clone ` ] now also lints ` to_string ` calls (merging [ ` string_to_string ` ] behavior).
41+ [ #14177 ] ( https://github.com/rust-lang/rust-clippy/pull/14177 )
42+ * [ ` collapsible_match ` ] improved suggestions to handle necessary ref/dereferencing.
43+ [ #14221 ] ( https://github.com/rust-lang/rust-clippy/pull/14221 )
44+ * [ ` map_identity ` ] now suggests making variables mutable when required; recognizes tuple struct restructuring.
45+ [ #15261 ] ( https://github.com/rust-lang/rust-clippy/pull/15261 )
46+ * [ ` option_map_unit_fn ` ] preserves ` unsafe ` blocks in suggestions.
47+ [ #15570 ] ( https://github.com/rust-lang/rust-clippy/pull/15570 )
48+ * [ ` unnecessary_mut_passed ` ] provides structured, clearer fix suggestions.
49+ [ #15438 ] ( https://github.com/rust-lang/rust-clippy/pull/15438 )
50+ * [ ` float_equality_without_abs ` ] now checks ` f16 ` and ` f128 ` types.
51+ [ #15054 ] ( https://github.com/rust-lang/rust-clippy/pull/15054 )
52+ * [ ` doc_markdown ` ] expanded whitelist (` InfiniBand ` , ` RoCE ` , ` PowerPC ` ) and improved handling of
53+ identifiers like NixOS.
54+ [ #15558 ] ( https://github.com/rust-lang/rust-clippy/pull/15558 )
55+ * [ ` clone_on_ref_ptr ` ] now suggests fully qualified paths to avoid resolution errors.
56+ [ #15561 ] ( https://github.com/rust-lang/rust-clippy/pull/15561 )
57+ * [ ` manual_assert ` ] simplifies boolean expressions in suggested fixes.
58+ [ #15368 ] ( https://github.com/rust-lang/rust-clippy/pull/15368 )
59+ * [ ` four_forward_slashes ` ] warns about bare CR in comments and avoids invalid autofixes.
60+ [ #15175 ] ( https://github.com/rust-lang/rust-clippy/pull/15175 )
61+
62+ ### False Positive Fixes
63+
64+ * [ ` alloc_instead_of_core ` ] fixed FP when ` alloc ` is an alias
65+ [ #15581 ] ( https://github.com/rust-lang/rust-clippy/pull/15581 )
66+ * [ ` needless_range_loop ` ] fixed FP and FN when meeting multidimensional array
67+ [ #15486 ] ( https://github.com/rust-lang/rust-clippy/pull/15486 )
68+ * [ ` semicolon_inside_block ` ] fixed FP when attribute over expr is not enabled
69+ [ #15476 ] ( https://github.com/rust-lang/rust-clippy/pull/15476 )
70+ * [ ` unnested_or_patterns ` ] fixed FP on structs with only shorthand field patterns
71+ [ #15343 ] ( https://github.com/rust-lang/rust-clippy/pull/15343 )
72+ * [ ` match_ref_pats ` ] fixed FP on match scrutinee of never type
73+ [ #15474 ] ( https://github.com/rust-lang/rust-clippy/pull/15474 )
74+ * [ ` infinite_loop ` ] fixed FP in async blocks that are not awaited
75+ [ #15157 ] ( https://github.com/rust-lang/rust-clippy/pull/15157 )
76+ * [ ` iter_on_single_items ` ] fixed FP on function pointers and let statements
77+ [ #15013 ] ( https://github.com/rust-lang/rust-clippy/pull/15013 )
78+
79+ ### ICE Fixes
80+
81+ * [ ` len_zero ` ] fix ICE when fn len has a return type without generic type params
82+ [ #15660 ] ( https://github.com/rust-lang/rust-clippy/pull/15660 )
83+
84+ ### Documentation Improvements
85+
86+ * [ ` cognitive_complexity ` ] corrected documentation to state lint is in ` restriction ` , not ` nursery `
87+ [ #15563 ] ( https://github.com/rust-lang/rust-clippy/pull/15563 )
88+
89+ ### Performance Improvements
90+
91+ * [ ` doc_broken_link ` ] optimized by 99.77% (12M → 27k instructions)
92+ [ #15385 ] ( https://github.com/rust-lang/rust-clippy/pull/15385 )
93+
1194## Rust 1.90
1295
1396Current stable, released 2025-09-18
@@ -6253,6 +6336,7 @@ Released 2018-09-13
62536336[ `empty_drop` ] : https://rust-lang.github.io/rust-clippy/master/index.html#empty_drop
62546337[ `empty_enum` ] : https://rust-lang.github.io/rust-clippy/master/index.html#empty_enum
62556338[ `empty_enum_variants_with_brackets` ] : https://rust-lang.github.io/rust-clippy/master/index.html#empty_enum_variants_with_brackets
6339+ [ `empty_enums` ] : https://rust-lang.github.io/rust-clippy/master/index.html#empty_enums
62566340[ `empty_line_after_doc_comments` ] : https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments
62576341[ `empty_line_after_outer_attr` ] : https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_outer_attr
62586342[ `empty_loop` ] : https://rust-lang.github.io/rust-clippy/master/index.html#empty_loop
@@ -6583,6 +6667,7 @@ Released 2018-09-13
65836667[ `needless_else` ] : https://rust-lang.github.io/rust-clippy/master/index.html#needless_else
65846668[ `needless_for_each` ] : https://rust-lang.github.io/rust-clippy/master/index.html#needless_for_each
65856669[ `needless_if` ] : https://rust-lang.github.io/rust-clippy/master/index.html#needless_if
6670+ [ `needless_ifs` ] : https://rust-lang.github.io/rust-clippy/master/index.html#needless_ifs
65866671[ `needless_late_init` ] : https://rust-lang.github.io/rust-clippy/master/index.html#needless_late_init
65876672[ `needless_lifetimes` ] : https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
65886673[ `needless_match` ] : https://rust-lang.github.io/rust-clippy/master/index.html#needless_match
0 commit comments