@@ -6,11 +6,117 @@ document.
6
6
7
7
## Unreleased / In Rust Nightly
8
8
9
- [ e636b88...master] ( https://github.com/rust-lang/rust-clippy/compare/e636b88...master )
9
+ [ b20d4c1...master] ( https://github.com/rust-lang/rust-clippy/compare/b20d4c1...master )
10
+
11
+ ## Rust 1.49
12
+
13
+ Current beta, release 2020-12-31
14
+
15
+ [ e636b88...b20d4c1] ( https://github.com/rust-lang/rust-clippy/compare/e636b88...b20d4c1 )
16
+
17
+ ### New Lints
18
+
19
+ * [ ` field_reassign_with_default ` ] [ #5911 ] ( https://github.com/rust-lang/rust-clippy/pull/5911 )
20
+ * [ ` await_holding_refcell_ref ` ] [ #6029 ] ( https://github.com/rust-lang/rust-clippy/pull/6029 )
21
+ * [ ` disallowed_method ` ] [ #6081 ] ( https://github.com/rust-lang/rust-clippy/pull/6081 )
22
+ * [ ` inline_asm_x86_att_syntax ` ] [ #6092 ] ( https://github.com/rust-lang/rust-clippy/pull/6092 )
23
+ * [ ` inline_asm_x86_intel_syntax ` ] [ #6092 ] ( https://github.com/rust-lang/rust-clippy/pull/6092 )
24
+ * [ ` from_iter_instead_of_collect ` ] [ #6101 ] ( https://github.com/rust-lang/rust-clippy/pull/6101 )
25
+ * [ ` mut_mutex_lock ` ] [ #6103 ] ( https://github.com/rust-lang/rust-clippy/pull/6103 )
26
+ * [ ` single_element_loop ` ] [ #6109 ] ( https://github.com/rust-lang/rust-clippy/pull/6109 )
27
+ * [ ` manual_unwrap_or ` ] [ #6123 ] ( https://github.com/rust-lang/rust-clippy/pull/6123 )
28
+ * [ ` large_types_passed_by_value ` ] [ #6135 ] ( https://github.com/rust-lang/rust-clippy/pull/6135 )
29
+ * [ ` result_unit_err ` ] [ #6157 ] ( https://github.com/rust-lang/rust-clippy/pull/6157 )
30
+ * [ ` ref_option_ref ` ] [ #6165 ] ( https://github.com/rust-lang/rust-clippy/pull/6165 )
31
+ * [ ` manual_range_contains ` ] [ #6177 ] ( https://github.com/rust-lang/rust-clippy/pull/6177 )
32
+ * [ ` unusual_byte_groupings ` ] [ #6183 ] ( https://github.com/rust-lang/rust-clippy/pull/6183 )
33
+ * [ ` comparison_to_empty ` ] [ #6226 ] ( https://github.com/rust-lang/rust-clippy/pull/6226 )
34
+ * [ ` map_collect_result_unit ` ] [ #6227 ] ( https://github.com/rust-lang/rust-clippy/pull/6227 )
35
+ * [ ` manual_ok_or ` ] [ #6233 ] ( https://github.com/rust-lang/rust-clippy/pull/6233 )
36
+
37
+ ### Moves and Deprecations
38
+
39
+ * Rename ` single_char_push_str ` to [ ` single_char_add_str ` ]
40
+ [ #6037 ] ( https://github.com/rust-lang/rust-clippy/pull/6037 )
41
+ * Rename ` zero_width_space ` to [ ` invisible_characters ` ]
42
+ [ #6105 ] ( https://github.com/rust-lang/rust-clippy/pull/6105 )
43
+ * Deprecate [ ` drop_bounds ` ] (uplifted)
44
+ [ #6111 ] ( https://github.com/rust-lang/rust-clippy/pull/6111 )
45
+ * Move [ ` string_lit_as_bytes ` ] to ` nursery `
46
+ [ #6117 ] ( https://github.com/rust-lang/rust-clippy/pull/6117 )
47
+ * Move [ ` rc_buffer ` ] to ` restriction `
48
+ [ #6128 ] ( https://github.com/rust-lang/rust-clippy/pull/6128 )
49
+
50
+ ### Enhancements
51
+
52
+ * [ ` manual_memcpy ` ] : Also lint when there are loop counters (and produce a
53
+ reliable suggestion)
54
+ [ #5727 ] ( https://github.com/rust-lang/rust-clippy/pull/5727 )
55
+ * [ ` single_char_add_str ` ] : Also lint on ` String::insert_str `
56
+ [ #6037 ] ( https://github.com/rust-lang/rust-clippy/pull/6037 )
57
+ * [ ` invisible_characters ` ] : Also lint the characters ` \u{AD} ` and ` \u{2060} `
58
+ [ #6105 ] ( https://github.com/rust-lang/rust-clippy/pull/6105 )
59
+ * [ ` eq_op ` ] : Also lint on the ` assert_*! ` macro family
60
+ [ #6167 ] ( https://github.com/rust-lang/rust-clippy/pull/6167 )
61
+ * [ ` items_after_statements ` ] : Also lint in local macro expansions
62
+ [ #6176 ] ( https://github.com/rust-lang/rust-clippy/pull/6176 )
63
+ * [ ` unnecessary_cast ` ] : Also lint casts on integer and float literals
64
+ [ #6187 ] ( https://github.com/rust-lang/rust-clippy/pull/6187 )
65
+ * [ ` manual_unwrap_or ` ] : Also lint ` Result::unwrap_or `
66
+ [ #6190 ] ( https://github.com/rust-lang/rust-clippy/pull/6190 )
67
+ * [ ` match_like_matches_macro ` ] : Also lint when ` match ` has more than two arms
68
+ [ #6216 ] ( https://github.com/rust-lang/rust-clippy/pull/6216 )
69
+ * [ ` integer_arithmetic ` ] : Better handle ` / ` an ` % ` operators
70
+ [ #6229 ] ( https://github.com/rust-lang/rust-clippy/pull/6229 )
71
+
72
+ ### False Positive Fixes
73
+
74
+ * [ ` needless_lifetimes ` ] : Bail out if the function has a ` where ` clause with the
75
+ lifetime [ #5978 ] ( https://github.com/rust-lang/rust-clippy/pull/5978 )
76
+ * [ ` explicit_counter_loop ` ] : No longer lints, when loop counter is used after it
77
+ is incremented [ #6076 ] ( https://github.com/rust-lang/rust-clippy/pull/6076 )
78
+ * [ ` or_fun_call ` ] : Revert changes addressing the handling of ` const fn `
79
+ [ #6077 ] ( https://github.com/rust-lang/rust-clippy/pull/6077 )
80
+ * [ ` needless_range_loop ` ] : No longer lints, when the iterable is used in the
81
+ range [ #6102 ] ( https://github.com/rust-lang/rust-clippy/pull/6102 )
82
+ * [ ` inconsistent_digit_grouping ` ] : Fix bug when using floating point exponent
83
+ [ #6104 ] ( https://github.com/rust-lang/rust-clippy/pull/6104 )
84
+ * [ ` mistyped_literal_suffixes ` ] : No longer lints on the fractional part of a
85
+ float (e.g. ` 713.32_64 ` )
86
+ [ #6114 ] ( https://github.com/rust-lang/rust-clippy/pull/6114 )
87
+ * [ ` invalid_regex ` ] : No longer lint on unicode characters within ` bytes::Regex `
88
+ [ #6132 ] ( https://github.com/rust-lang/rust-clippy/pull/6132 )
89
+ * [ ` boxed_local ` ] : No longer lints on ` extern fn ` arguments
90
+ [ #6133 ] ( https://github.com/rust-lang/rust-clippy/pull/6133 )
91
+ * [ ` needless_lifetimes ` ] : Fix regression, where lifetime is used in ` where `
92
+ clause [ #6198 ] ( https://github.com/rust-lang/rust-clippy/pull/6198 )
93
+
94
+ ### Suggestion Fixes/Improvements
95
+
96
+ * [ ` unnecessary_sort_by ` ] : Avoid dereferencing the suggested closure parameter
97
+ [ #6078 ] ( https://github.com/rust-lang/rust-clippy/pull/6078 )
98
+ * [ ` needless_arbitrary_self_type ` ] : Correctly handle expanded code
99
+ [ #6093 ] ( https://github.com/rust-lang/rust-clippy/pull/6093 )
100
+ * [ ` useless_format ` ] : Preserve raw strings in suggestion
101
+ [ #6151 ] ( https://github.com/rust-lang/rust-clippy/pull/6151 )
102
+ * [ ` empty_loop ` ] : Suggest alternatives
103
+ [ #6162 ] ( https://github.com/rust-lang/rust-clippy/pull/6162 )
104
+ * [ ` borrowed_box ` ] : Correctly add parentheses in suggestion
105
+ [ #6200 ] ( https://github.com/rust-lang/rust-clippy/pull/6200 )
106
+ * [ ` unused_unit ` ] : Improve suggestion formatting
107
+ [ #6247 ] ( https://github.com/rust-lang/rust-clippy/pull/6247 )
108
+
109
+ ### Documentation Improvements
110
+
111
+ * Some doc improvements:
112
+ * [ ` rc_buffer ` ] [ #6090 ] ( https://github.com/rust-lang/rust-clippy/pull/6090 )
113
+ * [ ` empty_loop ` ] [ #6162 ] ( https://github.com/rust-lang/rust-clippy/pull/6162 )
114
+ * [ ` doc_markdown ` ] : Document problematic link text style
115
+ [ #6107 ] ( https://github.com/rust-lang/rust-clippy/pull/6107 )
10
116
11
117
## Rust 1.48
12
118
13
- Current beta, release 2020-11-19
119
+ Current stable, released 2020-11-19
14
120
15
121
[ 09bd400...e636b88] ( https://github.com/rust-lang/rust-clippy/compare/09bd400...e636b88 )
16
122
@@ -128,7 +234,7 @@ Current beta, release 2020-11-19
128
234
129
235
## Rust 1.47
130
236
131
- Current stable, released 2020-10-08
237
+ Released 2020-10-08
132
238
133
239
[ c2c07fa...09bd400] ( https://github.com/rust-lang/rust-clippy/compare/c2c07fa...09bd400 )
134
240
0 commit comments