@@ -6,11 +6,68 @@ document.
66
77## Unreleased / Beta / In Rust Nightly
88
9- [ 7671c283...master] ( https://github.com/rust-lang/rust-clippy/compare/7671c283...master )
9+ [ 09ac14c9...master] ( https://github.com/rust-lang/rust-clippy/compare/09ac14c9...master )
10+
11+ ## Rust 1.75
12+
13+ Current stable, released 2023-12-28
14+
15+ [ View all 69 merged pull requests] ( https://github.com/rust-lang/rust-clippy/pulls?q=merged%3A2023-09-25T11%3A47%3A47Z..2023-11-02T16%3A41%3A59Z+base%3Amaster )
16+
17+ ### New Lints
18+
19+ * [ ` unused_enumerate_index ` ]
20+ [ #10404 ] ( https://github.com/rust-lang/rust-clippy/pull/10404 )
21+ * [ ` unnecessary_fallible_conversions ` ]
22+ [ #11669 ] ( https://github.com/rust-lang/rust-clippy/pull/11669 )
23+ * [ ` waker_clone_wake ` ]
24+ [ #11698 ] ( https://github.com/rust-lang/rust-clippy/pull/11698 )
25+ * [ ` struct_field_names ` ]
26+ [ #11496 ] ( https://github.com/rust-lang/rust-clippy/pull/11496 )
27+ * [ ` into_iter_without_iter ` ]
28+ [ #11587 ] ( https://github.com/rust-lang/rust-clippy/pull/11587 )
29+ * [ ` iter_without_into_iter ` ]
30+ [ #11527 ] ( https://github.com/rust-lang/rust-clippy/pull/11527 )
31+ * [ ` manual_hash_one ` ]
32+ [ #11556 ] ( https://github.com/rust-lang/rust-clippy/pull/11556 )
33+
34+
35+ ### Moves and Deprecations
36+
37+ * Moved [ ` read_zero_byte_vec ` ] to ` nursery ` (Now allow-by-default)
38+ [ #11727 ] ( https://github.com/rust-lang/rust-clippy/pull/11727 )
39+ * Moved [ ` missing_enforced_import_renames ` ] to ` style ` (Now warn-by-default)
40+ [ #11539 ] ( https://github.com/rust-lang/rust-clippy/pull/11539 )
41+ * Moved [ ` needless_raw_string_hashes ` ] to ` pedantic ` (Now allow-by-default)
42+ [ #11415 ] ( https://github.com/rust-lang/rust-clippy/pull/11415 )
43+ * Moved [ ` needless_pass_by_ref_mut ` ] to ` nursery ` (Now allow-by-default)
44+ [ #11596 ] ( https://github.com/rust-lang/rust-clippy/pull/11596 )
45+
46+ ### Enhancements
47+
48+ * [ ` declare_interior_mutable_const ` ] and [ ` borrow_interior_mutable_const ` ] : Now check the
49+ [ ` ignore-interior-mutability ` ] config value
50+ [ #11678 ] ( https://github.com/rust-lang/rust-clippy/pull/11678 )
51+
52+ ### Suggestion Fixes/Improvements
53+
54+ * [ ` items_after_test_module ` ] : The suggestion is now machine-applicable
55+ [ #11611 ] ( https://github.com/rust-lang/rust-clippy/pull/11611 )
56+
57+ ### ICE Fixes
58+
59+ * [ ` redundant_locals ` ] : No longer crashes if variables are rebound above macros
60+ [ #11623 ] ( https://github.com/rust-lang/rust-clippy/pull/11623 )
61+ * [ ` implicit_hasher ` ] : No longer lints inside macros, which could cause ICEs
62+ [ #11593 ] ( https://github.com/rust-lang/rust-clippy/pull/11593 )
63+
64+ ### Documentation Improvements
65+
66+ * ` cargo clippy --help ` now uses colors for readability :tada :
1067
1168## Rust 1.74
1269
13- Current stable, released 2023-11-16
70+ Released 2023-11-16
1471
1572[ View all 94 merged pull requests] ( https://github.com/rust-lang/rust-clippy/pulls?q=merged%3A2023-08-11T15%3A29%3A18Z..2023-09-25T08%3A48%3A22Z+base%3Amaster )
1673
@@ -51,7 +108,7 @@ Current stable, released 2023-11-16
51108### Enhancements
52109
53110* [ ` undocumented_unsafe_blocks ` ] : The config values [ ` accept-comment-above-statement ` ] and
54- [ ` accept-comment-above-attributes ` ] to ` true ` by default
111+ [ ` accept-comment-above-attributes ` ] are now ` true ` by default
55112 [ #11170 ] ( https://github.com/rust-lang/rust-clippy/pull/11170 )
56113* [ ` explicit_iter_loop ` ] : Added [ ` enforce-iter-loop-reborrow ` ] to disable reborrow linting by default
57114 [ #11418 ] ( https://github.com/rust-lang/rust-clippy/pull/11418 )
@@ -5044,6 +5101,7 @@ Released 2018-09-13
50445101[ `duplicate_mod` ] : https://rust-lang.github.io/rust-clippy/master/index.html#duplicate_mod
50455102[ `duplicate_underscore_argument` ] : https://rust-lang.github.io/rust-clippy/master/index.html#duplicate_underscore_argument
50465103[ `duration_subsec` ] : https://rust-lang.github.io/rust-clippy/master/index.html#duration_subsec
5104+ [ `eager_transmute` ] : https://rust-lang.github.io/rust-clippy/master/index.html#eager_transmute
50475105[ `else_if_without_else` ] : https://rust-lang.github.io/rust-clippy/master/index.html#else_if_without_else
50485106[ `empty_drop` ] : https://rust-lang.github.io/rust-clippy/master/index.html#empty_drop
50495107[ `empty_enum` ] : https://rust-lang.github.io/rust-clippy/master/index.html#empty_enum
@@ -5177,6 +5235,8 @@ Released 2018-09-13
51775235[ `items_after_test_module` ] : https://rust-lang.github.io/rust-clippy/master/index.html#items_after_test_module
51785236[ `iter_cloned_collect` ] : https://rust-lang.github.io/rust-clippy/master/index.html#iter_cloned_collect
51795237[ `iter_count` ] : https://rust-lang.github.io/rust-clippy/master/index.html#iter_count
5238+ [ `iter_filter_is_ok` ] : https://rust-lang.github.io/rust-clippy/master/index.html#iter_filter_is_ok
5239+ [ `iter_filter_is_some` ] : https://rust-lang.github.io/rust-clippy/master/index.html#iter_filter_is_some
51805240[ `iter_kv_map` ] : https://rust-lang.github.io/rust-clippy/master/index.html#iter_kv_map
51815241[ `iter_next_loop` ] : https://rust-lang.github.io/rust-clippy/master/index.html#iter_next_loop
51825242[ `iter_next_slice` ] : https://rust-lang.github.io/rust-clippy/master/index.html#iter_next_slice
@@ -5470,6 +5530,7 @@ Released 2018-09-13
54705530[ `reserve_after_initialization` ] : https://rust-lang.github.io/rust-clippy/master/index.html#reserve_after_initialization
54715531[ `rest_pat_in_fully_bound_structs` ] : https://rust-lang.github.io/rust-clippy/master/index.html#rest_pat_in_fully_bound_structs
54725532[ `result_expect_used` ] : https://rust-lang.github.io/rust-clippy/master/index.html#result_expect_used
5533+ [ `result_filter_map` ] : https://rust-lang.github.io/rust-clippy/master/index.html#result_filter_map
54735534[ `result_large_err` ] : https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
54745535[ `result_map_or_into_option` ] : https://rust-lang.github.io/rust-clippy/master/index.html#result_map_or_into_option
54755536[ `result_map_unit_fn` ] : https://rust-lang.github.io/rust-clippy/master/index.html#result_map_unit_fn
@@ -5582,6 +5643,7 @@ Released 2018-09-13
55825643[ `type_id_on_box` ] : https://rust-lang.github.io/rust-clippy/master/index.html#type_id_on_box
55835644[ `type_repetition_in_bounds` ] : https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
55845645[ `unchecked_duration_subtraction` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unchecked_duration_subtraction
5646+ [ `unconditional_recursion` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unconditional_recursion
55855647[ `undocumented_unsafe_blocks` ] : https://rust-lang.github.io/rust-clippy/master/index.html#undocumented_unsafe_blocks
55865648[ `undropped_manually_drops` ] : https://rust-lang.github.io/rust-clippy/master/index.html#undropped_manually_drops
55875649[ `unicode_not_nfc` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unicode_not_nfc
0 commit comments