@@ -44,7 +44,7 @@ Current stable, released 2023-04-20
44
44
45
45
### Enhancements
46
46
47
- * [ ` arithmetic_side_effects ` ] : No longer lints, if safe constant values are used.
47
+ * [ ` arithmetic_side_effects ` ] : No longer lints if safe constant values are used.
48
48
[ #10310 ] ( https://github.com/rust-lang/rust-clippy/pull/10310 )
49
49
* [ ` needless_lifetimes ` ] : Now works in local macros
50
50
[ #10257 ] ( https://github.com/rust-lang/rust-clippy/pull/10257 )
@@ -60,39 +60,39 @@ Current stable, released 2023-04-20
60
60
61
61
### False Positive Fixes
62
62
63
- * [ ` explicit_auto_deref ` ] : Now considers projections, when determining if auto deref is applicable
63
+ * [ ` explicit_auto_deref ` ] : Now considers projections when determining if auto deref is applicable
64
64
[ #10386 ] ( https://github.com/rust-lang/rust-clippy/pull/10386 )
65
- * [ ` manual_let_else ` ] : Now considers side effects of branches, before linting
65
+ * [ ` manual_let_else ` ] : Now considers side effects of branches before linting
66
66
[ #10336 ] ( https://github.com/rust-lang/rust-clippy/pull/10336 )
67
67
* [ ` uninlined_format_args ` ] : No longer lints for arguments with generic parameters
68
68
[ #10343 ] ( https://github.com/rust-lang/rust-clippy/pull/10343 )
69
- * [ ` needless_lifetimes ` ] : No longer lints signatures in macros, if the lifetime is a metavariable
69
+ * [ ` needless_lifetimes ` ] : No longer lints signatures in macros if the lifetime is a metavariable
70
70
[ #10380 ] ( https://github.com/rust-lang/rust-clippy/pull/10380 )
71
- * [ ` len_without_is_empty ` ] : No longer lints, if ` len ` as a non-default signature
71
+ * [ ` len_without_is_empty ` ] : No longer lints if ` len ` as a non-default signature
72
72
[ #10255 ] ( https://github.com/rust-lang/rust-clippy/pull/10255 )
73
- * [ ` unusual_byte_groupings ` ] : Relaxed the required restrictions for specific sizes, to reduce false
73
+ * [ ` unusual_byte_groupings ` ] : Relaxed the required restrictions for specific sizes to reduce false
74
74
positives
75
75
[ #10353 ] ( https://github.com/rust-lang/rust-clippy/pull/10353 )
76
76
* [ ` manual_let_else ` ] : No longer lints ` if-else ` blocks if they can divergent
77
77
[ #10332 ] ( https://github.com/rust-lang/rust-clippy/pull/10332 )
78
78
* [ ` expect_used ` ] , [ ` unwrap_used ` ] , [ ` dbg_macro ` ] , [ ` print_stdout ` ] , [ ` print_stderr ` ] : No longer lint
79
- in test functions, if ` allow-expect-in-tests ` is set
79
+ in test functions if ` allow-expect-in-tests ` is set
80
80
[ #10391 ] ( https://github.com/rust-lang/rust-clippy/pull/10391 )
81
81
* [ ` unnecessary_safety_comment ` ] : No longer lints code inside macros
82
82
[ #10106 ] ( https://github.com/rust-lang/rust-clippy/pull/10106 )
83
- * [ ` never_loop ` ] : No longer lints, for statements following break statements for outer blocks.
83
+ * [ ` never_loop ` ] : No longer lints statements following break statements for outer blocks.
84
84
[ #10311 ] ( https://github.com/rust-lang/rust-clippy/pull/10311 )
85
85
86
86
### Suggestion Fixes/Improvements
87
87
88
- * [ ` box_default ` ] : The suggestion now includes the type for trait objects, when needed
88
+ * [ ` box_default ` ] : The suggestion now includes the type for trait objects when needed
89
89
[ #10382 ] ( https://github.com/rust-lang/rust-clippy/pull/10382 )
90
90
* [ ` cast_possible_truncation ` ] : Now suggests using ` try_from ` or allowing the lint
91
91
[ #10038 ] ( https://github.com/rust-lang/rust-clippy/pull/10038 )
92
92
* [ ` invalid_regex ` ] : Regex errors for non-literals or regular strings containing escape sequences will
93
93
now show the complete error
94
94
[ #10231 ] ( https://github.com/rust-lang/rust-clippy/pull/10231 )
95
- * [ ` transmutes_expressible_as_ptr_casts ` ] : The suggestion now works, if the base type is borrowed
95
+ * [ ` transmutes_expressible_as_ptr_casts ` ] : The suggestion now works if the base type is borrowed
96
96
[ #10193 ] ( https://github.com/rust-lang/rust-clippy/pull/10193 )
97
97
* [ ` needless_return ` ] : Now removes all semicolons on the same line
98
98
[ #10187 ] ( https://github.com/rust-lang/rust-clippy/pull/10187 )
@@ -113,7 +113,7 @@ Current stable, released 2023-04-20
113
113
114
114
### ICE Fixes
115
115
116
- * [ ` needless_pass_by_value ` ] : Fixed an ICE, caused by how late bounds were handled
116
+ * [ ` needless_pass_by_value ` ] : Fixed an ICE caused by how late bounds were handled
117
117
[ #10328 ] ( https://github.com/rust-lang/rust-clippy/pull/10328 )
118
118
* [ ` needless_borrow ` ] : No longer panics on ambiguous projections
119
119
[ #10403 ] ( https://github.com/rust-lang/rust-clippy/pull/10403 )
@@ -4582,6 +4582,7 @@ Released 2018-09-13
4582
4582
[ `debug_assert_with_mut_call` ] : https://rust-lang.github.io/rust-clippy/master/index.html#debug_assert_with_mut_call
4583
4583
[ `decimal_literal_representation` ] : https://rust-lang.github.io/rust-clippy/master/index.html#decimal_literal_representation
4584
4584
[ `declare_interior_mutable_const` ] : https://rust-lang.github.io/rust-clippy/master/index.html#declare_interior_mutable_const
4585
+ [ `default_constructed_unit_structs` ] : https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
4585
4586
[ `default_instead_of_iter_empty` ] : https://rust-lang.github.io/rust-clippy/master/index.html#default_instead_of_iter_empty
4586
4587
[ `default_numeric_fallback` ] : https://rust-lang.github.io/rust-clippy/master/index.html#default_numeric_fallback
4587
4588
[ `default_trait_access` ] : https://rust-lang.github.io/rust-clippy/master/index.html#default_trait_access
@@ -4797,6 +4798,7 @@ Released 2018-09-13
4797
4798
[ `manual_strip` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_strip
4798
4799
[ `manual_swap` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_swap
4799
4800
[ `manual_unwrap_or` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or
4801
+ [ `manual_while_let_some` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_while_let_some
4800
4802
[ `many_single_char_names` ] : https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names
4801
4803
[ `map_clone` ] : https://rust-lang.github.io/rust-clippy/master/index.html#map_clone
4802
4804
[ `map_collect_result_unit` ] : https://rust-lang.github.io/rust-clippy/master/index.html#map_collect_result_unit
@@ -4864,6 +4866,7 @@ Released 2018-09-13
4864
4866
[ `needless_arbitrary_self_type` ] : https://rust-lang.github.io/rust-clippy/master/index.html#needless_arbitrary_self_type
4865
4867
[ `needless_bitwise_bool` ] : https://rust-lang.github.io/rust-clippy/master/index.html#needless_bitwise_bool
4866
4868
[ `needless_bool` ] : https://rust-lang.github.io/rust-clippy/master/index.html#needless_bool
4869
+ [ `needless_bool_assign` ] : https://rust-lang.github.io/rust-clippy/master/index.html#needless_bool_assign
4867
4870
[ `needless_borrow` ] : https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
4868
4871
[ `needless_borrowed_reference` ] : https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrowed_reference
4869
4872
[ `needless_collect` ] : https://rust-lang.github.io/rust-clippy/master/index.html#needless_collect
0 commit comments