@@ -6,11 +6,70 @@ document.
6
6
7
7
## Unreleased / Beta / In Rust Nightly
8
8
9
- [ 1e8fdf49...master] ( https://github.com/rust-lang/rust-clippy/compare/1e8fdf49...master )
9
+ [ 7671c283...master] ( https://github.com/rust-lang/rust-clippy/compare/7671c283...master )
10
+
11
+ ## Rust 1.74
12
+
13
+ Current stable, released 2023-11-16
14
+
15
+ [ 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
+
17
+ ### New Lints
18
+
19
+ * [ ` redundant_as_str ` ]
20
+ [ #11526 ] ( https://github.com/rust-lang/rust-clippy/pull/11526 )
21
+ * [ ` needless_borrows_for_generic_args ` ]
22
+ [ #11511 ] ( https://github.com/rust-lang/rust-clippy/pull/11511 )
23
+ * [ ` path_ends_with_ext ` ]
24
+ [ #11483 ] ( https://github.com/rust-lang/rust-clippy/pull/11483 )
25
+ * [ ` unnecessary_map_on_constructor ` ]
26
+ [ #11413 ] ( https://github.com/rust-lang/rust-clippy/pull/11413 )
27
+ * [ ` missing_asserts_for_indexing ` ]
28
+ [ #10692 ] ( https://github.com/rust-lang/rust-clippy/pull/10692 )
29
+ * [ ` iter_out_of_bounds ` ]
30
+ [ #11396 ] ( https://github.com/rust-lang/rust-clippy/pull/11396 )
31
+ * [ ` implied_bounds_in_impls ` ]
32
+ [ #11362 ] ( https://github.com/rust-lang/rust-clippy/pull/11362 )
33
+ * [ ` reserve_after_initialization ` ]
34
+ [ #11373 ] ( https://github.com/rust-lang/rust-clippy/pull/11373 )
35
+ * [ ` should_panic_without_expect ` ]
36
+ [ #11204 ] ( https://github.com/rust-lang/rust-clippy/pull/11204 )
37
+
38
+ ### Moves and Deprecations
39
+
40
+ * Renamed ` incorrect_clone_impl_on_copy_type ` to [ ` non_canonical_clone_impl ` ]
41
+ [ #11358 ] ( https://github.com/rust-lang/rust-clippy/pull/11358 )
42
+ * Renamed ` incorrect_partial_ord_impl_on_ord_type ` to [ ` non_canonical_partial_ord_impl ` ]
43
+ [ #11358 ] ( https://github.com/rust-lang/rust-clippy/pull/11358 )
44
+ * Moved [ ` non_canonical_clone_impl ` ] to ` suspicious ` (Now warn-by-default)
45
+ [ #11358 ] ( https://github.com/rust-lang/rust-clippy/pull/11358 )
46
+ * Moved [ ` non_canonical_partial_ord_impl ` ] to ` suspicious ` (Now warn-by-default)
47
+ [ #11358 ] ( https://github.com/rust-lang/rust-clippy/pull/11358 )
48
+ * Moved [ ` needless_pass_by_ref_mut ` ] to ` nursery ` (Now allow-by-default)
49
+ [ #11596 ] ( https://github.com/rust-lang/rust-clippy/pull/11596 )
50
+
51
+ ### Enhancements
52
+
53
+ * [ ` undocumented_unsafe_blocks ` ] : The config values [ ` accept-comment-above-statement ` ] and
54
+ [ ` accept-comment-above-attributes ` ] to ` true ` by default
55
+ [ #11170 ] ( https://github.com/rust-lang/rust-clippy/pull/11170 )
56
+ * [ ` explicit_iter_loop ` ] : Added [ ` enforce-iter-loop-reborrow ` ] to disable reborrow linting by default
57
+ [ #11418 ] ( https://github.com/rust-lang/rust-clippy/pull/11418 )
58
+
59
+ ### ICE Fixes
60
+
61
+ * [ ` enum_variant_names ` ] : No longer crashes if the threshold is 0 and the enum has no variants
62
+ [ #11552 ] ( https://github.com/rust-lang/rust-clippy/pull/11552 )
63
+ * [ ` cast_possible_truncation ` ] : No longer crashes on values larger than ` u64::MAX `
64
+ [ #11517 ] ( https://github.com/rust-lang/rust-clippy/pull/11517 )
65
+ * [ ` tuple_array_conversions ` ] : No longer crashes if the array length is not usize
66
+ [ #11379 ] ( https://github.com/rust-lang/rust-clippy/pull/11379 )
67
+ * [ ` useless_conversion ` ] : No longer crashes, when the receiver is a non-fn item
68
+ [ #11070 ] ( https://github.com/rust-lang/rust-clippy/pull/11070 )
10
69
11
70
## Rust 1.73
12
71
13
- Current stable, released 2023-10-05
72
+ Released 2023-10-05
14
73
15
74
[ View all 103 merged pull requests] ( https://github.com/rust-lang/rust-clippy/pulls?q=merged%3A2023-07-02T12%3A24%3A40Z..2023-08-11T11%3A09%3A56Z+base%3Amaster )
16
75
@@ -5123,6 +5182,7 @@ Released 2018-09-13
5123
5182
[ `iter_on_empty_collections` ] : https://rust-lang.github.io/rust-clippy/master/index.html#iter_on_empty_collections
5124
5183
[ `iter_on_single_items` ] : https://rust-lang.github.io/rust-clippy/master/index.html#iter_on_single_items
5125
5184
[ `iter_out_of_bounds` ] : https://rust-lang.github.io/rust-clippy/master/index.html#iter_out_of_bounds
5185
+ [ `iter_over_hash_type` ] : https://rust-lang.github.io/rust-clippy/master/index.html#iter_over_hash_type
5126
5186
[ `iter_overeager_cloned` ] : https://rust-lang.github.io/rust-clippy/master/index.html#iter_overeager_cloned
5127
5187
[ `iter_skip_next` ] : https://rust-lang.github.io/rust-clippy/master/index.html#iter_skip_next
5128
5188
[ `iter_skip_zero` ] : https://rust-lang.github.io/rust-clippy/master/index.html#iter_skip_zero
0 commit comments