@@ -6,11 +6,101 @@ document.
6
6
7
7
## Unreleased / Beta / In Rust Nightly
8
8
9
- [ 37f4c172...master] ( https://github.com/rust-lang/rust-clippy/compare/37f4c172...master )
9
+ [ 1e8fdf49...master] ( https://github.com/rust-lang/rust-clippy/compare/1e8fdf49...master )
10
+
11
+ ## Rust 1.73
12
+
13
+ Current stable, released 2023-10-05
14
+
15
+ [ 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
+
17
+ ### New Lints
18
+
19
+ * [ ` impossible_comparisons ` ]
20
+ [ #10843 ] ( https://github.com/rust-lang/rust-clippy/pull/10843 )
21
+ * [ ` redundant_comparisons ` ]
22
+ [ #10843 ] ( https://github.com/rust-lang/rust-clippy/pull/10843 )
23
+ * [ ` ignored_unit_patterns ` ]
24
+ [ #11242 ] ( https://github.com/rust-lang/rust-clippy/pull/11242 )
25
+ * [ ` readonly_write_lock ` ]
26
+ [ #11210 ] ( https://github.com/rust-lang/rust-clippy/pull/11210 )
27
+ * [ ` filter_map_bool_then ` ]
28
+ [ #11115 ] ( https://github.com/rust-lang/rust-clippy/pull/11115 )
29
+ * [ ` needless_return_with_question_mark ` ]
30
+ [ #11031 ] ( https://github.com/rust-lang/rust-clippy/pull/11031 )
31
+ * [ ` redundant_guards ` ]
32
+ [ #10955 ] ( https://github.com/rust-lang/rust-clippy/pull/10955 )
33
+ * [ ` redundant_locals ` ]
34
+ [ #10885 ] ( https://github.com/rust-lang/rust-clippy/pull/10885 )
35
+ * [ ` absolute_paths ` ]
36
+ [ #11003 ] ( https://github.com/rust-lang/rust-clippy/pull/11003 )
37
+ * [ ` error_impl_error ` ]
38
+ [ #11107 ] ( https://github.com/rust-lang/rust-clippy/pull/11107 )
39
+ * [ ` iter_skip_zero ` ]
40
+ [ #11046 ] ( https://github.com/rust-lang/rust-clippy/pull/11046 )
41
+ * [ ` string_lit_chars_any ` ]
42
+ [ #11052 ] ( https://github.com/rust-lang/rust-clippy/pull/11052 )
43
+ * [ ` four_forward_slashes ` ]
44
+ [ #11140 ] ( https://github.com/rust-lang/rust-clippy/pull/11140 )
45
+ * [ ` format_collect ` ]
46
+ [ #11116 ] ( https://github.com/rust-lang/rust-clippy/pull/11116 )
47
+ * [ ` needless_pass_by_ref_mut ` ]
48
+ [ #10900 ] ( https://github.com/rust-lang/rust-clippy/pull/10900 )
49
+ * [ ` manual_is_infinite ` ]
50
+ [ #11049 ] ( https://github.com/rust-lang/rust-clippy/pull/11049 )
51
+ * [ ` manual_is_finite ` ]
52
+ [ #11049 ] ( https://github.com/rust-lang/rust-clippy/pull/11049 )
53
+ * [ ` incorrect_partial_ord_impl_on_ord_type ` ]
54
+ [ #10788 ] ( https://github.com/rust-lang/rust-clippy/pull/10788 )
55
+ * [ ` read_line_without_trim ` ]
56
+ [ #10970 ] ( https://github.com/rust-lang/rust-clippy/pull/10970 )
57
+ * [ ` type_id_on_box ` ]
58
+ [ #10987 ] ( https://github.com/rust-lang/rust-clippy/pull/10987 )
59
+
60
+ ### Moves and Deprecations
61
+
62
+ * Renamed ` unwrap_or_else_default ` to [ ` unwrap_or_default ` ]
63
+ [ #10120 ] ( https://github.com/rust-lang/rust-clippy/pull/10120 )
64
+ * Moved [ ` tuple_array_conversions ` ] to ` pedantic ` (Now allow-by-default)
65
+ [ #11146 ] ( https://github.com/rust-lang/rust-clippy/pull/11146 )
66
+ * Moved [ ` arc_with_non_send_sync ` ] to ` suspicious ` (Now warn-by-default)
67
+ [ #11104 ] ( https://github.com/rust-lang/rust-clippy/pull/11104 )
68
+ * Moved [ ` needless_raw_string_hashes ` ] to ` pedantic ` (Now allow-by-default)
69
+ [ #11415 ] ( https://github.com/rust-lang/rust-clippy/pull/11415 )
70
+
71
+ ### Enhancements
72
+
73
+ * [ ` unwrap_used ` ] : No longer lints on the never-type or never-like enums
74
+ [ #11252 ] ( https://github.com/rust-lang/rust-clippy/pull/11252 )
75
+ * [ ` expect_used ` ] : No longer lints on the never-type or never-like enums
76
+ [ #11252 ] ( https://github.com/rust-lang/rust-clippy/pull/11252 )
77
+
78
+ ### False Positive Fixes
79
+
80
+ * [ ` panic_in_result_fn ` ] : No longer triggers on ` todo! ` , ` unimplemented! ` , ` unreachable! `
81
+ [ #11123 ] ( https://github.com/rust-lang/rust-clippy/pull/11123 )
82
+
83
+ ### Suggestion Fixes/Improvements
84
+
85
+ * [ ` semicolon_if_nothing_returned ` ] : The suggestion is now machine-applicable with rustfix
86
+ [ #11083 ] ( https://github.com/rust-lang/rust-clippy/pull/11083 )
87
+
88
+ ### ICE Fixes
89
+
90
+ * [ ` filter_map_bool_then ` ] : No longer crashes on late-bound regions
91
+ [ #11318 ] ( https://github.com/rust-lang/rust-clippy/pull/11318 )
92
+ * [ ` unwrap_or_default ` ] : No longer crashes on alias types for local items
93
+ [ #11258 ] ( https://github.com/rust-lang/rust-clippy/pull/11258 )
94
+ * [ ` unnecessary_literal_unwrap ` ] : No longer crashes on ` None.unwrap_or_default() `
95
+ [ #11106 ] ( https://github.com/rust-lang/rust-clippy/pull/11106 )
96
+ * Fixed MIR-related ICE
97
+ [ #11130 ] ( https://github.com/rust-lang/rust-clippy/pull/11130 )
98
+ * [ ` missing_fields_in_debug ` ] : No longer crashes on non-ADT self types
99
+ [ #11069 ] ( https://github.com/rust-lang/rust-clippy/pull/11069 )
10
100
11
101
## Rust 1.72
12
102
13
- Current stable, released 2023-08-24
103
+ Released 2023-08-24
14
104
15
105
[ View all 131 merged pull requests] ( https://github.com/rust-lang/rust-clippy/pulls?q=merged%3A2023-05-22T14%3A53%3A59Z..2023-07-01T22%3A57%3A20Z+base%3Amaster )
16
106
@@ -5011,6 +5101,7 @@ Released 2018-09-13
5011
5101
[ `integer_division` ] : https://rust-lang.github.io/rust-clippy/master/index.html#integer_division
5012
5102
[ `into_iter_on_array` ] : https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_array
5013
5103
[ `into_iter_on_ref` ] : https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref
5104
+ [ `into_iter_without_iter` ] : https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_without_iter
5014
5105
[ `invalid_atomic_ordering` ] : https://rust-lang.github.io/rust-clippy/master/index.html#invalid_atomic_ordering
5015
5106
[ `invalid_null_ptr_usage` ] : https://rust-lang.github.io/rust-clippy/master/index.html#invalid_null_ptr_usage
5016
5107
[ `invalid_ref` ] : https://rust-lang.github.io/rust-clippy/master/index.html#invalid_ref
@@ -5036,6 +5127,7 @@ Released 2018-09-13
5036
5127
[ `iter_skip_next` ] : https://rust-lang.github.io/rust-clippy/master/index.html#iter_skip_next
5037
5128
[ `iter_skip_zero` ] : https://rust-lang.github.io/rust-clippy/master/index.html#iter_skip_zero
5038
5129
[ `iter_with_drain` ] : https://rust-lang.github.io/rust-clippy/master/index.html#iter_with_drain
5130
+ [ `iter_without_into_iter` ] : https://rust-lang.github.io/rust-clippy/master/index.html#iter_without_into_iter
5039
5131
[ `iterator_step_by_zero` ] : https://rust-lang.github.io/rust-clippy/master/index.html#iterator_step_by_zero
5040
5132
[ `just_underscores_and_digits` ] : https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits
5041
5133
[ `large_const_arrays` ] : https://rust-lang.github.io/rust-clippy/master/index.html#large_const_arrays
@@ -5072,6 +5164,7 @@ Released 2018-09-13
5072
5164
[ `manual_find` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_find
5073
5165
[ `manual_find_map` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_find_map
5074
5166
[ `manual_flatten` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_flatten
5167
+ [ `manual_hash_one` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_hash_one
5075
5168
[ `manual_instant_elapsed` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_instant_elapsed
5076
5169
[ `manual_is_ascii_check` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_ascii_check
5077
5170
[ `manual_is_finite` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_finite
0 commit comments