@@ -6,11 +6,68 @@ document.
6
6
7
7
## Unreleased / Beta / In Rust Nightly
8
8
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 :
10
67
11
68
## Rust 1.74
12
69
13
- Current stable, released 2023-11-16
70
+ Released 2023-11-16
14
71
15
72
[ 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 )
16
73
@@ -51,7 +108,7 @@ Current stable, released 2023-11-16
51
108
### Enhancements
52
109
53
110
* [ ` 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
55
112
[ #11170 ] ( https://github.com/rust-lang/rust-clippy/pull/11170 )
56
113
* [ ` explicit_iter_loop ` ] : Added [ ` enforce-iter-loop-reborrow ` ] to disable reborrow linting by default
57
114
[ #11418 ] ( https://github.com/rust-lang/rust-clippy/pull/11418 )
@@ -5044,6 +5101,7 @@ Released 2018-09-13
5044
5101
[ `duplicate_mod` ] : https://rust-lang.github.io/rust-clippy/master/index.html#duplicate_mod
5045
5102
[ `duplicate_underscore_argument` ] : https://rust-lang.github.io/rust-clippy/master/index.html#duplicate_underscore_argument
5046
5103
[ `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
5047
5105
[ `else_if_without_else` ] : https://rust-lang.github.io/rust-clippy/master/index.html#else_if_without_else
5048
5106
[ `empty_drop` ] : https://rust-lang.github.io/rust-clippy/master/index.html#empty_drop
5049
5107
[ `empty_enum` ] : https://rust-lang.github.io/rust-clippy/master/index.html#empty_enum
@@ -5177,6 +5235,8 @@ Released 2018-09-13
5177
5235
[ `items_after_test_module` ] : https://rust-lang.github.io/rust-clippy/master/index.html#items_after_test_module
5178
5236
[ `iter_cloned_collect` ] : https://rust-lang.github.io/rust-clippy/master/index.html#iter_cloned_collect
5179
5237
[ `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
5180
5240
[ `iter_kv_map` ] : https://rust-lang.github.io/rust-clippy/master/index.html#iter_kv_map
5181
5241
[ `iter_next_loop` ] : https://rust-lang.github.io/rust-clippy/master/index.html#iter_next_loop
5182
5242
[ `iter_next_slice` ] : https://rust-lang.github.io/rust-clippy/master/index.html#iter_next_slice
@@ -5470,6 +5530,7 @@ Released 2018-09-13
5470
5530
[ `reserve_after_initialization` ] : https://rust-lang.github.io/rust-clippy/master/index.html#reserve_after_initialization
5471
5531
[ `rest_pat_in_fully_bound_structs` ] : https://rust-lang.github.io/rust-clippy/master/index.html#rest_pat_in_fully_bound_structs
5472
5532
[ `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
5473
5534
[ `result_large_err` ] : https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
5474
5535
[ `result_map_or_into_option` ] : https://rust-lang.github.io/rust-clippy/master/index.html#result_map_or_into_option
5475
5536
[ `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
5582
5643
[ `type_id_on_box` ] : https://rust-lang.github.io/rust-clippy/master/index.html#type_id_on_box
5583
5644
[ `type_repetition_in_bounds` ] : https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
5584
5645
[ `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
5585
5647
[ `undocumented_unsafe_blocks` ] : https://rust-lang.github.io/rust-clippy/master/index.html#undocumented_unsafe_blocks
5586
5648
[ `undropped_manually_drops` ] : https://rust-lang.github.io/rust-clippy/master/index.html#undropped_manually_drops
5587
5649
[ `unicode_not_nfc` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unicode_not_nfc
0 commit comments