]> git.lizzy.rs Git - rust.git/blob - CHANGELOG.md
Merge commit 'c1664c50b27a51f7a78c93ba65558e7c33eabee6' into clippyup
[rust.git] / CHANGELOG.md
1 # Changelog
2
3 All notable changes to this project will be documented in this file.
4 See [Changelog Update](doc/changelog_update.md) if you want to update this
5 document.
6
7 ## Unreleased / In Rust Nightly
8
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)
116
117 ## Rust 1.48
118
119 Current stable, released 2020-11-19
120
121 [09bd400...e636b88](https://github.com/rust-lang/rust-clippy/compare/09bd400...e636b88)
122
123 ### New lints
124
125 * [`self_assignment`] [#5894](https://github.com/rust-lang/rust-clippy/pull/5894)
126 * [`unnecessary_lazy_evaluations`] [#5720](https://github.com/rust-lang/rust-clippy/pull/5720)
127 * [`manual_strip`] [#6038](https://github.com/rust-lang/rust-clippy/pull/6038)
128 * [`map_err_ignore`] [#5998](https://github.com/rust-lang/rust-clippy/pull/5998)
129 * [`rc_buffer`] [#6044](https://github.com/rust-lang/rust-clippy/pull/6044)
130 * [`to_string_in_display`] [#5831](https://github.com/rust-lang/rust-clippy/pull/5831)
131 * `single_char_push_str` [#5881](https://github.com/rust-lang/rust-clippy/pull/5881)
132
133 ### Moves and Deprecations
134
135 * Downgrade [`verbose_bit_mask`] to pedantic
136   [#6036](https://github.com/rust-lang/rust-clippy/pull/6036)
137
138 ### Enhancements
139
140 * Extend [`precedence`] to handle chains of methods combined with unary negation
141   [#5928](https://github.com/rust-lang/rust-clippy/pull/5928)
142 * [`useless_vec`]: add a configuration value for the maximum allowed size on the stack
143   [#5907](https://github.com/rust-lang/rust-clippy/pull/5907)
144 * [`suspicious_arithmetic_impl`]: extend to implementations of `BitAnd`, `BitOr`, `BitXor`, `Rem`, `Shl`, and `Shr`
145   [#5884](https://github.com/rust-lang/rust-clippy/pull/5884)
146 * [`invalid_atomic_ordering`]: detect misuse of `compare_exchange`, `compare_exchange_weak`, and `fetch_update`
147   [#6025](https://github.com/rust-lang/rust-clippy/pull/6025)
148 * Avoid [`redundant_pattern_matching`] triggering in macros
149   [#6069](https://github.com/rust-lang/rust-clippy/pull/6069)
150 * [`option_if_let_else`]: distinguish pure from impure `else` expressions
151   [#5937](https://github.com/rust-lang/rust-clippy/pull/5937)
152 * [`needless_doctest_main`]: parse doctests instead of using textual search
153   [#5912](https://github.com/rust-lang/rust-clippy/pull/5912)
154 * [`wildcard_imports`]: allow `prelude` to appear in any segment of an import
155   [#5929](https://github.com/rust-lang/rust-clippy/pull/5929)
156 * Re-enable [`len_zero`] for ranges now that `range_is_empty` is stable
157   [#5961](https://github.com/rust-lang/rust-clippy/pull/5961)
158 * [`option_as_ref_deref`]: catch fully-qualified calls to `Deref::deref` and `DerefMut::deref_mut`
159   [#5933](https://github.com/rust-lang/rust-clippy/pull/5933)
160
161 ### False Positive Fixes
162
163 * [`useless_attribute`]: permit allowing [`wildcard_imports`] and [`enum_glob_use`]
164   [#5994](https://github.com/rust-lang/rust-clippy/pull/5994)
165 * [`transmute_ptr_to_ptr`]: avoid suggesting dereferencing raw pointers in const contexts
166   [#5999](https://github.com/rust-lang/rust-clippy/pull/5999)
167 * [`redundant_closure_call`]: take into account usages of the closure in nested functions and closures
168   [#5920](https://github.com/rust-lang/rust-clippy/pull/5920)
169 * Fix false positive in [`borrow_interior_mutable_const`] when referencing a field behind a pointer
170   [#5949](https://github.com/rust-lang/rust-clippy/pull/5949)
171 * [`doc_markdown`]: allow using "GraphQL" without backticks
172   [#5996](https://github.com/rust-lang/rust-clippy/pull/5996)
173 * [`to_string_in_display`]: avoid linting when calling `to_string()` on anything that is not `self`
174   [#5971](https://github.com/rust-lang/rust-clippy/pull/5971)
175 * [`indexing_slicing`] and [`out_of_bounds_indexing`] treat references to arrays as arrays
176   [#6034](https://github.com/rust-lang/rust-clippy/pull/6034)
177 * [`should_implement_trait`]: ignore methods with lifetime parameters
178   [#5725](https://github.com/rust-lang/rust-clippy/pull/5725)
179 * [`needless_return`]: avoid linting if a temporary borrows a local variable
180   [#5903](https://github.com/rust-lang/rust-clippy/pull/5903)
181 * Restrict [`unnecessary_sort_by`] to non-reference, Copy types
182   [#6006](https://github.com/rust-lang/rust-clippy/pull/6006)
183 * Avoid suggesting `from_bits`/`to_bits` in const contexts in [`transmute_int_to_float`]
184   [#5919](https://github.com/rust-lang/rust-clippy/pull/5919)
185 * [`declare_interior_mutable_const`] and [`borrow_interior_mutable_const`]: improve detection of interior mutable types
186   [#6046](https://github.com/rust-lang/rust-clippy/pull/6046)
187
188 ### Suggestion Fixes/Improvements
189
190 * [`let_and_return`]: add a cast to the suggestion when the return expression has adjustments
191   [#5946](https://github.com/rust-lang/rust-clippy/pull/5946)
192 * [`useless_conversion`]: show the type in the error message
193   [#6035](https://github.com/rust-lang/rust-clippy/pull/6035)
194 * [`unnecessary_mut_passed`]: discriminate between functions and methods in the error message
195   [#5892](https://github.com/rust-lang/rust-clippy/pull/5892)
196 * [`float_cmp`] and [`float_cmp_const`]: change wording to make margin of error less ambiguous
197   [#6043](https://github.com/rust-lang/rust-clippy/pull/6043)
198 * [`default_trait_access`]: do not use unnecessary type parameters in the suggestion
199   [#5993](https://github.com/rust-lang/rust-clippy/pull/5993)
200 * [`collapsible_if`]: don't use expanded code in the suggestion
201   [#5992](https://github.com/rust-lang/rust-clippy/pull/5992)
202 * Do not suggest empty format strings in [`print_with_newline`] and [`write_with_newline`]
203   [#6042](https://github.com/rust-lang/rust-clippy/pull/6042)
204 * [`unit_arg`]: improve the readability of the suggestion
205   [#5931](https://github.com/rust-lang/rust-clippy/pull/5931)
206 * [`stable_sort_primitive`]: print the type that is being sorted in the lint message
207   [#5935](https://github.com/rust-lang/rust-clippy/pull/5935)
208 * Show line count and max lines in [`too_many_lines`] lint message
209   [#6009](https://github.com/rust-lang/rust-clippy/pull/6009)
210 * Keep parentheses in the suggestion of [`useless_conversion`] where applicable
211   [#5900](https://github.com/rust-lang/rust-clippy/pull/5900)
212 * [`option_map_unit_fn`] and [`result_map_unit_fn`]: print the unit type `()` explicitly
213   [#6024](https://github.com/rust-lang/rust-clippy/pull/6024)
214 * [`redundant_allocation`]: suggest replacing `Rc<Box<T>>` with `Rc<T>`
215   [#5899](https://github.com/rust-lang/rust-clippy/pull/5899)
216 * Make lint messages adhere to rustc dev guide conventions
217   [#5893](https://github.com/rust-lang/rust-clippy/pull/5893)
218
219 ### ICE Fixes
220
221 * Fix ICE in [`repeat_once`]
222   [#5948](https://github.com/rust-lang/rust-clippy/pull/5948)
223
224 ### Documentation Improvements
225
226 * [`mutable_key_type`]: explain potential for false positives when the interior mutable type is not accessed in the `Hash` implementation
227   [#6019](https://github.com/rust-lang/rust-clippy/pull/6019)
228 * [`unnecessary_mut_passed`]: fix typo
229   [#5913](https://github.com/rust-lang/rust-clippy/pull/5913)
230 * Add example of false positive to [`ptr_arg`] docs.
231   [#5885](https://github.com/rust-lang/rust-clippy/pull/5885)
232 * [`box_vec`], [`vec_box`] and [`borrowed_box`]: add link to the documentation of `Box`
233   [#6023](https://github.com/rust-lang/rust-clippy/pull/6023)
234
235 ## Rust 1.47
236
237 Released 2020-10-08
238
239 [c2c07fa...09bd400](https://github.com/rust-lang/rust-clippy/compare/c2c07fa...09bd400)
240
241 ### New lints
242
243 * [`derive_ord_xor_partial_ord`] [#5848](https://github.com/rust-lang/rust-clippy/pull/5848)
244 * [`trait_duplication_in_bounds`] [#5852](https://github.com/rust-lang/rust-clippy/pull/5852)
245 * [`map_identity`] [#5694](https://github.com/rust-lang/rust-clippy/pull/5694)
246 * [`unit_return_expecting_ord`] [#5737](https://github.com/rust-lang/rust-clippy/pull/5737)
247 * [`pattern_type_mismatch`] [#4841](https://github.com/rust-lang/rust-clippy/pull/4841)
248 * [`repeat_once`] [#5773](https://github.com/rust-lang/rust-clippy/pull/5773)
249 * [`same_item_push`] [#5825](https://github.com/rust-lang/rust-clippy/pull/5825)
250 * [`needless_arbitrary_self_type`] [#5869](https://github.com/rust-lang/rust-clippy/pull/5869)
251 * [`match_like_matches_macro`] [#5769](https://github.com/rust-lang/rust-clippy/pull/5769)
252 * [`stable_sort_primitive`] [#5809](https://github.com/rust-lang/rust-clippy/pull/5809)
253 * [`blanket_clippy_restriction_lints`] [#5750](https://github.com/rust-lang/rust-clippy/pull/5750)
254 * [`option_if_let_else`] [#5301](https://github.com/rust-lang/rust-clippy/pull/5301)
255
256 ### Moves and Deprecations
257
258 * Deprecate [`regex_macro`] lint
259   [#5760](https://github.com/rust-lang/rust-clippy/pull/5760)
260 * Move [`range_minus_one`] to `pedantic`
261   [#5752](https://github.com/rust-lang/rust-clippy/pull/5752)
262
263 ### Enhancements
264
265 * Improve [`needless_collect`] by catching `collect` calls followed by `iter` or `into_iter` calls
266   [#5837](https://github.com/rust-lang/rust-clippy/pull/5837)
267 * [`panic`], [`todo`], [`unimplemented`] and [`unreachable`] now detect calls with formatting
268   [#5811](https://github.com/rust-lang/rust-clippy/pull/5811)
269 * Detect more cases of [`suboptimal_flops`] and [`imprecise_flops`]
270   [#5443](https://github.com/rust-lang/rust-clippy/pull/5443)
271 * Handle asymmetrical implementations of `PartialEq` in [`cmp_owned`]
272   [#5701](https://github.com/rust-lang/rust-clippy/pull/5701)
273 * Make it possible to allow [`unsafe_derive_deserialize`]
274   [#5870](https://github.com/rust-lang/rust-clippy/pull/5870)
275 * Catch `ord.min(a).max(b)` where a < b in [`min_max`]
276   [#5871](https://github.com/rust-lang/rust-clippy/pull/5871)
277 * Make [`clone_on_copy`] suggestion machine applicable
278   [#5745](https://github.com/rust-lang/rust-clippy/pull/5745)
279 * Enable [`len_zero`] on ranges now that `is_empty` is stable on them
280   [#5961](https://github.com/rust-lang/rust-clippy/pull/5961)
281
282 ### False Positive Fixes
283
284 * Avoid triggering [`or_fun_call`] with const fns that take no arguments
285   [#5889](https://github.com/rust-lang/rust-clippy/pull/5889)
286 * Fix [`redundant_closure_call`] false positive for closures that have multiple calls
287   [#5800](https://github.com/rust-lang/rust-clippy/pull/5800)
288 * Don't lint cases involving `ManuallyDrop` in [`redundant_clone`]
289   [#5824](https://github.com/rust-lang/rust-clippy/pull/5824)
290 * Treat a single expression the same as a single statement in the 2nd arm of a match in [`single_match_else`]
291   [#5771](https://github.com/rust-lang/rust-clippy/pull/5771)
292 * Don't trigger [`unnested_or_patterns`] if the feature `or_patterns` is not enabled
293   [#5758](https://github.com/rust-lang/rust-clippy/pull/5758)
294 * Avoid linting if key borrows in [`unnecessary_sort_by`]
295   [#5756](https://github.com/rust-lang/rust-clippy/pull/5756)
296 * Consider `Try` impl for `Poll` when generating suggestions in [`try_err`]
297   [#5857](https://github.com/rust-lang/rust-clippy/pull/5857)
298 * Take input lifetimes into account in `manual_async_fn`
299   [#5859](https://github.com/rust-lang/rust-clippy/pull/5859)
300 * Fix multiple false positives in [`type_repetition_in_bounds`] and add a configuration option
301   [#5761](https://github.com/rust-lang/rust-clippy/pull/5761)
302 * Limit the [`suspicious_arithmetic_impl`] lint to one binary operation
303   [#5820](https://github.com/rust-lang/rust-clippy/pull/5820)
304
305 ### Suggestion Fixes/Improvements
306
307 * Improve readability of [`shadow_unrelated`] suggestion by truncating the RHS snippet
308   [#5788](https://github.com/rust-lang/rust-clippy/pull/5788)
309 * Suggest `filter_map` instead of `flat_map` when mapping to `Option` in [`map_flatten`]
310   [#5846](https://github.com/rust-lang/rust-clippy/pull/5846)
311 * Ensure suggestion is shown correctly for long method call chains in [`iter_nth_zero`]
312   [#5793](https://github.com/rust-lang/rust-clippy/pull/5793)
313 * Drop borrow operator in suggestions of [`redundant_pattern_matching`]
314   [#5815](https://github.com/rust-lang/rust-clippy/pull/5815)
315 * Add suggestion for [`iter_skip_next`]
316   [#5843](https://github.com/rust-lang/rust-clippy/pull/5843)
317 * Improve [`collapsible_if`] fix suggestion
318   [#5732](https://github.com/rust-lang/rust-clippy/pull/5732)
319
320 ### ICE Fixes
321
322 * Fix ICE caused by [`needless_collect`]
323   [#5877](https://github.com/rust-lang/rust-clippy/pull/5877)
324 * Fix ICE caused by [`unnested_or_patterns`]
325   [#5784](https://github.com/rust-lang/rust-clippy/pull/5784)
326
327 ### Documentation Improvements
328
329 * Fix grammar of [`await_holding_lock`] documentation
330   [#5748](https://github.com/rust-lang/rust-clippy/pull/5748)
331
332 ### Others
333
334 * Make lints adhere to the rustc dev guide
335   [#5888](https://github.com/rust-lang/rust-clippy/pull/5888)
336
337 ## Rust 1.46
338
339 Released 2020-08-27
340
341 [7ea7cd1...c2c07fa](https://github.com/rust-lang/rust-clippy/compare/7ea7cd1...c2c07fa)
342
343 ### New lints
344
345 * [`unnested_or_patterns`] [#5378](https://github.com/rust-lang/rust-clippy/pull/5378)
346 * [`iter_next_slice`] [#5597](https://github.com/rust-lang/rust-clippy/pull/5597)
347 * [`unnecessary_sort_by`] [#5623](https://github.com/rust-lang/rust-clippy/pull/5623)
348 * [`vec_resize_to_zero`] [#5637](https://github.com/rust-lang/rust-clippy/pull/5637)
349
350 ### Moves and Deprecations
351
352 * Move [`cast_ptr_alignment`] to pedantic [#5667](https://github.com/rust-lang/rust-clippy/pull/5667)
353
354 ### Enhancements
355
356 * Improve [`mem_replace_with_uninit`] lint [#5695](https://github.com/rust-lang/rust-clippy/pull/5695)
357
358 ### False Positive Fixes
359
360 * [`len_zero`]: Avoid linting ranges when the `range_is_empty` feature is not enabled
361   [#5656](https://github.com/rust-lang/rust-clippy/pull/5656)
362 * [`let_and_return`]: Don't lint if a temporary borrow is involved
363   [#5680](https://github.com/rust-lang/rust-clippy/pull/5680)
364 * [`reversed_empty_ranges`]: Avoid linting `N..N` in for loop arguments in
365   [#5692](https://github.com/rust-lang/rust-clippy/pull/5692)
366 * [`if_same_then_else`]: Don't assume multiplication is always commutative
367   [#5702](https://github.com/rust-lang/rust-clippy/pull/5702)
368 * [`blacklisted_name`]: Remove `bar` from the default configuration
369   [#5712](https://github.com/rust-lang/rust-clippy/pull/5712)
370 * [`redundant_pattern_matching`]: Avoid suggesting non-`const fn` calls in const contexts
371   [#5724](https://github.com/rust-lang/rust-clippy/pull/5724)
372
373 ### Suggestion Fixes/Improvements
374
375 * Fix suggestion of [`unit_arg`] lint, so that it suggest semantic equivalent code
376   [#4455](https://github.com/rust-lang/rust-clippy/pull/4455)
377 * Add auto applicable suggestion to [`macro_use_imports`]
378   [#5279](https://github.com/rust-lang/rust-clippy/pull/5279)
379
380 ### ICE Fixes
381
382 * Fix ICE in the `consts` module of Clippy [#5709](https://github.com/rust-lang/rust-clippy/pull/5709)
383
384 ### Documentation Improvements
385
386 * Improve code examples across multiple lints [#5664](https://github.com/rust-lang/rust-clippy/pull/5664)
387
388 ### Others
389
390 * Introduce a `--rustc` flag to `clippy-driver`, which turns `clippy-driver`
391   into `rustc` and passes all the given arguments to `rustc`. This is especially
392   useful for tools that need the `rustc` version Clippy was compiled with,
393   instead of the Clippy version. E.g. `clippy-driver --rustc --version` will
394   print the output of `rustc --version`.
395   [#5178](https://github.com/rust-lang/rust-clippy/pull/5178)
396 * New issue templates now make it easier to complain if Clippy is too annoying
397   or not annoying enough! [#5735](https://github.com/rust-lang/rust-clippy/pull/5735)
398
399 ## Rust 1.45
400
401 Released 2020-07-16
402
403 [891e1a8...7ea7cd1](https://github.com/rust-lang/rust-clippy/compare/891e1a8...7ea7cd1)
404
405 ### New lints
406
407 * [`match_wildcard_for_single_variants`] [#5582](https://github.com/rust-lang/rust-clippy/pull/5582)
408 * [`unsafe_derive_deserialize`] [#5493](https://github.com/rust-lang/rust-clippy/pull/5493)
409 * [`if_let_mutex`] [#5332](https://github.com/rust-lang/rust-clippy/pull/5332)
410 * [`mismatched_target_os`] [#5506](https://github.com/rust-lang/rust-clippy/pull/5506)
411 * [`await_holding_lock`] [#5439](https://github.com/rust-lang/rust-clippy/pull/5439)
412 * [`match_on_vec_items`] [#5522](https://github.com/rust-lang/rust-clippy/pull/5522)
413 * [`manual_async_fn`] [#5576](https://github.com/rust-lang/rust-clippy/pull/5576)
414 * [`reversed_empty_ranges`] [#5583](https://github.com/rust-lang/rust-clippy/pull/5583)
415 * [`manual_non_exhaustive`] [#5550](https://github.com/rust-lang/rust-clippy/pull/5550)
416
417 ### Moves and Deprecations
418
419 * Downgrade [`match_bool`] to pedantic [#5408](https://github.com/rust-lang/rust-clippy/pull/5408)
420 * Downgrade [`match_wild_err_arm`] to pedantic and update help messages. [#5622](https://github.com/rust-lang/rust-clippy/pull/5622)
421 * Downgrade [`useless_let_if_seq`] to nursery. [#5599](https://github.com/rust-lang/rust-clippy/pull/5599)
422 * Generalize `option_and_then_some` and rename to [`bind_instead_of_map`]. [#5529](https://github.com/rust-lang/rust-clippy/pull/5529)
423 * Rename `identity_conversion` to [`useless_conversion`]. [#5568](https://github.com/rust-lang/rust-clippy/pull/5568)
424 * Merge `block_in_if_condition_expr` and `block_in_if_condition_stmt` into [`blocks_in_if_conditions`].
425 [#5563](https://github.com/rust-lang/rust-clippy/pull/5563)
426 * Merge `option_map_unwrap_or`, `option_map_unwrap_or_else` and `result_map_unwrap_or_else` into [`map_unwrap_or`].
427 [#5563](https://github.com/rust-lang/rust-clippy/pull/5563)
428 * Merge `option_unwrap_used` and `result_unwrap_used` into [`unwrap_used`].
429 [#5563](https://github.com/rust-lang/rust-clippy/pull/5563)
430 * Merge `option_expect_used` and `result_expect_used` into [`expect_used`].
431 [#5563](https://github.com/rust-lang/rust-clippy/pull/5563)
432 * Merge `for_loop_over_option` and `for_loop_over_result` into [`for_loops_over_fallibles`].
433 [#5563](https://github.com/rust-lang/rust-clippy/pull/5563)
434
435 ### Enhancements
436
437 * Avoid running cargo lints when not enabled to improve performance. [#5505](https://github.com/rust-lang/rust-clippy/pull/5505)
438 * Extend [`useless_conversion`] with `TryFrom` and `TryInto`. [#5631](https://github.com/rust-lang/rust-clippy/pull/5631)
439 * Lint also in type parameters and where clauses in [`unused_unit`]. [#5592](https://github.com/rust-lang/rust-clippy/pull/5592)
440 * Do not suggest deriving `Default` in [`new_without_default`]. [#5616](https://github.com/rust-lang/rust-clippy/pull/5616)
441
442 ### False Positive Fixes
443
444 * [`while_let_on_iterator`] [#5525](https://github.com/rust-lang/rust-clippy/pull/5525)
445 * [`empty_line_after_outer_attr`] [#5609](https://github.com/rust-lang/rust-clippy/pull/5609)
446 * [`unnecessary_unwrap`] [#5558](https://github.com/rust-lang/rust-clippy/pull/5558)
447 * [`comparison_chain`] [#5596](https://github.com/rust-lang/rust-clippy/pull/5596)
448 * Don't trigger [`used_underscore_binding`] in await desugaring. [#5535](https://github.com/rust-lang/rust-clippy/pull/5535)
449 * Don't trigger [`borrowed_box`] on mutable references. [#5491](https://github.com/rust-lang/rust-clippy/pull/5491)
450 * Allow `1 << 0` in [`identity_op`]. [#5602](https://github.com/rust-lang/rust-clippy/pull/5602)
451 * Allow `use super::*;` glob imports in [`wildcard_imports`]. [#5564](https://github.com/rust-lang/rust-clippy/pull/5564)
452 * Whitelist more words in [`doc_markdown`]. [#5611](https://github.com/rust-lang/rust-clippy/pull/5611)
453 * Skip dev and build deps in [`multiple_crate_versions`]. [#5636](https://github.com/rust-lang/rust-clippy/pull/5636)
454 * Honor `allow` attribute on arguments in [`ptr_arg`]. [#5647](https://github.com/rust-lang/rust-clippy/pull/5647)
455 * Honor lint level attributes for [`redundant_field_names`], [`just_underscores_and_digits`], [`many_single_char_names`]
456 and [`similar_names`]. [#5651](https://github.com/rust-lang/rust-clippy/pull/5651)
457 * Ignore calls to `len` in [`or_fun_call`]. [#4429](https://github.com/rust-lang/rust-clippy/pull/4429)
458
459 ### Suggestion Improvements
460
461 * Simplify suggestions in [`manual_memcpy`]. [#5536](https://github.com/rust-lang/rust-clippy/pull/5536)
462 * Fix suggestion in [`redundant_pattern_matching`] for macros. [#5511](https://github.com/rust-lang/rust-clippy/pull/5511)
463 * Avoid suggesting `copied()` for mutable references in [`map_clone`]. [#5530](https://github.com/rust-lang/rust-clippy/pull/5530)
464 * Improve help message for [`clone_double_ref`]. [#5547](https://github.com/rust-lang/rust-clippy/pull/5547)
465
466 ### ICE Fixes
467
468 * Fix ICE caused in unwrap module. [#5590](https://github.com/rust-lang/rust-clippy/pull/5590)
469 * Fix ICE on rustc test issue-69020-assoc-const-arith-overflow.rs [#5499](https://github.com/rust-lang/rust-clippy/pull/5499)
470
471 ### Documentation
472
473 * Clarify the documentation of [`unnecessary_mut_passed`]. [#5639](https://github.com/rust-lang/rust-clippy/pull/5639)
474 * Extend example for [`unneeded_field_pattern`]. [#5541](https://github.com/rust-lang/rust-clippy/pull/5541)
475
476 ## Rust 1.44
477
478 Released 2020-06-04
479
480 [204bb9b...891e1a8](https://github.com/rust-lang/rust-clippy/compare/204bb9b...891e1a8)
481
482 ### New lints
483
484 * [`explicit_deref_methods`] [#5226](https://github.com/rust-lang/rust-clippy/pull/5226)
485 * [`implicit_saturating_sub`] [#5427](https://github.com/rust-lang/rust-clippy/pull/5427)
486 * [`macro_use_imports`] [#5230](https://github.com/rust-lang/rust-clippy/pull/5230)
487 * [`verbose_file_reads`] [#5272](https://github.com/rust-lang/rust-clippy/pull/5272)
488 * [`future_not_send`] [#5423](https://github.com/rust-lang/rust-clippy/pull/5423)
489 * [`redundant_pub_crate`] [#5319](https://github.com/rust-lang/rust-clippy/pull/5319)
490 * [`large_const_arrays`] [#5248](https://github.com/rust-lang/rust-clippy/pull/5248)
491 * [`result_map_or_into_option`] [#5415](https://github.com/rust-lang/rust-clippy/pull/5415)
492 * [`redundant_allocation`] [#5349](https://github.com/rust-lang/rust-clippy/pull/5349)
493 * [`fn_address_comparisons`] [#5294](https://github.com/rust-lang/rust-clippy/pull/5294)
494 * [`vtable_address_comparisons`] [#5294](https://github.com/rust-lang/rust-clippy/pull/5294)
495
496
497 ### Moves and Deprecations
498
499 * Deprecate [`replace_consts`] lint [#5380](https://github.com/rust-lang/rust-clippy/pull/5380)
500 * Move [`cognitive_complexity`] to nursery [#5428](https://github.com/rust-lang/rust-clippy/pull/5428)
501 * Move [`useless_transmute`] to nursery [#5364](https://github.com/rust-lang/rust-clippy/pull/5364)
502 * Downgrade [`inefficient_to_string`] to pedantic [#5412](https://github.com/rust-lang/rust-clippy/pull/5412)
503 * Downgrade [`option_option`] to pedantic [#5401](https://github.com/rust-lang/rust-clippy/pull/5401)
504 * Downgrade [`unreadable_literal`] to pedantic [#5419](https://github.com/rust-lang/rust-clippy/pull/5419)
505 * Downgrade [`let_unit_value`] to pedantic [#5409](https://github.com/rust-lang/rust-clippy/pull/5409)
506 * Downgrade [`trivially_copy_pass_by_ref`] to pedantic [#5410](https://github.com/rust-lang/rust-clippy/pull/5410)
507 * Downgrade [`implicit_hasher`] to pedantic [#5411](https://github.com/rust-lang/rust-clippy/pull/5411)
508
509 ### Enhancements
510
511 * On _nightly_ you can now use `cargo clippy --fix -Z unstable-options` to
512   auto-fix lints that support this [#5363](https://github.com/rust-lang/rust-clippy/pull/5363)
513 * Make [`redundant_clone`] also trigger on cases where the cloned value is not
514   consumed. [#5304](https://github.com/rust-lang/rust-clippy/pull/5304)
515 * Expand [`integer_arithmetic`] to also disallow bit-shifting [#5430](https://github.com/rust-lang/rust-clippy/pull/5430)
516 * [`option_as_ref_deref`] now detects more deref cases [#5425](https://github.com/rust-lang/rust-clippy/pull/5425)
517 * [`large_enum_variant`] now report the sizes of the largest and second-largest variants [#5466](https://github.com/rust-lang/rust-clippy/pull/5466)
518 * [`bool_comparison`] now also checks for inequality comparisons that can be
519   written more concisely [#5365](https://github.com/rust-lang/rust-clippy/pull/5365)
520 * Expand [`clone_on_copy`] to work in method call arguments as well [#5441](https://github.com/rust-lang/rust-clippy/pull/5441)
521 * [`redundant_pattern_matching`] now also handles `while let` [#5483](https://github.com/rust-lang/rust-clippy/pull/5483)
522 * [`integer_arithmetic`] now also lints references of integers [#5329](https://github.com/rust-lang/rust-clippy/pull/5329)
523 * Expand [`float_cmp_const`] to also work on arrays [#5345](https://github.com/rust-lang/rust-clippy/pull/5345)
524 * Trigger [`map_flatten`] when map is called on an `Option` [#5473](https://github.com/rust-lang/rust-clippy/pull/5473)
525
526 ### False Positive Fixes
527
528 * [`many_single_char_names`] [#5468](https://github.com/rust-lang/rust-clippy/pull/5468)
529 * [`should_implement_trait`] [#5437](https://github.com/rust-lang/rust-clippy/pull/5437)
530 * [`unused_self`] [#5387](https://github.com/rust-lang/rust-clippy/pull/5387)
531 * [`redundant_clone`] [#5453](https://github.com/rust-lang/rust-clippy/pull/5453)
532 * [`precedence`] [#5445](https://github.com/rust-lang/rust-clippy/pull/5445)
533 * [`suspicious_op_assign_impl`] [#5424](https://github.com/rust-lang/rust-clippy/pull/5424)
534 * [`needless_lifetimes`] [#5293](https://github.com/rust-lang/rust-clippy/pull/5293)
535 * [`redundant_pattern`] [#5287](https://github.com/rust-lang/rust-clippy/pull/5287)
536 * [`inconsistent_digit_grouping`] [#5451](https://github.com/rust-lang/rust-clippy/pull/5451)
537
538
539 ### Suggestion Improvements
540
541 * Improved [`question_mark`] lint suggestion so that it doesn't add redundant `as_ref()` [#5481](https://github.com/rust-lang/rust-clippy/pull/5481)
542 * Improve the suggested placeholder in [`option_map_unit_fn`] [#5292](https://github.com/rust-lang/rust-clippy/pull/5292)
543 * Improve suggestion for [`match_single_binding`] when triggered inside a closure [#5350](https://github.com/rust-lang/rust-clippy/pull/5350)
544
545 ### ICE Fixes
546
547 * Handle the unstable `trivial_bounds` feature [#5296](https://github.com/rust-lang/rust-clippy/pull/5296)
548 * `shadow_*` lints [#5297](https://github.com/rust-lang/rust-clippy/pull/5297)
549
550 ### Documentation
551
552 * Fix documentation generation for configurable lints [#5353](https://github.com/rust-lang/rust-clippy/pull/5353)
553 * Update documentation for [`new_ret_no_self`] [#5448](https://github.com/rust-lang/rust-clippy/pull/5448)
554 * The documentation for [`option_option`] now suggest using a tri-state enum [#5403](https://github.com/rust-lang/rust-clippy/pull/5403)
555 * Fix bit mask example in [`verbose_bit_mask`] documentation [#5454](https://github.com/rust-lang/rust-clippy/pull/5454)
556 * [`wildcard_imports`] documentation now mentions that `use ...::prelude::*` is
557   not linted [#5312](https://github.com/rust-lang/rust-clippy/pull/5312)
558
559 ## Rust 1.43
560
561 Released 2020-04-23
562
563 [4ee1206...204bb9b](https://github.com/rust-lang/rust-clippy/compare/4ee1206...204bb9b)
564
565 ### New lints
566
567 * [`imprecise_flops`] [#4897](https://github.com/rust-lang/rust-clippy/pull/4897)
568 * [`suboptimal_flops`] [#4897](https://github.com/rust-lang/rust-clippy/pull/4897)
569 * [`wildcard_imports`] [#5029](https://github.com/rust-lang/rust-clippy/pull/5029)
570 * [`single_component_path_imports`] [#5058](https://github.com/rust-lang/rust-clippy/pull/5058)
571 * [`match_single_binding`] [#5061](https://github.com/rust-lang/rust-clippy/pull/5061)
572 * [`let_underscore_lock`] [#5101](https://github.com/rust-lang/rust-clippy/pull/5101)
573 * [`struct_excessive_bools`] [#5125](https://github.com/rust-lang/rust-clippy/pull/5125)
574 * [`fn_params_excessive_bools`] [#5125](https://github.com/rust-lang/rust-clippy/pull/5125)
575 * [`option_env_unwrap`] [#5148](https://github.com/rust-lang/rust-clippy/pull/5148)
576 * [`lossy_float_literal`] [#5202](https://github.com/rust-lang/rust-clippy/pull/5202)
577 * [`rest_pat_in_fully_bound_structs`] [#5258](https://github.com/rust-lang/rust-clippy/pull/5258)
578
579 ### Moves and Deprecations
580
581 * Move [`unneeded_field_pattern`] to pedantic group [#5200](https://github.com/rust-lang/rust-clippy/pull/5200)
582
583 ### Enhancements
584
585 * Make [`missing_errors_doc`] lint also trigger on `async` functions
586   [#5181](https://github.com/rust-lang/rust-clippy/pull/5181)
587 * Add more constants to [`approx_constant`] [#5193](https://github.com/rust-lang/rust-clippy/pull/5193)
588 * Extend [`question_mark`] lint [#5266](https://github.com/rust-lang/rust-clippy/pull/5266)
589
590 ### False Positive Fixes
591
592 * [`use_debug`] [#5047](https://github.com/rust-lang/rust-clippy/pull/5047)
593 * [`unnecessary_unwrap`] [#5132](https://github.com/rust-lang/rust-clippy/pull/5132)
594 * [`zero_prefixed_literal`] [#5170](https://github.com/rust-lang/rust-clippy/pull/5170)
595 * [`missing_const_for_fn`] [#5216](https://github.com/rust-lang/rust-clippy/pull/5216)
596
597 ### Suggestion Improvements
598
599 * Improve suggestion when blocks of code are suggested [#5134](https://github.com/rust-lang/rust-clippy/pull/5134)
600
601 ### ICE Fixes
602
603 * `misc_early` lints [#5129](https://github.com/rust-lang/rust-clippy/pull/5129)
604 * [`missing_errors_doc`] [#5213](https://github.com/rust-lang/rust-clippy/pull/5213)
605 * Fix ICE when evaluating `usize`s [#5256](https://github.com/rust-lang/rust-clippy/pull/5256)
606
607 ### Documentation
608
609 * Improve documentation of [`iter_nth_zero`]
610 * Add documentation pages for stable releases [#5171](https://github.com/rust-lang/rust-clippy/pull/5171)
611
612 ### Others
613
614 * Clippy now completely runs on GitHub Actions [#5190](https://github.com/rust-lang/rust-clippy/pull/5190)
615
616
617 ## Rust 1.42
618
619 Released 2020-03-12
620
621 [69f99e7...4ee1206](https://github.com/rust-lang/rust-clippy/compare/69f99e7...4ee1206)
622
623 ### New lints
624
625 * [`filetype_is_file`] [#4543](https://github.com/rust-lang/rust-clippy/pull/4543)
626 * [`let_underscore_must_use`] [#4823](https://github.com/rust-lang/rust-clippy/pull/4823)
627 * [`modulo_arithmetic`] [#4867](https://github.com/rust-lang/rust-clippy/pull/4867)
628 * [`mem_replace_with_default`] [#4881](https://github.com/rust-lang/rust-clippy/pull/4881)
629 * [`mutable_key_type`] [#4885](https://github.com/rust-lang/rust-clippy/pull/4885)
630 * [`option_as_ref_deref`] [#4945](https://github.com/rust-lang/rust-clippy/pull/4945)
631 * [`wildcard_in_or_patterns`] [#4960](https://github.com/rust-lang/rust-clippy/pull/4960)
632 * [`iter_nth_zero`] [#4966](https://github.com/rust-lang/rust-clippy/pull/4966)
633 * [`invalid_atomic_ordering`] [#4999](https://github.com/rust-lang/rust-clippy/pull/4999)
634 * [`skip_while_next`] [#5067](https://github.com/rust-lang/rust-clippy/pull/5067)
635
636 ### Moves and Deprecations
637
638 * Move [`transmute_float_to_int`] from nursery to complexity group
639   [#5015](https://github.com/rust-lang/rust-clippy/pull/5015)
640 * Move [`range_plus_one`] to pedantic group [#5057](https://github.com/rust-lang/rust-clippy/pull/5057)
641 * Move [`debug_assert_with_mut_call`] to nursery group [#5106](https://github.com/rust-lang/rust-clippy/pull/5106)
642 * Deprecate [`unused_label`] [#4930](https://github.com/rust-lang/rust-clippy/pull/4930)
643
644 ### Enhancements
645
646 * Lint vectored IO in [`unused_io_amount`] [#5027](https://github.com/rust-lang/rust-clippy/pull/5027)
647 * Make [`vec_box`] configurable by adding a size threshold [#5081](https://github.com/rust-lang/rust-clippy/pull/5081)
648 * Also lint constants in [`cmp_nan`] [#4910](https://github.com/rust-lang/rust-clippy/pull/4910)
649 * Fix false negative in [`expect_fun_call`] [#4915](https://github.com/rust-lang/rust-clippy/pull/4915)
650 * Fix false negative in [`redundant_clone`] [#5017](https://github.com/rust-lang/rust-clippy/pull/5017)
651
652 ### False Positive Fixes
653
654 * [`map_clone`] [#4937](https://github.com/rust-lang/rust-clippy/pull/4937)
655 * [`replace_consts`] [#4977](https://github.com/rust-lang/rust-clippy/pull/4977)
656 * [`let_and_return`] [#5008](https://github.com/rust-lang/rust-clippy/pull/5008)
657 * [`eq_op`] [#5079](https://github.com/rust-lang/rust-clippy/pull/5079)
658 * [`possible_missing_comma`] [#5083](https://github.com/rust-lang/rust-clippy/pull/5083)
659 * [`debug_assert_with_mut_call`] [#5106](https://github.com/rust-lang/rust-clippy/pull/5106)
660 * Don't trigger [`let_underscore_must_use`] in external macros
661   [#5082](https://github.com/rust-lang/rust-clippy/pull/5082)
662 * Don't trigger [`empty_loop`] in `no_std` crates [#5086](https://github.com/rust-lang/rust-clippy/pull/5086)
663
664 ### Suggestion Improvements
665
666 * `option_map_unwrap_or` [#4634](https://github.com/rust-lang/rust-clippy/pull/4634)
667 * [`wildcard_enum_match_arm`] [#4934](https://github.com/rust-lang/rust-clippy/pull/4934)
668 * [`cognitive_complexity`] [#4935](https://github.com/rust-lang/rust-clippy/pull/4935)
669 * [`decimal_literal_representation`] [#4956](https://github.com/rust-lang/rust-clippy/pull/4956)
670 * [`unknown_clippy_lints`] [#4963](https://github.com/rust-lang/rust-clippy/pull/4963)
671 * [`explicit_into_iter_loop`] [#4978](https://github.com/rust-lang/rust-clippy/pull/4978)
672 * [`useless_attribute`] [#5022](https://github.com/rust-lang/rust-clippy/pull/5022)
673 * [`if_let_some_result`] [#5032](https://github.com/rust-lang/rust-clippy/pull/5032)
674
675 ### ICE fixes
676
677 * [`unsound_collection_transmute`] [#4975](https://github.com/rust-lang/rust-clippy/pull/4975)
678
679 ### Documentation
680
681 * Improve documentation of [`empty_enum`], [`replace_consts`], [`redundant_clone`], and [`iterator_step_by_zero`]
682
683
684 ## Rust 1.41
685
686 Released 2020-01-30
687
688 [c8e3cfb...69f99e7](https://github.com/rust-lang/rust-clippy/compare/c8e3cfb...69f99e7)
689
690 * New Lints:
691   * [`exit`] [#4697](https://github.com/rust-lang/rust-clippy/pull/4697)
692   * [`to_digit_is_some`] [#4801](https://github.com/rust-lang/rust-clippy/pull/4801)
693   * [`tabs_in_doc_comments`] [#4806](https://github.com/rust-lang/rust-clippy/pull/4806)
694   * [`large_stack_arrays`] [#4807](https://github.com/rust-lang/rust-clippy/pull/4807)
695   * [`same_functions_in_if_condition`] [#4814](https://github.com/rust-lang/rust-clippy/pull/4814)
696   * [`zst_offset`] [#4816](https://github.com/rust-lang/rust-clippy/pull/4816)
697   * [`as_conversions`] [#4821](https://github.com/rust-lang/rust-clippy/pull/4821)
698   * [`missing_errors_doc`] [#4884](https://github.com/rust-lang/rust-clippy/pull/4884)
699   * [`transmute_float_to_int`] [#4889](https://github.com/rust-lang/rust-clippy/pull/4889)
700 * Remove plugin interface, see
701   [Inside Rust Blog](https://blog.rust-lang.org/inside-rust/2019/11/04/Clippy-removes-plugin-interface.html) for
702   details [#4714](https://github.com/rust-lang/rust-clippy/pull/4714)
703 * Move [`use_self`] to nursery group [#4863](https://github.com/rust-lang/rust-clippy/pull/4863)
704 * Deprecate [`into_iter_on_array`] [#4788](https://github.com/rust-lang/rust-clippy/pull/4788)
705 * Expand [`string_lit_as_bytes`] to also trigger when literal has escapes
706   [#4808](https://github.com/rust-lang/rust-clippy/pull/4808)
707 * Fix false positive in `comparison_chain` [#4842](https://github.com/rust-lang/rust-clippy/pull/4842)
708 * Fix false positive in `while_immutable_condition` [#4730](https://github.com/rust-lang/rust-clippy/pull/4730)
709 * Fix false positive in `explicit_counter_loop` [#4803](https://github.com/rust-lang/rust-clippy/pull/4803)
710 * Fix false positive in `must_use_candidate` [#4794](https://github.com/rust-lang/rust-clippy/pull/4794)
711 * Fix false positive in `print_with_newline` and `write_with_newline`
712   [#4769](https://github.com/rust-lang/rust-clippy/pull/4769)
713 * Fix false positive in `derive_hash_xor_eq` [#4766](https://github.com/rust-lang/rust-clippy/pull/4766)
714 * Fix false positive in `missing_inline_in_public_items` [#4870](https://github.com/rust-lang/rust-clippy/pull/4870)
715 * Fix false positive in `string_add` [#4880](https://github.com/rust-lang/rust-clippy/pull/4880)
716 * Fix false positive in `float_arithmetic` [#4851](https://github.com/rust-lang/rust-clippy/pull/4851)
717 * Fix false positive in `cast_sign_loss` [#4883](https://github.com/rust-lang/rust-clippy/pull/4883)
718 * Fix false positive in `manual_swap` [#4877](https://github.com/rust-lang/rust-clippy/pull/4877)
719 * Fix ICEs occurring while checking some block expressions [#4772](https://github.com/rust-lang/rust-clippy/pull/4772)
720 * Fix ICE in `use_self` [#4776](https://github.com/rust-lang/rust-clippy/pull/4776)
721 * Fix ICEs related to `const_generics` [#4780](https://github.com/rust-lang/rust-clippy/pull/4780)
722 * Display help when running `clippy-driver` without arguments, instead of ICEing
723   [#4810](https://github.com/rust-lang/rust-clippy/pull/4810)
724 * Clippy has its own ICE message now [#4588](https://github.com/rust-lang/rust-clippy/pull/4588)
725 * Show deprecated lints in the documentation again [#4757](https://github.com/rust-lang/rust-clippy/pull/4757)
726 * Improve Documentation by adding positive examples to some lints
727   [#4832](https://github.com/rust-lang/rust-clippy/pull/4832)
728
729 ## Rust 1.40
730
731 Released 2019-12-19
732
733 [4e7e71b...c8e3cfb](https://github.com/rust-lang/rust-clippy/compare/4e7e71b...c8e3cfb)
734
735 * New Lints:
736   * [`unneeded_wildcard_pattern`] [#4537](https://github.com/rust-lang/rust-clippy/pull/4537)
737   * [`needless_doctest_main`] [#4603](https://github.com/rust-lang/rust-clippy/pull/4603)
738   * [`suspicious_unary_op_formatting`] [#4615](https://github.com/rust-lang/rust-clippy/pull/4615)
739   * [`debug_assert_with_mut_call`] [#4680](https://github.com/rust-lang/rust-clippy/pull/4680)
740   * [`unused_self`] [#4619](https://github.com/rust-lang/rust-clippy/pull/4619)
741   * [`inefficient_to_string`] [#4683](https://github.com/rust-lang/rust-clippy/pull/4683)
742   * [`must_use_unit`] [#4560](https://github.com/rust-lang/rust-clippy/pull/4560)
743   * [`must_use_candidate`] [#4560](https://github.com/rust-lang/rust-clippy/pull/4560)
744   * [`double_must_use`] [#4560](https://github.com/rust-lang/rust-clippy/pull/4560)
745   * [`comparison_chain`] [#4569](https://github.com/rust-lang/rust-clippy/pull/4569)
746   * [`unsound_collection_transmute`] [#4592](https://github.com/rust-lang/rust-clippy/pull/4592)
747   * [`panic`] [#4657](https://github.com/rust-lang/rust-clippy/pull/4657)
748   * [`unreachable`] [#4657](https://github.com/rust-lang/rust-clippy/pull/4657)
749   * [`todo`] [#4657](https://github.com/rust-lang/rust-clippy/pull/4657)
750   * `option_expect_used` [#4657](https://github.com/rust-lang/rust-clippy/pull/4657)
751   * `result_expect_used` [#4657](https://github.com/rust-lang/rust-clippy/pull/4657)
752 * Move `redundant_clone` to perf group [#4509](https://github.com/rust-lang/rust-clippy/pull/4509)
753 * Move `manual_mul_add` to nursery group [#4736](https://github.com/rust-lang/rust-clippy/pull/4736)
754 * Expand `unit_cmp` to also work with `assert_eq!`, `debug_assert_eq!`, `assert_ne!` and `debug_assert_ne!` [#4613](https://github.com/rust-lang/rust-clippy/pull/4613)
755 * Expand `integer_arithmetic` to also detect mutating arithmetic like `+=` [#4585](https://github.com/rust-lang/rust-clippy/pull/4585)
756 * Fix false positive in `nonminimal_bool` [#4568](https://github.com/rust-lang/rust-clippy/pull/4568)
757 * Fix false positive in `missing_safety_doc` [#4611](https://github.com/rust-lang/rust-clippy/pull/4611)
758 * Fix false positive in `cast_sign_loss` [#4614](https://github.com/rust-lang/rust-clippy/pull/4614)
759 * Fix false positive in `redundant_clone` [#4509](https://github.com/rust-lang/rust-clippy/pull/4509)
760 * Fix false positive in `try_err` [#4721](https://github.com/rust-lang/rust-clippy/pull/4721)
761 * Fix false positive in `toplevel_ref_arg` [#4570](https://github.com/rust-lang/rust-clippy/pull/4570)
762 * Fix false positive in `multiple_inherent_impl` [#4593](https://github.com/rust-lang/rust-clippy/pull/4593)
763 * Improve more suggestions and tests in preparation for the unstable `cargo fix --clippy` [#4575](https://github.com/rust-lang/rust-clippy/pull/4575)
764 * Improve suggestion for `zero_ptr` [#4599](https://github.com/rust-lang/rust-clippy/pull/4599)
765 * Improve suggestion for `explicit_counter_loop` [#4691](https://github.com/rust-lang/rust-clippy/pull/4691)
766 * Improve suggestion for `mul_add` [#4602](https://github.com/rust-lang/rust-clippy/pull/4602)
767 * Improve suggestion for `assertions_on_constants` [#4635](https://github.com/rust-lang/rust-clippy/pull/4635)
768 * Fix ICE in `use_self` [#4671](https://github.com/rust-lang/rust-clippy/pull/4671)
769 * Fix ICE when encountering const casts [#4590](https://github.com/rust-lang/rust-clippy/pull/4590)
770
771 ## Rust 1.39
772
773 Released 2019-11-07
774
775 [3aea860...4e7e71b](https://github.com/rust-lang/rust-clippy/compare/3aea860...4e7e71b)
776
777 * New Lints:
778   * [`uninit_assumed_init`] [#4479](https://github.com/rust-lang/rust-clippy/pull/4479)
779   * [`flat_map_identity`] [#4231](https://github.com/rust-lang/rust-clippy/pull/4231)
780   * [`missing_safety_doc`] [#4535](https://github.com/rust-lang/rust-clippy/pull/4535)
781   * [`mem_replace_with_uninit`] [#4511](https://github.com/rust-lang/rust-clippy/pull/4511)
782   * [`suspicious_map`] [#4394](https://github.com/rust-lang/rust-clippy/pull/4394)
783   * `option_and_then_some` [#4386](https://github.com/rust-lang/rust-clippy/pull/4386)
784   * [`manual_saturating_arithmetic`] [#4498](https://github.com/rust-lang/rust-clippy/pull/4498)
785 * Deprecate `unused_collect` lint. This is fully covered by rustc's `#[must_use]` on `collect` [#4348](https://github.com/rust-lang/rust-clippy/pull/4348)
786 * Move `type_repetition_in_bounds` to pedantic group [#4403](https://github.com/rust-lang/rust-clippy/pull/4403)
787 * Move `cast_lossless` to pedantic group [#4539](https://github.com/rust-lang/rust-clippy/pull/4539)
788 * `temporary_cstring_as_ptr` now catches more cases [#4425](https://github.com/rust-lang/rust-clippy/pull/4425)
789 * `use_self` now works in constructors, too [#4525](https://github.com/rust-lang/rust-clippy/pull/4525)
790 * `cargo_common_metadata` now checks for license files [#4518](https://github.com/rust-lang/rust-clippy/pull/4518)
791 * `cognitive_complexity` now includes the measured complexity in the warning message [#4469](https://github.com/rust-lang/rust-clippy/pull/4469)
792 * Fix false positives in `block_in_if_*` lints [#4458](https://github.com/rust-lang/rust-clippy/pull/4458)
793 * Fix false positive in `cast_lossless` [#4473](https://github.com/rust-lang/rust-clippy/pull/4473)
794 * Fix false positive in `clone_on_copy` [#4411](https://github.com/rust-lang/rust-clippy/pull/4411)
795 * Fix false positive in `deref_addrof` [#4487](https://github.com/rust-lang/rust-clippy/pull/4487)
796 * Fix false positive in `too_many_lines` [#4490](https://github.com/rust-lang/rust-clippy/pull/4490)
797 * Fix false positive in `new_ret_no_self` [#4365](https://github.com/rust-lang/rust-clippy/pull/4365)
798 * Fix false positive in `manual_swap` [#4478](https://github.com/rust-lang/rust-clippy/pull/4478)
799 * Fix false positive in `missing_const_for_fn` [#4450](https://github.com/rust-lang/rust-clippy/pull/4450)
800 * Fix false positive in `extra_unused_lifetimes` [#4477](https://github.com/rust-lang/rust-clippy/pull/4477)
801 * Fix false positive in `inherent_to_string` [#4460](https://github.com/rust-lang/rust-clippy/pull/4460)
802 * Fix false positive in `map_entry` [#4495](https://github.com/rust-lang/rust-clippy/pull/4495)
803 * Fix false positive in `unused_unit` [#4445](https://github.com/rust-lang/rust-clippy/pull/4445)
804 * Fix false positive in `redundant_pattern` [#4489](https://github.com/rust-lang/rust-clippy/pull/4489)
805 * Fix false positive in `wrong_self_convention` [#4369](https://github.com/rust-lang/rust-clippy/pull/4369)
806 * Improve various suggestions and tests in preparation for the unstable `cargo fix --clippy` [#4558](https://github.com/rust-lang/rust-clippy/pull/4558)
807 * Improve suggestions for `redundant_pattern_matching` [#4352](https://github.com/rust-lang/rust-clippy/pull/4352)
808 * Improve suggestions for `explicit_write` [#4544](https://github.com/rust-lang/rust-clippy/pull/4544)
809 * Improve suggestion for `or_fun_call` [#4522](https://github.com/rust-lang/rust-clippy/pull/4522)
810 * Improve suggestion for `match_as_ref` [#4446](https://github.com/rust-lang/rust-clippy/pull/4446)
811 * Improve suggestion for `unnecessary_fold_span` [#4382](https://github.com/rust-lang/rust-clippy/pull/4382)
812 * Add suggestions for `unseparated_literal_suffix` [#4401](https://github.com/rust-lang/rust-clippy/pull/4401)
813 * Add suggestions for `char_lit_as_u8` [#4418](https://github.com/rust-lang/rust-clippy/pull/4418)
814
815 ## Rust 1.38
816
817 Released 2019-09-26
818
819 [e3cb40e...3aea860](https://github.com/rust-lang/rust-clippy/compare/e3cb40e...3aea860)
820
821 * New Lints:
822   * [`main_recursion`] [#4203](https://github.com/rust-lang/rust-clippy/pull/4203)
823   * [`inherent_to_string`] [#4259](https://github.com/rust-lang/rust-clippy/pull/4259)
824   * [`inherent_to_string_shadow_display`] [#4259](https://github.com/rust-lang/rust-clippy/pull/4259)
825   * [`type_repetition_in_bounds`] [#3766](https://github.com/rust-lang/rust-clippy/pull/3766)
826   * [`try_err`] [#4222](https://github.com/rust-lang/rust-clippy/pull/4222)
827 * Move `{unnnecessary,panicking}_unwrap` out of nursery [#4307](https://github.com/rust-lang/rust-clippy/pull/4307)
828 * Extend the `use_self` lint to suggest uses of `Self::Variant` [#4308](https://github.com/rust-lang/rust-clippy/pull/4308)
829 * Improve suggestion for needless return [#4262](https://github.com/rust-lang/rust-clippy/pull/4262)
830 * Add auto-fixable suggestion for `let_unit` [#4337](https://github.com/rust-lang/rust-clippy/pull/4337)
831 * Fix false positive in `pub_enum_variant_names` and `enum_variant_names` [#4345](https://github.com/rust-lang/rust-clippy/pull/4345)
832 * Fix false positive in `cast_ptr_alignment` [#4257](https://github.com/rust-lang/rust-clippy/pull/4257)
833 * Fix false positive in `string_lit_as_bytes` [#4233](https://github.com/rust-lang/rust-clippy/pull/4233)
834 * Fix false positive in `needless_lifetimes` [#4266](https://github.com/rust-lang/rust-clippy/pull/4266)
835 * Fix false positive in `float_cmp` [#4275](https://github.com/rust-lang/rust-clippy/pull/4275)
836 * Fix false positives in `needless_return` [#4274](https://github.com/rust-lang/rust-clippy/pull/4274)
837 * Fix false negative in `match_same_arms` [#4246](https://github.com/rust-lang/rust-clippy/pull/4246)
838 * Fix incorrect suggestion for `needless_bool` [#4335](https://github.com/rust-lang/rust-clippy/pull/4335)
839 * Improve suggestion for `cast_ptr_alignment` [#4257](https://github.com/rust-lang/rust-clippy/pull/4257)
840 * Improve suggestion for `single_char_literal` [#4361](https://github.com/rust-lang/rust-clippy/pull/4361)
841 * Improve suggestion for `len_zero` [#4314](https://github.com/rust-lang/rust-clippy/pull/4314)
842 * Fix ICE in `implicit_hasher` [#4268](https://github.com/rust-lang/rust-clippy/pull/4268)
843 * Fix allow bug in `trivially_copy_pass_by_ref` [#4250](https://github.com/rust-lang/rust-clippy/pull/4250)
844
845 ## Rust 1.37
846
847 Released 2019-08-15
848
849 [082cfa7...e3cb40e](https://github.com/rust-lang/rust-clippy/compare/082cfa7...e3cb40e)
850
851 * New Lints:
852   * [`checked_conversions`] [#4088](https://github.com/rust-lang/rust-clippy/pull/4088)
853   * [`get_last_with_len`] [#3832](https://github.com/rust-lang/rust-clippy/pull/3832)
854   * [`integer_division`] [#4195](https://github.com/rust-lang/rust-clippy/pull/4195)
855 * Renamed Lint: `const_static_lifetime` is now called [`redundant_static_lifetimes`].
856   The lint now covers statics in addition to consts [#4162](https://github.com/rust-lang/rust-clippy/pull/4162)
857 * [`match_same_arms`] now warns for all identical arms, instead of only the first one [#4102](https://github.com/rust-lang/rust-clippy/pull/4102)
858 * [`needless_return`] now works with void functions [#4220](https://github.com/rust-lang/rust-clippy/pull/4220)
859 * Fix false positive in [`redundant_closure`] [#4190](https://github.com/rust-lang/rust-clippy/pull/4190)
860 * Fix false positive in [`useless_attribute`] [#4107](https://github.com/rust-lang/rust-clippy/pull/4107)
861 * Fix incorrect suggestion for [`float_cmp`] [#4214](https://github.com/rust-lang/rust-clippy/pull/4214)
862 * Add suggestions for [`print_with_newline`] and [`write_with_newline`] [#4136](https://github.com/rust-lang/rust-clippy/pull/4136)
863 * Improve suggestions for `option_map_unwrap_or_else` and `result_map_unwrap_or_else` [#4164](https://github.com/rust-lang/rust-clippy/pull/4164)
864 * Improve suggestions for [`non_ascii_literal`] [#4119](https://github.com/rust-lang/rust-clippy/pull/4119)
865 * Improve diagnostics for [`let_and_return`] [#4137](https://github.com/rust-lang/rust-clippy/pull/4137)
866 * Improve diagnostics for [`trivially_copy_pass_by_ref`] [#4071](https://github.com/rust-lang/rust-clippy/pull/4071)
867 * Add macro check for [`unreadable_literal`] [#4099](https://github.com/rust-lang/rust-clippy/pull/4099)
868
869 ## Rust 1.36
870
871 Released 2019-07-04
872
873 [eb9f9b1...082cfa7](https://github.com/rust-lang/rust-clippy/compare/eb9f9b1...082cfa7)
874
875 * New lints: [`find_map`], [`filter_map_next`] [#4039](https://github.com/rust-lang/rust-clippy/pull/4039)
876 * New lint: [`path_buf_push_overwrite`] [#3954](https://github.com/rust-lang/rust-clippy/pull/3954)
877 * Move `path_buf_push_overwrite` to the nursery [#4013](https://github.com/rust-lang/rust-clippy/pull/4013)
878 * Split [`redundant_closure`] into [`redundant_closure`] and [`redundant_closure_for_method_calls`] [#4110](https://github.com/rust-lang/rust-clippy/pull/4101)
879 * Allow allowing of [`toplevel_ref_arg`] lint [#4007](https://github.com/rust-lang/rust-clippy/pull/4007)
880 * Fix false negative in [`or_fun_call`] pertaining to nested constructors [#4084](https://github.com/rust-lang/rust-clippy/pull/4084)
881 * Fix false positive in [`or_fun_call`] pertaining to enum variant constructors [#4018](https://github.com/rust-lang/rust-clippy/pull/4018)
882 * Fix false positive in [`useless_let_if_seq`] pertaining to interior mutability [#4035](https://github.com/rust-lang/rust-clippy/pull/4035)
883 * Fix false positive in [`redundant_closure`] pertaining to non-function types [#4008](https://github.com/rust-lang/rust-clippy/pull/4008)
884 * Fix false positive in [`let_and_return`] pertaining to attributes on `let`s [#4024](https://github.com/rust-lang/rust-clippy/pull/4024)
885 * Fix false positive in [`module_name_repetitions`] lint pertaining to attributes [#4006](https://github.com/rust-lang/rust-clippy/pull/4006)
886 * Fix false positive on [`assertions_on_constants`] pertaining to `debug_assert!` [#3989](https://github.com/rust-lang/rust-clippy/pull/3989)
887 * Improve suggestion in [`map_clone`] to suggest `.copied()` where applicable  [#3970](https://github.com/rust-lang/rust-clippy/pull/3970) [#4043](https://github.com/rust-lang/rust-clippy/pull/4043)
888 * Improve suggestion for [`search_is_some`] [#4049](https://github.com/rust-lang/rust-clippy/pull/4049)
889 * Improve suggestion applicability for [`naive_bytecount`] [#3984](https://github.com/rust-lang/rust-clippy/pull/3984)
890 * Improve suggestion applicability for [`while_let_loop`] [#3975](https://github.com/rust-lang/rust-clippy/pull/3975)
891 * Improve diagnostics for [`too_many_arguments`] [#4053](https://github.com/rust-lang/rust-clippy/pull/4053)
892 * Improve diagnostics for [`cast_lossless`] [#4021](https://github.com/rust-lang/rust-clippy/pull/4021)
893 * Deal with macro checks in desugarings better [#4082](https://github.com/rust-lang/rust-clippy/pull/4082)
894 * Add macro check for [`unnecessary_cast`]  [#4026](https://github.com/rust-lang/rust-clippy/pull/4026)
895 * Remove [`approx_constant`]'s documentation's "Known problems" section. [#4027](https://github.com/rust-lang/rust-clippy/pull/4027)
896 * Fix ICE in [`suspicious_else_formatting`] [#3960](https://github.com/rust-lang/rust-clippy/pull/3960)
897 * Fix ICE in [`decimal_literal_representation`] [#3931](https://github.com/rust-lang/rust-clippy/pull/3931)
898
899
900 ## Rust 1.35
901
902 Released 2019-05-20
903
904 [1fac380..37f5c1e](https://github.com/rust-lang/rust-clippy/compare/1fac380...37f5c1e)
905
906 * New lint: [`drop_bounds`] to detect `T: Drop` bounds
907 * Split [`redundant_closure`] into [`redundant_closure`] and [`redundant_closure_for_method_calls`] [#4110](https://github.com/rust-lang/rust-clippy/pull/4101)
908 * Rename `cyclomatic_complexity` to [`cognitive_complexity`], start work on making lint more practical for Rust code
909 * Move [`get_unwrap`] to the restriction category
910 * Improve suggestions for [`iter_cloned_collect`]
911 * Improve suggestions for [`cast_lossless`] to suggest suffixed literals
912 * Fix false positives in [`print_with_newline`] and [`write_with_newline`] pertaining to raw strings
913 * Fix false positive in [`needless_range_loop`] pertaining to structs without a `.iter()`
914 * Fix false positive in [`bool_comparison`] pertaining to non-bool types
915 * Fix false positive in [`redundant_closure`] pertaining to differences in borrows
916 * Fix false positive in `option_map_unwrap_or` on non-copy types
917 * Fix false positives in [`missing_const_for_fn`] pertaining to macros and trait method impls
918 * Fix false positive in [`needless_pass_by_value`] pertaining to procedural macros
919 * Fix false positive in [`needless_continue`] pertaining to loop labels
920 * Fix false positive for [`boxed_local`] pertaining to arguments moved into closures
921 * Fix false positive for [`use_self`] in nested functions
922 * Fix suggestion for [`expect_fun_call`] (https://github.com/rust-lang/rust-clippy/pull/3846)
923 * Fix suggestion for [`explicit_counter_loop`] to deal with parenthesizing range variables
924 * Fix suggestion for [`single_char_pattern`] to correctly escape single quotes
925 * Avoid triggering [`redundant_closure`] in macros
926 * ICE fixes: [#3805](https://github.com/rust-lang/rust-clippy/pull/3805), [#3772](https://github.com/rust-lang/rust-clippy/pull/3772), [#3741](https://github.com/rust-lang/rust-clippy/pull/3741)
927
928 ## Rust 1.34
929
930 Released 2019-04-10
931
932 [1b89724...1fac380](https://github.com/rust-lang/rust-clippy/compare/1b89724...1fac380)
933
934 * New lint: [`assertions_on_constants`] to detect for example `assert!(true)`
935 * New lint: [`dbg_macro`] to detect uses of the `dbg!` macro
936 * New lint: [`missing_const_for_fn`] that can suggest functions to be made `const`
937 * New lint: [`too_many_lines`] to detect functions with excessive LOC. It can be
938   configured using the `too-many-lines-threshold` configuration.
939 * New lint: [`wildcard_enum_match_arm`] to check for wildcard enum matches using `_`
940 * Expand `redundant_closure` to also work for methods (not only functions)
941 * Fix ICEs in `vec_box`, `needless_pass_by_value` and `implicit_hasher`
942 * Fix false positive in `cast_sign_loss`
943 * Fix false positive in `integer_arithmetic`
944 * Fix false positive in `unit_arg`
945 * Fix false positives in `implicit_return`
946 * Add suggestion to `explicit_write`
947 * Improve suggestions for `question_mark` lint
948 * Fix incorrect suggestion for `cast_lossless`
949 * Fix incorrect suggestion for `expect_fun_call`
950 * Fix incorrect suggestion for `needless_bool`
951 * Fix incorrect suggestion for `needless_range_loop`
952 * Fix incorrect suggestion for `use_self`
953 * Fix incorrect suggestion for `while_let_on_iterator`
954 * Clippy is now slightly easier to invoke in non-cargo contexts. See
955   [#3665][pull3665] for more details.
956 * We now have [improved documentation][adding_lints] on how to add new lints
957
958 ## Rust 1.33
959
960 Released 2019-02-26
961
962 [b2601be...1b89724](https://github.com/rust-lang/rust-clippy/compare/b2601be...1b89724)
963
964 * New lints: [`implicit_return`], [`vec_box`], [`cast_ref_to_mut`]
965 * The `rust-clippy` repository is now part of the `rust-lang` org.
966 * Rename `stutter` to `module_name_repetitions`
967 * Merge `new_without_default_derive` into `new_without_default` lint
968 * Move `large_digit_groups` from `style` group to `pedantic`
969 * Expand `bool_comparison` to check for `<`, `<=`, `>`, `>=`, and `!=`
970   comparisons against booleans
971 * Expand `no_effect` to detect writes to constants such as `A_CONST.field = 2`
972 * Expand `redundant_clone` to work on struct fields
973 * Expand `suspicious_else_formatting` to detect `if .. {..} {..}`
974 * Expand `use_self` to work on tuple structs and also in local macros
975 * Fix ICE in `result_map_unit_fn` and `option_map_unit_fn`
976 * Fix false positives in `implicit_return`
977 * Fix false positives in `use_self`
978 * Fix false negative in `clone_on_copy`
979 * Fix false positive in `doc_markdown`
980 * Fix false positive in `empty_loop`
981 * Fix false positive in `if_same_then_else`
982 * Fix false positive in `infinite_iter`
983 * Fix false positive in `question_mark`
984 * Fix false positive in `useless_asref`
985 * Fix false positive in `wildcard_dependencies`
986 * Fix false positive in `write_with_newline`
987 * Add suggestion to `explicit_write`
988 * Improve suggestions for `question_mark` lint
989 * Fix incorrect suggestion for `get_unwrap`
990
991 ## Rust 1.32
992
993 Released 2019-01-17
994
995 [2e26fdc2...b2601be](https://github.com/rust-lang/rust-clippy/compare/2e26fdc2...b2601be)
996
997 * New lints: [`slow_vector_initialization`], [`mem_discriminant_non_enum`],
998   [`redundant_clone`], [`wildcard_dependencies`],
999   [`into_iter_on_ref`], [`into_iter_on_array`], [`deprecated_cfg_attr`],
1000   [`mem_discriminant_non_enum`], [`cargo_common_metadata`]
1001 * Add support for `u128` and `i128` to integer related lints
1002 * Add float support to `mistyped_literal_suffixes`
1003 * Fix false positives in `use_self`
1004 * Fix false positives in `missing_comma`
1005 * Fix false positives in `new_ret_no_self`
1006 * Fix false positives in `possible_missing_comma`
1007 * Fix false positive in `integer_arithmetic` in constant items
1008 * Fix false positive in `needless_borrow`
1009 * Fix false positive in `out_of_bounds_indexing`
1010 * Fix false positive in `new_without_default_derive`
1011 * Fix false positive in `string_lit_as_bytes`
1012 * Fix false negative in `out_of_bounds_indexing`
1013 * Fix false negative in `use_self`. It will now also check existential types
1014 * Fix incorrect suggestion for `redundant_closure_call`
1015 * Fix various suggestions that contained expanded macros
1016 * Fix `bool_comparison` triggering 3 times on on on the same code
1017 * Expand `trivially_copy_pass_by_ref` to work on trait methods
1018 * Improve suggestion for `needless_range_loop`
1019 * Move `needless_pass_by_value` from `pedantic` group to `style`
1020
1021 ## Rust 1.31
1022
1023 Released 2018-12-06
1024
1025 [125907ad..2e26fdc2](https://github.com/rust-lang/rust-clippy/compare/125907ad..2e26fdc2)
1026
1027 * Clippy has been relicensed under a dual MIT / Apache license.
1028   See [#3093](https://github.com/rust-lang/rust-clippy/issues/3093) for more
1029   information.
1030 * With Rust 1.31, Clippy is no longer available via crates.io. The recommended
1031   installation method is via `rustup component add clippy`.
1032 * New lints: [`redundant_pattern_matching`], [`unnecessary_filter_map`],
1033   [`unused_unit`], [`map_flatten`], [`mem_replace_option_with_none`]
1034 * Fix ICE in `if_let_redundant_pattern_matching`
1035 * Fix ICE in `needless_pass_by_value` when encountering a generic function
1036   argument with a lifetime parameter
1037 * Fix ICE in `needless_range_loop`
1038 * Fix ICE in `single_char_pattern` when encountering a constant value
1039 * Fix false positive in `assign_op_pattern`
1040 * Fix false positive in `boxed_local` on trait implementations
1041 * Fix false positive in `cmp_owned`
1042 * Fix false positive in `collapsible_if` when conditionals have comments
1043 * Fix false positive in `double_parens`
1044 * Fix false positive in `excessive_precision`
1045 * Fix false positive in `explicit_counter_loop`
1046 * Fix false positive in `fn_to_numeric_cast_with_truncation`
1047 * Fix false positive in `map_clone`
1048 * Fix false positive in `new_ret_no_self`
1049 * Fix false positive in `new_without_default` when `new` is unsafe
1050 * Fix false positive in `type_complexity` when using extern types
1051 * Fix false positive in `useless_format`
1052 * Fix false positive in `wrong_self_convention`
1053 * Fix incorrect suggestion for `excessive_precision`
1054 * Fix incorrect suggestion for `expect_fun_call`
1055 * Fix incorrect suggestion for `get_unwrap`
1056 * Fix incorrect suggestion for `useless_format`
1057 * `fn_to_numeric_cast_with_truncation` lint can be disabled again
1058 * Improve suggestions for `manual_memcpy`
1059 * Improve help message for `needless_lifetimes`
1060
1061 ## Rust 1.30
1062
1063 Released 2018-10-25
1064
1065 [14207503...125907ad](https://github.com/rust-lang/rust-clippy/compare/14207503...125907ad)
1066
1067 * Deprecate `assign_ops` lint
1068 * New lints: [`mistyped_literal_suffixes`], [`ptr_offset_with_cast`],
1069   [`needless_collect`], [`copy_iterator`]
1070 * `cargo clippy -V` now includes the Clippy commit hash of the Rust
1071   Clippy component
1072 * Fix ICE in `implicit_hasher`
1073 * Fix ICE when encountering `println!("{}" a);`
1074 * Fix ICE when encountering a macro call in match statements
1075 * Fix false positive in `default_trait_access`
1076 * Fix false positive in `trivially_copy_pass_by_ref`
1077 * Fix false positive in `similar_names`
1078 * Fix false positive in `redundant_field_name`
1079 * Fix false positive in `expect_fun_call`
1080 * Fix false negative in `identity_conversion`
1081 * Fix false negative in `explicit_counter_loop`
1082 * Fix `range_plus_one` suggestion and false negative
1083 * `print_with_newline` / `write_with_newline`: don't warn about string with several `\n`s in them
1084 * Fix `useless_attribute` to also whitelist `unused_extern_crates`
1085 * Fix incorrect suggestion for `single_char_pattern`
1086 * Improve suggestion for `identity_conversion` lint
1087 * Move `explicit_iter_loop` and `explicit_into_iter_loop` from `style` group to `pedantic`
1088 * Move `range_plus_one` and `range_minus_one` from `nursery` group to `complexity`
1089 * Move `shadow_unrelated` from `restriction` group to `pedantic`
1090 * Move `indexing_slicing` from `pedantic` group to `restriction`
1091
1092 ## Rust 1.29
1093
1094 Released 2018-09-13
1095
1096 [v0.0.212...14207503](https://github.com/rust-lang/rust-clippy/compare/v0.0.212...14207503)
1097
1098 * :tada: :tada: **Rust 1.29 is the first stable Rust that includes a bundled Clippy** :tada:
1099   :tada:
1100   You can now run `rustup component add clippy-preview` and then `cargo
1101   clippy` to run Clippy. This should put an end to the continuous nightly
1102   upgrades for Clippy users.
1103 * Clippy now follows the Rust versioning scheme instead of its own
1104 * Fix ICE when encountering a `while let (..) = x.iter()` construct
1105 * Fix false positives in `use_self`
1106 * Fix false positive in `trivially_copy_pass_by_ref`
1107 * Fix false positive in `useless_attribute` lint
1108 * Fix false positive in `print_literal`
1109 * Fix `use_self` regressions
1110 * Improve lint message for `neg_cmp_op_on_partial_ord`
1111 * Improve suggestion highlight for `single_char_pattern`
1112 * Improve suggestions for various print/write macro lints
1113 * Improve website header
1114
1115 ## 0.0.212 (2018-07-10)
1116 * Rustup to *rustc 1.29.0-nightly (e06c87544 2018-07-06)*
1117
1118 ## 0.0.211
1119 * Rustup to *rustc 1.28.0-nightly (e3bf634e0 2018-06-28)*
1120
1121 ## 0.0.210
1122 * Rustup to *rustc 1.28.0-nightly (01cc982e9 2018-06-24)*
1123
1124 ## 0.0.209
1125 * Rustup to *rustc 1.28.0-nightly (523097979 2018-06-18)*
1126
1127 ## 0.0.208
1128 * Rustup to *rustc 1.28.0-nightly (86a8f1a63 2018-06-17)*
1129
1130 ## 0.0.207
1131 * Rustup to *rustc 1.28.0-nightly (2a0062974 2018-06-09)*
1132
1133 ## 0.0.206
1134 * Rustup to *rustc 1.28.0-nightly (5bf68db6e 2018-05-28)*
1135
1136 ## 0.0.205
1137 * Rustup to *rustc 1.28.0-nightly (990d8aa74 2018-05-25)*
1138 * Rename `unused_lifetimes` to `extra_unused_lifetimes` because of naming conflict with new rustc lint
1139
1140 ## 0.0.204
1141 * Rustup to *rustc 1.28.0-nightly (71e87be38 2018-05-22)*
1142
1143 ## 0.0.203
1144 * Rustup to *rustc 1.28.0-nightly (a3085756e 2018-05-19)*
1145 * Clippy attributes are now of the form `clippy::cyclomatic_complexity` instead of `clippy(cyclomatic_complexity)`
1146
1147 ## 0.0.202
1148 * Rustup to *rustc 1.28.0-nightly (952f344cd 2018-05-18)*
1149
1150 ## 0.0.201
1151 * Rustup to *rustc 1.27.0-nightly (2f2a11dfc 2018-05-16)*
1152
1153 ## 0.0.200
1154 * Rustup to *rustc 1.27.0-nightly (9fae15374 2018-05-13)*
1155
1156 ## 0.0.199
1157 * Rustup to *rustc 1.27.0-nightly (ff2ac35db 2018-05-12)*
1158
1159 ## 0.0.198
1160 * Rustup to *rustc 1.27.0-nightly (acd3871ba 2018-05-10)*
1161
1162 ## 0.0.197
1163 * Rustup to *rustc 1.27.0-nightly (428ea5f6b 2018-05-06)*
1164
1165 ## 0.0.196
1166 * Rustup to *rustc 1.27.0-nightly (e82261dfb 2018-05-03)*
1167
1168 ## 0.0.195
1169 * Rustup to *rustc 1.27.0-nightly (ac3c2288f 2018-04-18)*
1170
1171 ## 0.0.194
1172 * Rustup to *rustc 1.27.0-nightly (bd40cbbe1 2018-04-14)*
1173 * New lints: [`cast_ptr_alignment`], [`transmute_ptr_to_ptr`], [`write_literal`], [`write_with_newline`], [`writeln_empty_string`]
1174
1175 ## 0.0.193
1176 * Rustup to *rustc 1.27.0-nightly (eeea94c11 2018-04-06)*
1177
1178 ## 0.0.192
1179 * Rustup to *rustc 1.27.0-nightly (fb44b4c0e 2018-04-04)*
1180 * New lint: [`print_literal`]
1181
1182 ## 0.0.191
1183 * Rustup to *rustc 1.26.0-nightly (ae544ee1c 2018-03-29)*
1184 * Lint audit; categorize lints as style, correctness, complexity, pedantic, nursery, restriction.
1185
1186 ## 0.0.190
1187 * Fix a bunch of intermittent cargo bugs
1188
1189 ## 0.0.189
1190 * Rustup to *rustc 1.26.0-nightly (5508b2714 2018-03-18)*
1191
1192 ## 0.0.188
1193 * Rustup to *rustc 1.26.0-nightly (392645394 2018-03-15)*
1194 * New lint: [`while_immutable_condition`]
1195
1196 ## 0.0.187
1197 * Rustup to *rustc 1.26.0-nightly (322d7f7b9 2018-02-25)*
1198 * New lints: [`redundant_field_names`], [`suspicious_arithmetic_impl`], [`suspicious_op_assign_impl`]
1199
1200 ## 0.0.186
1201 * Rustup to *rustc 1.25.0-nightly (0c6091fbd 2018-02-04)*
1202 * Various false positive fixes
1203
1204 ## 0.0.185
1205 * Rustup to *rustc 1.25.0-nightly (56733bc9f 2018-02-01)*
1206 * New lint: [`question_mark`]
1207
1208 ## 0.0.184
1209 * Rustup to *rustc 1.25.0-nightly (90eb44a58 2018-01-29)*
1210 * New lints: [`double_comparisons`], [`empty_line_after_outer_attr`]
1211
1212 ## 0.0.183
1213 * Rustup to *rustc 1.25.0-nightly (21882aad7 2018-01-28)*
1214 * New lint: [`misaligned_transmute`]
1215
1216 ## 0.0.182
1217 * Rustup to *rustc 1.25.0-nightly (a0dcecff9 2018-01-24)*
1218 * New lint: [`decimal_literal_representation`]
1219
1220 ## 0.0.181
1221 * Rustup to *rustc 1.25.0-nightly (97520ccb1 2018-01-21)*
1222 * New lints: [`else_if_without_else`], [`option_option`], [`unit_arg`], [`unnecessary_fold`]
1223 * Removed `unit_expr`
1224 * Various false positive fixes for [`needless_pass_by_value`]
1225
1226 ## 0.0.180
1227 * Rustup to *rustc 1.25.0-nightly (3f92e8d89 2018-01-14)*
1228
1229 ## 0.0.179
1230 * Rustup to *rustc 1.25.0-nightly (61452e506 2018-01-09)*
1231
1232 ## 0.0.178
1233 * Rustup to *rustc 1.25.0-nightly (ee220daca 2018-01-07)*
1234
1235 ## 0.0.177
1236 * Rustup to *rustc 1.24.0-nightly (250b49205 2017-12-21)*
1237 * New lint: [`match_as_ref`]
1238
1239 ## 0.0.176
1240 * Rustup to *rustc 1.24.0-nightly (0077d128d 2017-12-14)*
1241
1242 ## 0.0.175
1243 * Rustup to *rustc 1.24.0-nightly (bb42071f6 2017-12-01)*
1244
1245 ## 0.0.174
1246 * Rustup to *rustc 1.23.0-nightly (63739ab7b 2017-11-21)*
1247
1248 ## 0.0.173
1249 * Rustup to *rustc 1.23.0-nightly (33374fa9d 2017-11-20)*
1250
1251 ## 0.0.172
1252 * Rustup to *rustc 1.23.0-nightly (d0f8e2913 2017-11-16)*
1253
1254 ## 0.0.171
1255 * Rustup to *rustc 1.23.0-nightly (ff0f5de3b 2017-11-14)*
1256
1257 ## 0.0.170
1258 * Rustup to *rustc 1.23.0-nightly (d6b06c63a 2017-11-09)*
1259
1260 ## 0.0.169
1261 * Rustup to *rustc 1.23.0-nightly (3b82e4c74 2017-11-05)*
1262 * New lints: [`just_underscores_and_digits`], `result_map_unwrap_or_else`, [`transmute_bytes_to_str`]
1263
1264 ## 0.0.168
1265 * Rustup to *rustc 1.23.0-nightly (f0fe716db 2017-10-30)*
1266
1267 ## 0.0.167
1268 * Rustup to *rustc 1.23.0-nightly (90ef3372e 2017-10-29)*
1269 * New lints: `const_static_lifetime`, [`erasing_op`], [`fallible_impl_from`], [`println_empty_string`], [`useless_asref`]
1270
1271 ## 0.0.166
1272 * Rustup to *rustc 1.22.0-nightly (b7960878b 2017-10-18)*
1273 * New lints: [`explicit_write`], `identity_conversion`, [`implicit_hasher`], [`invalid_ref`], [`option_map_or_none`],
1274   [`range_minus_one`], [`range_plus_one`], [`transmute_int_to_bool`], [`transmute_int_to_char`],
1275   [`transmute_int_to_float`]
1276
1277 ## 0.0.165
1278 * Rust upgrade to rustc 1.22.0-nightly (0e6f4cf51 2017-09-27)
1279 * New lint: [`mut_range_bound`]
1280
1281 ## 0.0.164
1282 * Update to *rustc 1.22.0-nightly (6c476ce46 2017-09-25)*
1283 * New lint: [`int_plus_one`]
1284
1285 ## 0.0.163
1286 * Update to *rustc 1.22.0-nightly (14039a42a 2017-09-22)*
1287
1288 ## 0.0.162
1289 * Update to *rustc 1.22.0-nightly (0701b37d9 2017-09-18)*
1290 * New lint: [`chars_last_cmp`]
1291 * Improved suggestions for [`needless_borrow`], [`ptr_arg`],
1292
1293 ## 0.0.161
1294 * Update to *rustc 1.22.0-nightly (539f2083d 2017-09-13)*
1295
1296 ## 0.0.160
1297 * Update to *rustc 1.22.0-nightly (dd08c3070 2017-09-12)*
1298
1299 ## 0.0.159
1300 * Update to *rustc 1.22.0-nightly (eba374fb2 2017-09-11)*
1301 * New lint: [`clone_on_ref_ptr`]
1302
1303 ## 0.0.158
1304 * New lint: [`manual_memcpy`]
1305 * [`cast_lossless`] no longer has redundant parentheses in its suggestions
1306 * Update to *rustc 1.22.0-nightly (dead08cb3 2017-09-08)*
1307
1308 ## 0.0.157 - 2017-09-04
1309 * Update to *rustc 1.22.0-nightly (981ce7d8d 2017-09-03)*
1310 * New lint: `unit_expr`
1311
1312 ## 0.0.156 - 2017-09-03
1313 * Update to *rustc 1.22.0-nightly (744dd6c1d 2017-09-02)*
1314
1315 ## 0.0.155
1316 * Update to *rustc 1.21.0-nightly (c11f689d2 2017-08-29)*
1317 * New lint: [`infinite_iter`], [`maybe_infinite_iter`], [`cast_lossless`]
1318
1319 ## 0.0.154
1320 * Update to *rustc 1.21.0-nightly (2c0558f63 2017-08-24)*
1321 * Fix [`use_self`] triggering inside derives
1322 * Add support for linting an entire workspace with `cargo clippy --all`
1323 * New lint: [`naive_bytecount`]
1324
1325 ## 0.0.153
1326 * Update to *rustc 1.21.0-nightly (8c303ed87 2017-08-20)*
1327 * New lint: [`use_self`]
1328
1329 ## 0.0.152
1330 * Update to *rustc 1.21.0-nightly (df511d554 2017-08-14)*
1331
1332 ## 0.0.151
1333 * Update to *rustc 1.21.0-nightly (13d94d5fa 2017-08-10)*
1334
1335 ## 0.0.150
1336 * Update to *rustc 1.21.0-nightly (215e0b10e 2017-08-08)*
1337
1338 ## 0.0.148
1339 * Update to *rustc 1.21.0-nightly (37c7d0ebb 2017-07-31)*
1340 * New lints: [`unreadable_literal`], [`inconsistent_digit_grouping`], [`large_digit_groups`]
1341
1342 ## 0.0.147
1343 * Update to *rustc 1.21.0-nightly (aac223f4f 2017-07-30)*
1344
1345 ## 0.0.146
1346 * Update to *rustc 1.21.0-nightly (52a330969 2017-07-27)*
1347 * Fixes false positives in `inline_always`
1348 * Fixes false negatives in `panic_params`
1349
1350 ## 0.0.145
1351 * Update to *rustc 1.20.0-nightly (afe145d22 2017-07-23)*
1352
1353 ## 0.0.144
1354 * Update to *rustc 1.20.0-nightly (086eaa78e 2017-07-15)*
1355
1356 ## 0.0.143
1357 * Update to *rustc 1.20.0-nightly (d84693b93 2017-07-09)*
1358 * Fix `cargo clippy` crashing on `dylib` projects
1359 * Fix false positives around `nested_while_let` and `never_loop`
1360
1361 ## 0.0.142
1362 * Update to *rustc 1.20.0-nightly (067971139 2017-07-02)*
1363
1364 ## 0.0.141
1365 * Rewrite of the `doc_markdown` lint.
1366 * Deprecated [`range_step_by_zero`]
1367 * New lint: [`iterator_step_by_zero`]
1368 * New lint: [`needless_borrowed_reference`]
1369 * Update to *rustc 1.20.0-nightly (69c65d296 2017-06-28)*
1370
1371 ## 0.0.140 - 2017-06-16
1372 * Update to *rustc 1.19.0-nightly (258ae6dd9 2017-06-15)*
1373
1374 ## 0.0.139 — 2017-06-10
1375 * Update to *rustc 1.19.0-nightly (4bf5c99af 2017-06-10)*
1376 * Fix bugs with for loop desugaring
1377 * Check for [`AsRef`]/[`AsMut`] arguments in [`wrong_self_convention`]
1378
1379 ## 0.0.138 — 2017-06-05
1380 * Update to *rustc 1.19.0-nightly (0418fa9d3 2017-06-04)*
1381
1382 ## 0.0.137 — 2017-06-05
1383 * Update to *rustc 1.19.0-nightly (6684d176c 2017-06-03)*
1384
1385 ## 0.0.136 — 2017—05—26
1386 * Update to *rustc 1.19.0-nightly (557967766 2017-05-26)*
1387
1388 ## 0.0.135 — 2017—05—24
1389 * Update to *rustc 1.19.0-nightly (5b13bff52 2017-05-23)*
1390
1391 ## 0.0.134 — 2017—05—19
1392 * Update to *rustc 1.19.0-nightly (0ed1ec9f9 2017-05-18)*
1393
1394 ## 0.0.133 — 2017—05—14
1395 * Update to *rustc 1.19.0-nightly (826d8f385 2017-05-13)*
1396
1397 ## 0.0.132 — 2017—05—05
1398 * Fix various bugs and some ices
1399
1400 ## 0.0.131 — 2017—05—04
1401 * Update to *rustc 1.19.0-nightly (2d4ed8e0c 2017-05-03)*
1402
1403 ## 0.0.130 — 2017—05—03
1404 * Update to *rustc 1.19.0-nightly (6a5fc9eec 2017-05-02)*
1405
1406 ## 0.0.129 — 2017-05-01
1407 * Update to *rustc 1.19.0-nightly (06fb4d256 2017-04-30)*
1408
1409 ## 0.0.128 — 2017-04-28
1410 * Update to *rustc 1.18.0-nightly (94e884b63 2017-04-27)*
1411
1412 ## 0.0.127 — 2017-04-27
1413 * Update to *rustc 1.18.0-nightly (036983201 2017-04-26)*
1414 * New lint: [`needless_continue`]
1415
1416 ## 0.0.126 — 2017-04-24
1417 * Update to *rustc 1.18.0-nightly (2bd4b5c6d 2017-04-23)*
1418
1419 ## 0.0.125 — 2017-04-19
1420 * Update to *rustc 1.18.0-nightly (9f2abadca 2017-04-18)*
1421
1422 ## 0.0.124 — 2017-04-16
1423 * Update to *rustc 1.18.0-nightly (d5cf1cb64 2017-04-15)*
1424
1425 ## 0.0.123 — 2017-04-07
1426 * Fix various false positives
1427
1428 ## 0.0.122 — 2017-04-07
1429 * Rustup to *rustc 1.18.0-nightly (91ae22a01 2017-04-05)*
1430 * New lint: [`op_ref`]
1431
1432 ## 0.0.121 — 2017-03-21
1433 * Rustup to *rustc 1.17.0-nightly (134c4a0f0 2017-03-20)*
1434
1435 ## 0.0.120 — 2017-03-17
1436 * Rustup to *rustc 1.17.0-nightly (0aeb9c129 2017-03-15)*
1437
1438 ## 0.0.119 — 2017-03-13
1439 * Rustup to *rustc 1.17.0-nightly (824c9ebbd 2017-03-12)*
1440
1441 ## 0.0.118 — 2017-03-05
1442 * Rustup to *rustc 1.17.0-nightly (b1e31766d 2017-03-03)*
1443
1444 ## 0.0.117 — 2017-03-01
1445 * Rustup to *rustc 1.17.0-nightly (be760566c 2017-02-28)*
1446
1447 ## 0.0.116 — 2017-02-28
1448 * Fix `cargo clippy` on 64 bit windows systems
1449
1450 ## 0.0.115 — 2017-02-27
1451 * Rustup to *rustc 1.17.0-nightly (60a0edc6c 2017-02-26)*
1452 * New lints: [`zero_ptr`], [`never_loop`], [`mut_from_ref`]
1453
1454 ## 0.0.114 — 2017-02-08
1455 * Rustup to *rustc 1.17.0-nightly (c49d10207 2017-02-07)*
1456 * Tests are now ui tests (testing the exact output of rustc)
1457
1458 ## 0.0.113 — 2017-02-04
1459 * Rustup to *rustc 1.16.0-nightly (eedaa94e3 2017-02-02)*
1460 * New lint: [`large_enum_variant`]
1461 * `explicit_into_iter_loop` provides suggestions
1462
1463 ## 0.0.112 — 2017-01-27
1464 * Rustup to *rustc 1.16.0-nightly (df8debf6d 2017-01-25)*
1465
1466 ## 0.0.111 — 2017-01-21
1467 * Rustup to *rustc 1.16.0-nightly (a52da95ce 2017-01-20)*
1468
1469 ## 0.0.110 — 2017-01-20
1470 * Add badges and categories to `Cargo.toml`
1471
1472 ## 0.0.109 — 2017-01-19
1473 * Update to *rustc 1.16.0-nightly (c07a6ae77 2017-01-17)*
1474
1475 ## 0.0.108 — 2017-01-12
1476 * Update to *rustc 1.16.0-nightly (2782e8f8f 2017-01-12)*
1477
1478 ## 0.0.107 — 2017-01-11
1479 * Update regex dependency
1480 * Fix FP when matching `&&mut` by `&ref`
1481 * Reintroduce `for (_, x) in &mut hash_map` -> `for x in hash_map.values_mut()`
1482 * New lints: [`unused_io_amount`], [`forget_ref`], [`short_circuit_statement`]
1483
1484 ## 0.0.106 — 2017-01-04
1485 * Fix FP introduced by rustup in [`wrong_self_convention`]
1486
1487 ## 0.0.105 — 2017-01-04
1488 * Update to *rustc 1.16.0-nightly (468227129 2017-01-03)*
1489 * New lints: [`deref_addrof`], [`double_parens`], [`pub_enum_variant_names`]
1490 * Fix suggestion in [`new_without_default`]
1491 * FP fix in [`absurd_extreme_comparisons`]
1492
1493 ## 0.0.104 — 2016-12-15
1494 * Update to *rustc 1.15.0-nightly (8f02c429a 2016-12-15)*
1495
1496 ## 0.0.103 — 2016-11-25
1497 * Update to *rustc 1.15.0-nightly (d5814b03e 2016-11-23)*
1498
1499 ## 0.0.102 — 2016-11-24
1500 * Update to *rustc 1.15.0-nightly (3bf2be9ce 2016-11-22)*
1501
1502 ## 0.0.101 — 2016-11-23
1503 * Update to *rustc 1.15.0-nightly (7b3eeea22 2016-11-21)*
1504 * New lint: [`string_extend_chars`]
1505
1506 ## 0.0.100 — 2016-11-20
1507 * Update to *rustc 1.15.0-nightly (ac635aa95 2016-11-18)*
1508
1509 ## 0.0.99 — 2016-11-18
1510 * Update to rustc 1.15.0-nightly (0ed951993 2016-11-14)
1511 * New lint: [`get_unwrap`]
1512
1513 ## 0.0.98 — 2016-11-08
1514 * Fixes an issue due to a change in how cargo handles `--sysroot`, which broke `cargo clippy`
1515
1516 ## 0.0.97 — 2016-11-03
1517 * For convenience, `cargo clippy` defines a `cargo-clippy` feature. This was
1518   previously added for a short time under the name `clippy` but removed for
1519   compatibility.
1520 * `cargo clippy --help` is more helping (and less helpful :smile:)
1521 * Rustup to *rustc 1.14.0-nightly (5665bdf3e 2016-11-02)*
1522 * New lints: [`if_let_redundant_pattern_matching`], [`partialeq_ne_impl`]
1523
1524 ## 0.0.96 — 2016-10-22
1525 * Rustup to *rustc 1.14.0-nightly (f09420685 2016-10-20)*
1526 * New lint: [`iter_skip_next`]
1527
1528 ## 0.0.95 — 2016-10-06
1529 * Rustup to *rustc 1.14.0-nightly (3210fd5c2 2016-10-05)*
1530
1531 ## 0.0.94 — 2016-10-04
1532 * Fixes bustage on Windows due to forbidden directory name
1533
1534 ## 0.0.93 — 2016-10-03
1535 * Rustup to *rustc 1.14.0-nightly (144af3e97 2016-10-02)*
1536 * `option_map_unwrap_or` and `option_map_unwrap_or_else` are now
1537   allowed by default.
1538 * New lint: [`explicit_into_iter_loop`]
1539
1540 ## 0.0.92 — 2016-09-30
1541 * Rustup to *rustc 1.14.0-nightly (289f3a4ca 2016-09-29)*
1542
1543 ## 0.0.91 — 2016-09-28
1544 * Rustup to *rustc 1.13.0-nightly (d0623cf7b 2016-09-26)*
1545
1546 ## 0.0.90 — 2016-09-09
1547 * Rustup to *rustc 1.13.0-nightly (f1f40f850 2016-09-09)*
1548
1549 ## 0.0.89 — 2016-09-06
1550 * Rustup to *rustc 1.13.0-nightly (cbe4de78e 2016-09-05)*
1551
1552 ## 0.0.88 — 2016-09-04
1553 * Rustup to *rustc 1.13.0-nightly (70598e04f 2016-09-03)*
1554 * The following lints are not new but were only usable through the `clippy`
1555   lint groups: [`filter_next`], `for_loop_over_option`,
1556   `for_loop_over_result` and [`match_overlapping_arm`]. You should now be
1557   able to `#[allow/deny]` them individually and they are available directly
1558   through `cargo clippy`.
1559
1560 ## 0.0.87 — 2016-08-31
1561 * Rustup to *rustc 1.13.0-nightly (eac41469d 2016-08-30)*
1562 * New lints: [`builtin_type_shadow`]
1563 * Fix FP in [`zero_prefixed_literal`] and `0b`/`0o`
1564
1565 ## 0.0.86 — 2016-08-28
1566 * Rustup to *rustc 1.13.0-nightly (a23064af5 2016-08-27)*
1567 * New lints: [`missing_docs_in_private_items`], [`zero_prefixed_literal`]
1568
1569 ## 0.0.85 — 2016-08-19
1570 * Fix ICE with [`useless_attribute`]
1571 * [`useless_attribute`] ignores `unused_imports` on `use` statements
1572
1573 ## 0.0.84 — 2016-08-18
1574 * Rustup to *rustc 1.13.0-nightly (aef6971ca 2016-08-17)*
1575
1576 ## 0.0.83 — 2016-08-17
1577 * Rustup to *rustc 1.12.0-nightly (1bf5fa326 2016-08-16)*
1578 * New lints: [`print_with_newline`], [`useless_attribute`]
1579
1580 ## 0.0.82 — 2016-08-17
1581 * Rustup to *rustc 1.12.0-nightly (197be89f3 2016-08-15)*
1582 * New lint: [`module_inception`]
1583
1584 ## 0.0.81 — 2016-08-14
1585 * Rustup to *rustc 1.12.0-nightly (1deb02ea6 2016-08-12)*
1586 * New lints: [`eval_order_dependence`], [`mixed_case_hex_literals`], [`unseparated_literal_suffix`]
1587 * False positive fix in [`too_many_arguments`]
1588 * Addition of functionality to [`needless_borrow`]
1589 * Suggestions for [`clone_on_copy`]
1590 * Bug fix in [`wrong_self_convention`]
1591 * Doc improvements
1592
1593 ## 0.0.80 — 2016-07-31
1594 * Rustup to *rustc 1.12.0-nightly (1225e122f 2016-07-30)*
1595 * New lints: [`misrefactored_assign_op`], [`serde_api_misuse`]
1596
1597 ## 0.0.79 — 2016-07-10
1598 * Rustup to *rustc 1.12.0-nightly (f93aaf84c 2016-07-09)*
1599 * Major suggestions refactoring
1600
1601 ## 0.0.78 — 2016-07-02
1602 * Rustup to *rustc 1.11.0-nightly (01411937f 2016-07-01)*
1603 * New lints: [`wrong_transmute`], [`double_neg`], [`filter_map`]
1604 * For compatibility, `cargo clippy` does not defines the `clippy` feature
1605   introduced in 0.0.76 anymore
1606 * [`collapsible_if`] now considers `if let`
1607
1608 ## 0.0.77 — 2016-06-21
1609 * Rustup to *rustc 1.11.0-nightly (5522e678b 2016-06-20)*
1610 * New lints: `stutter` and [`iter_nth`]
1611
1612 ## 0.0.76 — 2016-06-10
1613 * Rustup to *rustc 1.11.0-nightly (7d2f75a95 2016-06-09)*
1614 * `cargo clippy` now automatically defines the `clippy` feature
1615 * New lint: [`not_unsafe_ptr_arg_deref`]
1616
1617 ## 0.0.75 — 2016-06-08
1618 * Rustup to *rustc 1.11.0-nightly (763f9234b 2016-06-06)*
1619
1620 ## 0.0.74 — 2016-06-07
1621 * Fix bug with `cargo-clippy` JSON parsing
1622 * Add the `CLIPPY_DISABLE_DOCS_LINKS` environment variable to deactivate the
1623   “for further information visit *lint-link*” message.
1624
1625 ## 0.0.73 — 2016-06-05
1626 * Fix false positives in [`useless_let_if_seq`]
1627
1628 ## 0.0.72 — 2016-06-04
1629 * Fix false positives in [`useless_let_if_seq`]
1630
1631 ## 0.0.71 — 2016-05-31
1632 * Rustup to *rustc 1.11.0-nightly (a967611d8 2016-05-30)*
1633 * New lint: [`useless_let_if_seq`]
1634
1635 ## 0.0.70 — 2016-05-28
1636 * Rustup to *rustc 1.10.0-nightly (7bddce693 2016-05-27)*
1637 * [`invalid_regex`] and [`trivial_regex`] can now warn on `RegexSet::new`,
1638   `RegexBuilder::new` and byte regexes
1639
1640 ## 0.0.69 — 2016-05-20
1641 * Rustup to *rustc 1.10.0-nightly (476fe6eef 2016-05-21)*
1642 * [`used_underscore_binding`] has been made `Allow` temporarily
1643
1644 ## 0.0.68 — 2016-05-17
1645 * Rustup to *rustc 1.10.0-nightly (cd6a40017 2016-05-16)*
1646 * New lint: [`unnecessary_operation`]
1647
1648 ## 0.0.67 — 2016-05-12
1649 * Rustup to *rustc 1.10.0-nightly (22ac88f1a 2016-05-11)*
1650
1651 ## 0.0.66 — 2016-05-11
1652 * New `cargo clippy` subcommand
1653 * New lints: [`assign_op_pattern`], [`assign_ops`], [`needless_borrow`]
1654
1655 ## 0.0.65 — 2016-05-08
1656 * Rustup to *rustc 1.10.0-nightly (62e2b2fb7 2016-05-06)*
1657 * New lints: [`float_arithmetic`], [`integer_arithmetic`]
1658
1659 ## 0.0.64 — 2016-04-26
1660 * Rustup to *rustc 1.10.0-nightly (645dd013a 2016-04-24)*
1661 * New lints: [`temporary_cstring_as_ptr`], [`unsafe_removed_from_name`], and [`mem_forget`]
1662
1663 ## 0.0.63 — 2016-04-08
1664 * Rustup to *rustc 1.9.0-nightly (7979dd608 2016-04-07)*
1665
1666 ## 0.0.62 — 2016-04-07
1667 * Rustup to *rustc 1.9.0-nightly (bf5da36f1 2016-04-06)*
1668
1669 ## 0.0.61 — 2016-04-03
1670 * Rustup to *rustc 1.9.0-nightly (5ab11d72c 2016-04-02)*
1671 * New lint: [`invalid_upcast_comparisons`]
1672
1673 ## 0.0.60 — 2016-04-01
1674 * Rustup to *rustc 1.9.0-nightly (e1195c24b 2016-03-31)*
1675
1676 ## 0.0.59 — 2016-03-31
1677 * Rustup to *rustc 1.9.0-nightly (30a3849f2 2016-03-30)*
1678 * New lints: [`logic_bug`], [`nonminimal_bool`]
1679 * Fixed: [`match_same_arms`] now ignores arms with guards
1680 * Improved: [`useless_vec`] now warns on `for … in vec![…]`
1681
1682 ## 0.0.58 — 2016-03-27
1683 * Rustup to *rustc 1.9.0-nightly (d5a91e695 2016-03-26)*
1684 * New lint: [`doc_markdown`]
1685
1686 ## 0.0.57 — 2016-03-27
1687 * Update to *rustc 1.9.0-nightly (a1e29daf1 2016-03-25)*
1688 * Deprecated lints: [`str_to_string`], [`string_to_string`], [`unstable_as_slice`], [`unstable_as_mut_slice`]
1689 * New lint: [`crosspointer_transmute`]
1690
1691 ## 0.0.56 — 2016-03-23
1692 * Update to *rustc 1.9.0-nightly (0dcc413e4 2016-03-22)*
1693 * New lints: [`many_single_char_names`] and [`similar_names`]
1694
1695 ## 0.0.55 — 2016-03-21
1696 * Update to *rustc 1.9.0-nightly (02310fd31 2016-03-19)*
1697
1698 ## 0.0.54 — 2016-03-16
1699 * Update to *rustc 1.9.0-nightly (c66d2380a 2016-03-15)*
1700
1701 ## 0.0.53 — 2016-03-15
1702 * Add a [configuration file]
1703
1704 ## ~~0.0.52~~
1705
1706 ## 0.0.51 — 2016-03-13
1707 * Add `str` to types considered by [`len_zero`]
1708 * New lints: [`indexing_slicing`]
1709
1710 ## 0.0.50 — 2016-03-11
1711 * Update to *rustc 1.9.0-nightly (c9629d61c 2016-03-10)*
1712
1713 ## 0.0.49 — 2016-03-09
1714 * Update to *rustc 1.9.0-nightly (eabfc160f 2016-03-08)*
1715 * New lints: [`overflow_check_conditional`], [`unused_label`], [`new_without_default`]
1716
1717 ## 0.0.48 — 2016-03-07
1718 * Fixed: ICE in [`needless_range_loop`] with globals
1719
1720 ## 0.0.47 — 2016-03-07
1721 * Update to *rustc 1.9.0-nightly (998a6720b 2016-03-07)*
1722 * New lint: [`redundant_closure_call`]
1723
1724 [`AsMut`]: https://doc.rust-lang.org/std/convert/trait.AsMut.html
1725 [`AsRef`]: https://doc.rust-lang.org/std/convert/trait.AsRef.html
1726 [configuration file]: ./rust-clippy#configuration
1727 [pull3665]: https://github.com/rust-lang/rust-clippy/pull/3665
1728 [adding_lints]: https://github.com/rust-lang/rust-clippy/blob/master/doc/adding_lints.md
1729
1730 <!-- lint disable no-unused-definitions -->
1731 <!-- begin autogenerated links to lint list -->
1732 [`absurd_extreme_comparisons`]: https://rust-lang.github.io/rust-clippy/master/index.html#absurd_extreme_comparisons
1733 [`almost_swapped`]: https://rust-lang.github.io/rust-clippy/master/index.html#almost_swapped
1734 [`approx_constant`]: https://rust-lang.github.io/rust-clippy/master/index.html#approx_constant
1735 [`as_conversions`]: https://rust-lang.github.io/rust-clippy/master/index.html#as_conversions
1736 [`assertions_on_constants`]: https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants
1737 [`assign_op_pattern`]: https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern
1738 [`assign_ops`]: https://rust-lang.github.io/rust-clippy/master/index.html#assign_ops
1739 [`async_yields_async`]: https://rust-lang.github.io/rust-clippy/master/index.html#async_yields_async
1740 [`await_holding_lock`]: https://rust-lang.github.io/rust-clippy/master/index.html#await_holding_lock
1741 [`await_holding_refcell_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#await_holding_refcell_ref
1742 [`bad_bit_mask`]: https://rust-lang.github.io/rust-clippy/master/index.html#bad_bit_mask
1743 [`bind_instead_of_map`]: https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map
1744 [`blacklisted_name`]: https://rust-lang.github.io/rust-clippy/master/index.html#blacklisted_name
1745 [`blanket_clippy_restriction_lints`]: https://rust-lang.github.io/rust-clippy/master/index.html#blanket_clippy_restriction_lints
1746 [`blocks_in_if_conditions`]: https://rust-lang.github.io/rust-clippy/master/index.html#blocks_in_if_conditions
1747 [`bool_comparison`]: https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison
1748 [`borrow_interior_mutable_const`]: https://rust-lang.github.io/rust-clippy/master/index.html#borrow_interior_mutable_const
1749 [`borrowed_box`]: https://rust-lang.github.io/rust-clippy/master/index.html#borrowed_box
1750 [`box_vec`]: https://rust-lang.github.io/rust-clippy/master/index.html#box_vec
1751 [`boxed_local`]: https://rust-lang.github.io/rust-clippy/master/index.html#boxed_local
1752 [`builtin_type_shadow`]: https://rust-lang.github.io/rust-clippy/master/index.html#builtin_type_shadow
1753 [`cargo_common_metadata`]: https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
1754 [`cast_lossless`]: https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless
1755 [`cast_possible_truncation`]: https://rust-lang.github.io/rust-clippy/master/index.html#cast_possible_truncation
1756 [`cast_possible_wrap`]: https://rust-lang.github.io/rust-clippy/master/index.html#cast_possible_wrap
1757 [`cast_precision_loss`]: https://rust-lang.github.io/rust-clippy/master/index.html#cast_precision_loss
1758 [`cast_ptr_alignment`]: https://rust-lang.github.io/rust-clippy/master/index.html#cast_ptr_alignment
1759 [`cast_ref_to_mut`]: https://rust-lang.github.io/rust-clippy/master/index.html#cast_ref_to_mut
1760 [`cast_sign_loss`]: https://rust-lang.github.io/rust-clippy/master/index.html#cast_sign_loss
1761 [`char_lit_as_u8`]: https://rust-lang.github.io/rust-clippy/master/index.html#char_lit_as_u8
1762 [`chars_last_cmp`]: https://rust-lang.github.io/rust-clippy/master/index.html#chars_last_cmp
1763 [`chars_next_cmp`]: https://rust-lang.github.io/rust-clippy/master/index.html#chars_next_cmp
1764 [`checked_conversions`]: https://rust-lang.github.io/rust-clippy/master/index.html#checked_conversions
1765 [`clone_double_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#clone_double_ref
1766 [`clone_on_copy`]: https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
1767 [`clone_on_ref_ptr`]: https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_ref_ptr
1768 [`cmp_nan`]: https://rust-lang.github.io/rust-clippy/master/index.html#cmp_nan
1769 [`cmp_null`]: https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null
1770 [`cmp_owned`]: https://rust-lang.github.io/rust-clippy/master/index.html#cmp_owned
1771 [`cognitive_complexity`]: https://rust-lang.github.io/rust-clippy/master/index.html#cognitive_complexity
1772 [`collapsible_if`]: https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
1773 [`collapsible_match`]: https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match
1774 [`comparison_chain`]: https://rust-lang.github.io/rust-clippy/master/index.html#comparison_chain
1775 [`comparison_to_empty`]: https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty
1776 [`copy_iterator`]: https://rust-lang.github.io/rust-clippy/master/index.html#copy_iterator
1777 [`create_dir`]: https://rust-lang.github.io/rust-clippy/master/index.html#create_dir
1778 [`crosspointer_transmute`]: https://rust-lang.github.io/rust-clippy/master/index.html#crosspointer_transmute
1779 [`dbg_macro`]: https://rust-lang.github.io/rust-clippy/master/index.html#dbg_macro
1780 [`debug_assert_with_mut_call`]: https://rust-lang.github.io/rust-clippy/master/index.html#debug_assert_with_mut_call
1781 [`decimal_literal_representation`]: https://rust-lang.github.io/rust-clippy/master/index.html#decimal_literal_representation
1782 [`declare_interior_mutable_const`]: https://rust-lang.github.io/rust-clippy/master/index.html#declare_interior_mutable_const
1783 [`default_trait_access`]: https://rust-lang.github.io/rust-clippy/master/index.html#default_trait_access
1784 [`deprecated_cfg_attr`]: https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_cfg_attr
1785 [`deprecated_semver`]: https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_semver
1786 [`deref_addrof`]: https://rust-lang.github.io/rust-clippy/master/index.html#deref_addrof
1787 [`derive_hash_xor_eq`]: https://rust-lang.github.io/rust-clippy/master/index.html#derive_hash_xor_eq
1788 [`derive_ord_xor_partial_ord`]: https://rust-lang.github.io/rust-clippy/master/index.html#derive_ord_xor_partial_ord
1789 [`disallowed_method`]: https://rust-lang.github.io/rust-clippy/master/index.html#disallowed_method
1790 [`diverging_sub_expression`]: https://rust-lang.github.io/rust-clippy/master/index.html#diverging_sub_expression
1791 [`doc_markdown`]: https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
1792 [`double_comparisons`]: https://rust-lang.github.io/rust-clippy/master/index.html#double_comparisons
1793 [`double_must_use`]: https://rust-lang.github.io/rust-clippy/master/index.html#double_must_use
1794 [`double_neg`]: https://rust-lang.github.io/rust-clippy/master/index.html#double_neg
1795 [`double_parens`]: https://rust-lang.github.io/rust-clippy/master/index.html#double_parens
1796 [`drop_bounds`]: https://rust-lang.github.io/rust-clippy/master/index.html#drop_bounds
1797 [`drop_copy`]: https://rust-lang.github.io/rust-clippy/master/index.html#drop_copy
1798 [`drop_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#drop_ref
1799 [`duplicate_underscore_argument`]: https://rust-lang.github.io/rust-clippy/master/index.html#duplicate_underscore_argument
1800 [`duration_subsec`]: https://rust-lang.github.io/rust-clippy/master/index.html#duration_subsec
1801 [`else_if_without_else`]: https://rust-lang.github.io/rust-clippy/master/index.html#else_if_without_else
1802 [`empty_enum`]: https://rust-lang.github.io/rust-clippy/master/index.html#empty_enum
1803 [`empty_line_after_outer_attr`]: https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_outer_attr
1804 [`empty_loop`]: https://rust-lang.github.io/rust-clippy/master/index.html#empty_loop
1805 [`enum_clike_unportable_variant`]: https://rust-lang.github.io/rust-clippy/master/index.html#enum_clike_unportable_variant
1806 [`enum_glob_use`]: https://rust-lang.github.io/rust-clippy/master/index.html#enum_glob_use
1807 [`enum_variant_names`]: https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names
1808 [`eq_op`]: https://rust-lang.github.io/rust-clippy/master/index.html#eq_op
1809 [`erasing_op`]: https://rust-lang.github.io/rust-clippy/master/index.html#erasing_op
1810 [`eval_order_dependence`]: https://rust-lang.github.io/rust-clippy/master/index.html#eval_order_dependence
1811 [`excessive_precision`]: https://rust-lang.github.io/rust-clippy/master/index.html#excessive_precision
1812 [`exit`]: https://rust-lang.github.io/rust-clippy/master/index.html#exit
1813 [`expect_fun_call`]: https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call
1814 [`expect_used`]: https://rust-lang.github.io/rust-clippy/master/index.html#expect_used
1815 [`expl_impl_clone_on_copy`]: https://rust-lang.github.io/rust-clippy/master/index.html#expl_impl_clone_on_copy
1816 [`explicit_counter_loop`]: https://rust-lang.github.io/rust-clippy/master/index.html#explicit_counter_loop
1817 [`explicit_deref_methods`]: https://rust-lang.github.io/rust-clippy/master/index.html#explicit_deref_methods
1818 [`explicit_into_iter_loop`]: https://rust-lang.github.io/rust-clippy/master/index.html#explicit_into_iter_loop
1819 [`explicit_iter_loop`]: https://rust-lang.github.io/rust-clippy/master/index.html#explicit_iter_loop
1820 [`explicit_write`]: https://rust-lang.github.io/rust-clippy/master/index.html#explicit_write
1821 [`extend_from_slice`]: https://rust-lang.github.io/rust-clippy/master/index.html#extend_from_slice
1822 [`extra_unused_lifetimes`]: https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
1823 [`fallible_impl_from`]: https://rust-lang.github.io/rust-clippy/master/index.html#fallible_impl_from
1824 [`field_reassign_with_default`]: https://rust-lang.github.io/rust-clippy/master/index.html#field_reassign_with_default
1825 [`filetype_is_file`]: https://rust-lang.github.io/rust-clippy/master/index.html#filetype_is_file
1826 [`filter_map`]: https://rust-lang.github.io/rust-clippy/master/index.html#filter_map
1827 [`filter_map_next`]: https://rust-lang.github.io/rust-clippy/master/index.html#filter_map_next
1828 [`filter_next`]: https://rust-lang.github.io/rust-clippy/master/index.html#filter_next
1829 [`find_map`]: https://rust-lang.github.io/rust-clippy/master/index.html#find_map
1830 [`flat_map_identity`]: https://rust-lang.github.io/rust-clippy/master/index.html#flat_map_identity
1831 [`float_arithmetic`]: https://rust-lang.github.io/rust-clippy/master/index.html#float_arithmetic
1832 [`float_cmp`]: https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp
1833 [`float_cmp_const`]: https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp_const
1834 [`float_equality_without_abs`]: https://rust-lang.github.io/rust-clippy/master/index.html#float_equality_without_abs
1835 [`fn_address_comparisons`]: https://rust-lang.github.io/rust-clippy/master/index.html#fn_address_comparisons
1836 [`fn_params_excessive_bools`]: https://rust-lang.github.io/rust-clippy/master/index.html#fn_params_excessive_bools
1837 [`fn_to_numeric_cast`]: https://rust-lang.github.io/rust-clippy/master/index.html#fn_to_numeric_cast
1838 [`fn_to_numeric_cast_with_truncation`]: https://rust-lang.github.io/rust-clippy/master/index.html#fn_to_numeric_cast_with_truncation
1839 [`for_kv_map`]: https://rust-lang.github.io/rust-clippy/master/index.html#for_kv_map
1840 [`for_loops_over_fallibles`]: https://rust-lang.github.io/rust-clippy/master/index.html#for_loops_over_fallibles
1841 [`forget_copy`]: https://rust-lang.github.io/rust-clippy/master/index.html#forget_copy
1842 [`forget_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#forget_ref
1843 [`from_iter_instead_of_collect`]: https://rust-lang.github.io/rust-clippy/master/index.html#from_iter_instead_of_collect
1844 [`future_not_send`]: https://rust-lang.github.io/rust-clippy/master/index.html#future_not_send
1845 [`get_last_with_len`]: https://rust-lang.github.io/rust-clippy/master/index.html#get_last_with_len
1846 [`get_unwrap`]: https://rust-lang.github.io/rust-clippy/master/index.html#get_unwrap
1847 [`identity_op`]: https://rust-lang.github.io/rust-clippy/master/index.html#identity_op
1848 [`if_let_mutex`]: https://rust-lang.github.io/rust-clippy/master/index.html#if_let_mutex
1849 [`if_let_redundant_pattern_matching`]: https://rust-lang.github.io/rust-clippy/master/index.html#if_let_redundant_pattern_matching
1850 [`if_let_some_result`]: https://rust-lang.github.io/rust-clippy/master/index.html#if_let_some_result
1851 [`if_not_else`]: https://rust-lang.github.io/rust-clippy/master/index.html#if_not_else
1852 [`if_same_then_else`]: https://rust-lang.github.io/rust-clippy/master/index.html#if_same_then_else
1853 [`ifs_same_cond`]: https://rust-lang.github.io/rust-clippy/master/index.html#ifs_same_cond
1854 [`implicit_hasher`]: https://rust-lang.github.io/rust-clippy/master/index.html#implicit_hasher
1855 [`implicit_return`]: https://rust-lang.github.io/rust-clippy/master/index.html#implicit_return
1856 [`implicit_saturating_sub`]: https://rust-lang.github.io/rust-clippy/master/index.html#implicit_saturating_sub
1857 [`imprecise_flops`]: https://rust-lang.github.io/rust-clippy/master/index.html#imprecise_flops
1858 [`inconsistent_digit_grouping`]: https://rust-lang.github.io/rust-clippy/master/index.html#inconsistent_digit_grouping
1859 [`indexing_slicing`]: https://rust-lang.github.io/rust-clippy/master/index.html#indexing_slicing
1860 [`ineffective_bit_mask`]: https://rust-lang.github.io/rust-clippy/master/index.html#ineffective_bit_mask
1861 [`inefficient_to_string`]: https://rust-lang.github.io/rust-clippy/master/index.html#inefficient_to_string
1862 [`infallible_destructuring_match`]: https://rust-lang.github.io/rust-clippy/master/index.html#infallible_destructuring_match
1863 [`infinite_iter`]: https://rust-lang.github.io/rust-clippy/master/index.html#infinite_iter
1864 [`inherent_to_string`]: https://rust-lang.github.io/rust-clippy/master/index.html#inherent_to_string
1865 [`inherent_to_string_shadow_display`]: https://rust-lang.github.io/rust-clippy/master/index.html#inherent_to_string_shadow_display
1866 [`inline_always`]: https://rust-lang.github.io/rust-clippy/master/index.html#inline_always
1867 [`inline_asm_x86_att_syntax`]: https://rust-lang.github.io/rust-clippy/master/index.html#inline_asm_x86_att_syntax
1868 [`inline_asm_x86_intel_syntax`]: https://rust-lang.github.io/rust-clippy/master/index.html#inline_asm_x86_intel_syntax
1869 [`inline_fn_without_body`]: https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body
1870 [`int_plus_one`]: https://rust-lang.github.io/rust-clippy/master/index.html#int_plus_one
1871 [`integer_arithmetic`]: https://rust-lang.github.io/rust-clippy/master/index.html#integer_arithmetic
1872 [`integer_division`]: https://rust-lang.github.io/rust-clippy/master/index.html#integer_division
1873 [`into_iter_on_array`]: https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_array
1874 [`into_iter_on_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref
1875 [`invalid_atomic_ordering`]: https://rust-lang.github.io/rust-clippy/master/index.html#invalid_atomic_ordering
1876 [`invalid_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#invalid_ref
1877 [`invalid_regex`]: https://rust-lang.github.io/rust-clippy/master/index.html#invalid_regex
1878 [`invalid_upcast_comparisons`]: https://rust-lang.github.io/rust-clippy/master/index.html#invalid_upcast_comparisons
1879 [`invisible_characters`]: https://rust-lang.github.io/rust-clippy/master/index.html#invisible_characters
1880 [`items_after_statements`]: https://rust-lang.github.io/rust-clippy/master/index.html#items_after_statements
1881 [`iter_cloned_collect`]: https://rust-lang.github.io/rust-clippy/master/index.html#iter_cloned_collect
1882 [`iter_next_loop`]: https://rust-lang.github.io/rust-clippy/master/index.html#iter_next_loop
1883 [`iter_next_slice`]: https://rust-lang.github.io/rust-clippy/master/index.html#iter_next_slice
1884 [`iter_nth`]: https://rust-lang.github.io/rust-clippy/master/index.html#iter_nth
1885 [`iter_nth_zero`]: https://rust-lang.github.io/rust-clippy/master/index.html#iter_nth_zero
1886 [`iter_skip_next`]: https://rust-lang.github.io/rust-clippy/master/index.html#iter_skip_next
1887 [`iterator_step_by_zero`]: https://rust-lang.github.io/rust-clippy/master/index.html#iterator_step_by_zero
1888 [`just_underscores_and_digits`]: https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits
1889 [`large_const_arrays`]: https://rust-lang.github.io/rust-clippy/master/index.html#large_const_arrays
1890 [`large_digit_groups`]: https://rust-lang.github.io/rust-clippy/master/index.html#large_digit_groups
1891 [`large_enum_variant`]: https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant
1892 [`large_stack_arrays`]: https://rust-lang.github.io/rust-clippy/master/index.html#large_stack_arrays
1893 [`large_types_passed_by_value`]: https://rust-lang.github.io/rust-clippy/master/index.html#large_types_passed_by_value
1894 [`len_without_is_empty`]: https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty
1895 [`len_zero`]: https://rust-lang.github.io/rust-clippy/master/index.html#len_zero
1896 [`let_and_return`]: https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return
1897 [`let_underscore_drop`]: https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_drop
1898 [`let_underscore_lock`]: https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_lock
1899 [`let_underscore_must_use`]: https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_must_use
1900 [`let_unit_value`]: https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
1901 [`linkedlist`]: https://rust-lang.github.io/rust-clippy/master/index.html#linkedlist
1902 [`logic_bug`]: https://rust-lang.github.io/rust-clippy/master/index.html#logic_bug
1903 [`lossy_float_literal`]: https://rust-lang.github.io/rust-clippy/master/index.html#lossy_float_literal
1904 [`macro_use_imports`]: https://rust-lang.github.io/rust-clippy/master/index.html#macro_use_imports
1905 [`main_recursion`]: https://rust-lang.github.io/rust-clippy/master/index.html#main_recursion
1906 [`manual_async_fn`]: https://rust-lang.github.io/rust-clippy/master/index.html#manual_async_fn
1907 [`manual_memcpy`]: https://rust-lang.github.io/rust-clippy/master/index.html#manual_memcpy
1908 [`manual_non_exhaustive`]: https://rust-lang.github.io/rust-clippy/master/index.html#manual_non_exhaustive
1909 [`manual_ok_or`]: https://rust-lang.github.io/rust-clippy/master/index.html#manual_ok_or
1910 [`manual_range_contains`]: https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains
1911 [`manual_saturating_arithmetic`]: https://rust-lang.github.io/rust-clippy/master/index.html#manual_saturating_arithmetic
1912 [`manual_strip`]: https://rust-lang.github.io/rust-clippy/master/index.html#manual_strip
1913 [`manual_swap`]: https://rust-lang.github.io/rust-clippy/master/index.html#manual_swap
1914 [`manual_unwrap_or`]: https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or
1915 [`many_single_char_names`]: https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names
1916 [`map_clone`]: https://rust-lang.github.io/rust-clippy/master/index.html#map_clone
1917 [`map_collect_result_unit`]: https://rust-lang.github.io/rust-clippy/master/index.html#map_collect_result_unit
1918 [`map_entry`]: https://rust-lang.github.io/rust-clippy/master/index.html#map_entry
1919 [`map_err_ignore`]: https://rust-lang.github.io/rust-clippy/master/index.html#map_err_ignore
1920 [`map_flatten`]: https://rust-lang.github.io/rust-clippy/master/index.html#map_flatten
1921 [`map_identity`]: https://rust-lang.github.io/rust-clippy/master/index.html#map_identity
1922 [`map_unwrap_or`]: https://rust-lang.github.io/rust-clippy/master/index.html#map_unwrap_or
1923 [`match_as_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#match_as_ref
1924 [`match_bool`]: https://rust-lang.github.io/rust-clippy/master/index.html#match_bool
1925 [`match_like_matches_macro`]: https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro
1926 [`match_on_vec_items`]: https://rust-lang.github.io/rust-clippy/master/index.html#match_on_vec_items
1927 [`match_overlapping_arm`]: https://rust-lang.github.io/rust-clippy/master/index.html#match_overlapping_arm
1928 [`match_ref_pats`]: https://rust-lang.github.io/rust-clippy/master/index.html#match_ref_pats
1929 [`match_same_arms`]: https://rust-lang.github.io/rust-clippy/master/index.html#match_same_arms
1930 [`match_single_binding`]: https://rust-lang.github.io/rust-clippy/master/index.html#match_single_binding
1931 [`match_wild_err_arm`]: https://rust-lang.github.io/rust-clippy/master/index.html#match_wild_err_arm
1932 [`match_wildcard_for_single_variants`]: https://rust-lang.github.io/rust-clippy/master/index.html#match_wildcard_for_single_variants
1933 [`maybe_infinite_iter`]: https://rust-lang.github.io/rust-clippy/master/index.html#maybe_infinite_iter
1934 [`mem_discriminant_non_enum`]: https://rust-lang.github.io/rust-clippy/master/index.html#mem_discriminant_non_enum
1935 [`mem_forget`]: https://rust-lang.github.io/rust-clippy/master/index.html#mem_forget
1936 [`mem_replace_option_with_none`]: https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_option_with_none
1937 [`mem_replace_with_default`]: https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_with_default
1938 [`mem_replace_with_uninit`]: https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_with_uninit
1939 [`min_max`]: https://rust-lang.github.io/rust-clippy/master/index.html#min_max
1940 [`misaligned_transmute`]: https://rust-lang.github.io/rust-clippy/master/index.html#misaligned_transmute
1941 [`mismatched_target_os`]: https://rust-lang.github.io/rust-clippy/master/index.html#mismatched_target_os
1942 [`misrefactored_assign_op`]: https://rust-lang.github.io/rust-clippy/master/index.html#misrefactored_assign_op
1943 [`missing_const_for_fn`]: https://rust-lang.github.io/rust-clippy/master/index.html#missing_const_for_fn
1944 [`missing_docs_in_private_items`]: https://rust-lang.github.io/rust-clippy/master/index.html#missing_docs_in_private_items
1945 [`missing_errors_doc`]: https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
1946 [`missing_inline_in_public_items`]: https://rust-lang.github.io/rust-clippy/master/index.html#missing_inline_in_public_items
1947 [`missing_safety_doc`]: https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
1948 [`mistyped_literal_suffixes`]: https://rust-lang.github.io/rust-clippy/master/index.html#mistyped_literal_suffixes
1949 [`mixed_case_hex_literals`]: https://rust-lang.github.io/rust-clippy/master/index.html#mixed_case_hex_literals
1950 [`module_inception`]: https://rust-lang.github.io/rust-clippy/master/index.html#module_inception
1951 [`module_name_repetitions`]: https://rust-lang.github.io/rust-clippy/master/index.html#module_name_repetitions
1952 [`modulo_arithmetic`]: https://rust-lang.github.io/rust-clippy/master/index.html#modulo_arithmetic
1953 [`modulo_one`]: https://rust-lang.github.io/rust-clippy/master/index.html#modulo_one
1954 [`multiple_crate_versions`]: https://rust-lang.github.io/rust-clippy/master/index.html#multiple_crate_versions
1955 [`multiple_inherent_impl`]: https://rust-lang.github.io/rust-clippy/master/index.html#multiple_inherent_impl
1956 [`must_use_candidate`]: https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate
1957 [`must_use_unit`]: https://rust-lang.github.io/rust-clippy/master/index.html#must_use_unit
1958 [`mut_from_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#mut_from_ref
1959 [`mut_mut`]: https://rust-lang.github.io/rust-clippy/master/index.html#mut_mut
1960 [`mut_mutex_lock`]: https://rust-lang.github.io/rust-clippy/master/index.html#mut_mutex_lock
1961 [`mut_range_bound`]: https://rust-lang.github.io/rust-clippy/master/index.html#mut_range_bound
1962 [`mutable_key_type`]: https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type
1963 [`mutex_atomic`]: https://rust-lang.github.io/rust-clippy/master/index.html#mutex_atomic
1964 [`mutex_integer`]: https://rust-lang.github.io/rust-clippy/master/index.html#mutex_integer
1965 [`naive_bytecount`]: https://rust-lang.github.io/rust-clippy/master/index.html#naive_bytecount
1966 [`needless_arbitrary_self_type`]: https://rust-lang.github.io/rust-clippy/master/index.html#needless_arbitrary_self_type
1967 [`needless_bool`]: https://rust-lang.github.io/rust-clippy/master/index.html#needless_bool
1968 [`needless_borrow`]: https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
1969 [`needless_borrowed_reference`]: https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrowed_reference
1970 [`needless_collect`]: https://rust-lang.github.io/rust-clippy/master/index.html#needless_collect
1971 [`needless_continue`]: https://rust-lang.github.io/rust-clippy/master/index.html#needless_continue
1972 [`needless_doctest_main`]: https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main
1973 [`needless_lifetimes`]: https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
1974 [`needless_pass_by_value`]: https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value
1975 [`needless_range_loop`]: https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop
1976 [`needless_return`]: https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
1977 [`needless_update`]: https://rust-lang.github.io/rust-clippy/master/index.html#needless_update
1978 [`neg_cmp_op_on_partial_ord`]: https://rust-lang.github.io/rust-clippy/master/index.html#neg_cmp_op_on_partial_ord
1979 [`neg_multiply`]: https://rust-lang.github.io/rust-clippy/master/index.html#neg_multiply
1980 [`never_loop`]: https://rust-lang.github.io/rust-clippy/master/index.html#never_loop
1981 [`new_ret_no_self`]: https://rust-lang.github.io/rust-clippy/master/index.html#new_ret_no_self
1982 [`new_without_default`]: https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
1983 [`no_effect`]: https://rust-lang.github.io/rust-clippy/master/index.html#no_effect
1984 [`non_ascii_literal`]: https://rust-lang.github.io/rust-clippy/master/index.html#non_ascii_literal
1985 [`nonminimal_bool`]: https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool
1986 [`nonsensical_open_options`]: https://rust-lang.github.io/rust-clippy/master/index.html#nonsensical_open_options
1987 [`not_unsafe_ptr_arg_deref`]: https://rust-lang.github.io/rust-clippy/master/index.html#not_unsafe_ptr_arg_deref
1988 [`ok_expect`]: https://rust-lang.github.io/rust-clippy/master/index.html#ok_expect
1989 [`op_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#op_ref
1990 [`option_as_ref_deref`]: https://rust-lang.github.io/rust-clippy/master/index.html#option_as_ref_deref
1991 [`option_env_unwrap`]: https://rust-lang.github.io/rust-clippy/master/index.html#option_env_unwrap
1992 [`option_if_let_else`]: https://rust-lang.github.io/rust-clippy/master/index.html#option_if_let_else
1993 [`option_map_or_none`]: https://rust-lang.github.io/rust-clippy/master/index.html#option_map_or_none
1994 [`option_map_unit_fn`]: https://rust-lang.github.io/rust-clippy/master/index.html#option_map_unit_fn
1995 [`option_option`]: https://rust-lang.github.io/rust-clippy/master/index.html#option_option
1996 [`or_fun_call`]: https://rust-lang.github.io/rust-clippy/master/index.html#or_fun_call
1997 [`out_of_bounds_indexing`]: https://rust-lang.github.io/rust-clippy/master/index.html#out_of_bounds_indexing
1998 [`overflow_check_conditional`]: https://rust-lang.github.io/rust-clippy/master/index.html#overflow_check_conditional
1999 [`panic`]: https://rust-lang.github.io/rust-clippy/master/index.html#panic
2000 [`panic_in_result_fn`]: https://rust-lang.github.io/rust-clippy/master/index.html#panic_in_result_fn
2001 [`panic_params`]: https://rust-lang.github.io/rust-clippy/master/index.html#panic_params
2002 [`panicking_unwrap`]: https://rust-lang.github.io/rust-clippy/master/index.html#panicking_unwrap
2003 [`partialeq_ne_impl`]: https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_ne_impl
2004 [`path_buf_push_overwrite`]: https://rust-lang.github.io/rust-clippy/master/index.html#path_buf_push_overwrite
2005 [`pattern_type_mismatch`]: https://rust-lang.github.io/rust-clippy/master/index.html#pattern_type_mismatch
2006 [`possible_missing_comma`]: https://rust-lang.github.io/rust-clippy/master/index.html#possible_missing_comma
2007 [`precedence`]: https://rust-lang.github.io/rust-clippy/master/index.html#precedence
2008 [`print_literal`]: https://rust-lang.github.io/rust-clippy/master/index.html#print_literal
2009 [`print_stdout`]: https://rust-lang.github.io/rust-clippy/master/index.html#print_stdout
2010 [`print_with_newline`]: https://rust-lang.github.io/rust-clippy/master/index.html#print_with_newline
2011 [`println_empty_string`]: https://rust-lang.github.io/rust-clippy/master/index.html#println_empty_string
2012 [`ptr_arg`]: https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
2013 [`ptr_eq`]: https://rust-lang.github.io/rust-clippy/master/index.html#ptr_eq
2014 [`ptr_offset_with_cast`]: https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast
2015 [`pub_enum_variant_names`]: https://rust-lang.github.io/rust-clippy/master/index.html#pub_enum_variant_names
2016 [`question_mark`]: https://rust-lang.github.io/rust-clippy/master/index.html#question_mark
2017 [`range_minus_one`]: https://rust-lang.github.io/rust-clippy/master/index.html#range_minus_one
2018 [`range_plus_one`]: https://rust-lang.github.io/rust-clippy/master/index.html#range_plus_one
2019 [`range_step_by_zero`]: https://rust-lang.github.io/rust-clippy/master/index.html#range_step_by_zero
2020 [`range_zip_with_len`]: https://rust-lang.github.io/rust-clippy/master/index.html#range_zip_with_len
2021 [`rc_buffer`]: https://rust-lang.github.io/rust-clippy/master/index.html#rc_buffer
2022 [`redundant_allocation`]: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_allocation
2023 [`redundant_clone`]: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone
2024 [`redundant_closure`]: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
2025 [`redundant_closure_call`]: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call
2026 [`redundant_closure_for_method_calls`]: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_for_method_calls
2027 [`redundant_field_names`]: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
2028 [`redundant_pattern`]: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern
2029 [`redundant_pattern_matching`]: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching
2030 [`redundant_pub_crate`]: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pub_crate
2031 [`redundant_static_lifetimes`]: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes
2032 [`ref_in_deref`]: https://rust-lang.github.io/rust-clippy/master/index.html#ref_in_deref
2033 [`ref_option_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#ref_option_ref
2034 [`regex_macro`]: https://rust-lang.github.io/rust-clippy/master/index.html#regex_macro
2035 [`repeat_once`]: https://rust-lang.github.io/rust-clippy/master/index.html#repeat_once
2036 [`replace_consts`]: https://rust-lang.github.io/rust-clippy/master/index.html#replace_consts
2037 [`rest_pat_in_fully_bound_structs`]: https://rust-lang.github.io/rust-clippy/master/index.html#rest_pat_in_fully_bound_structs
2038 [`result_map_or_into_option`]: https://rust-lang.github.io/rust-clippy/master/index.html#result_map_or_into_option
2039 [`result_map_unit_fn`]: https://rust-lang.github.io/rust-clippy/master/index.html#result_map_unit_fn
2040 [`result_unit_err`]: https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err
2041 [`reversed_empty_ranges`]: https://rust-lang.github.io/rust-clippy/master/index.html#reversed_empty_ranges
2042 [`same_functions_in_if_condition`]: https://rust-lang.github.io/rust-clippy/master/index.html#same_functions_in_if_condition
2043 [`same_item_push`]: https://rust-lang.github.io/rust-clippy/master/index.html#same_item_push
2044 [`search_is_some`]: https://rust-lang.github.io/rust-clippy/master/index.html#search_is_some
2045 [`self_assignment`]: https://rust-lang.github.io/rust-clippy/master/index.html#self_assignment
2046 [`serde_api_misuse`]: https://rust-lang.github.io/rust-clippy/master/index.html#serde_api_misuse
2047 [`shadow_reuse`]: https://rust-lang.github.io/rust-clippy/master/index.html#shadow_reuse
2048 [`shadow_same`]: https://rust-lang.github.io/rust-clippy/master/index.html#shadow_same
2049 [`shadow_unrelated`]: https://rust-lang.github.io/rust-clippy/master/index.html#shadow_unrelated
2050 [`short_circuit_statement`]: https://rust-lang.github.io/rust-clippy/master/index.html#short_circuit_statement
2051 [`should_assert_eq`]: https://rust-lang.github.io/rust-clippy/master/index.html#should_assert_eq
2052 [`should_implement_trait`]: https://rust-lang.github.io/rust-clippy/master/index.html#should_implement_trait
2053 [`similar_names`]: https://rust-lang.github.io/rust-clippy/master/index.html#similar_names
2054 [`single_char_add_str`]: https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str
2055 [`single_char_pattern`]: https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern
2056 [`single_component_path_imports`]: https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports
2057 [`single_element_loop`]: https://rust-lang.github.io/rust-clippy/master/index.html#single_element_loop
2058 [`single_match`]: https://rust-lang.github.io/rust-clippy/master/index.html#single_match
2059 [`single_match_else`]: https://rust-lang.github.io/rust-clippy/master/index.html#single_match_else
2060 [`size_of_in_element_count`]: https://rust-lang.github.io/rust-clippy/master/index.html#size_of_in_element_count
2061 [`skip_while_next`]: https://rust-lang.github.io/rust-clippy/master/index.html#skip_while_next
2062 [`slow_vector_initialization`]: https://rust-lang.github.io/rust-clippy/master/index.html#slow_vector_initialization
2063 [`stable_sort_primitive`]: https://rust-lang.github.io/rust-clippy/master/index.html#stable_sort_primitive
2064 [`str_to_string`]: https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string
2065 [`string_add`]: https://rust-lang.github.io/rust-clippy/master/index.html#string_add
2066 [`string_add_assign`]: https://rust-lang.github.io/rust-clippy/master/index.html#string_add_assign
2067 [`string_extend_chars`]: https://rust-lang.github.io/rust-clippy/master/index.html#string_extend_chars
2068 [`string_from_utf8_as_bytes`]: https://rust-lang.github.io/rust-clippy/master/index.html#string_from_utf8_as_bytes
2069 [`string_lit_as_bytes`]: https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes
2070 [`string_to_string`]: https://rust-lang.github.io/rust-clippy/master/index.html#string_to_string
2071 [`struct_excessive_bools`]: https://rust-lang.github.io/rust-clippy/master/index.html#struct_excessive_bools
2072 [`suboptimal_flops`]: https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops
2073 [`suspicious_arithmetic_impl`]: https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_arithmetic_impl
2074 [`suspicious_assignment_formatting`]: https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_assignment_formatting
2075 [`suspicious_else_formatting`]: https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_else_formatting
2076 [`suspicious_map`]: https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_map
2077 [`suspicious_op_assign_impl`]: https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_op_assign_impl
2078 [`suspicious_operation_groupings`]: https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_operation_groupings
2079 [`suspicious_unary_op_formatting`]: https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_unary_op_formatting
2080 [`tabs_in_doc_comments`]: https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
2081 [`temporary_assignment`]: https://rust-lang.github.io/rust-clippy/master/index.html#temporary_assignment
2082 [`temporary_cstring_as_ptr`]: https://rust-lang.github.io/rust-clippy/master/index.html#temporary_cstring_as_ptr
2083 [`to_digit_is_some`]: https://rust-lang.github.io/rust-clippy/master/index.html#to_digit_is_some
2084 [`to_string_in_display`]: https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_display
2085 [`todo`]: https://rust-lang.github.io/rust-clippy/master/index.html#todo
2086 [`too_many_arguments`]: https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
2087 [`too_many_lines`]: https://rust-lang.github.io/rust-clippy/master/index.html#too_many_lines
2088 [`toplevel_ref_arg`]: https://rust-lang.github.io/rust-clippy/master/index.html#toplevel_ref_arg
2089 [`trait_duplication_in_bounds`]: https://rust-lang.github.io/rust-clippy/master/index.html#trait_duplication_in_bounds
2090 [`transmute_bytes_to_str`]: https://rust-lang.github.io/rust-clippy/master/index.html#transmute_bytes_to_str
2091 [`transmute_float_to_int`]: https://rust-lang.github.io/rust-clippy/master/index.html#transmute_float_to_int
2092 [`transmute_int_to_bool`]: https://rust-lang.github.io/rust-clippy/master/index.html#transmute_int_to_bool
2093 [`transmute_int_to_char`]: https://rust-lang.github.io/rust-clippy/master/index.html#transmute_int_to_char
2094 [`transmute_int_to_float`]: https://rust-lang.github.io/rust-clippy/master/index.html#transmute_int_to_float
2095 [`transmute_ptr_to_ptr`]: https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ptr
2096 [`transmute_ptr_to_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref
2097 [`transmutes_expressible_as_ptr_casts`]: https://rust-lang.github.io/rust-clippy/master/index.html#transmutes_expressible_as_ptr_casts
2098 [`transmuting_null`]: https://rust-lang.github.io/rust-clippy/master/index.html#transmuting_null
2099 [`trivial_regex`]: https://rust-lang.github.io/rust-clippy/master/index.html#trivial_regex
2100 [`trivially_copy_pass_by_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref
2101 [`try_err`]: https://rust-lang.github.io/rust-clippy/master/index.html#try_err
2102 [`type_complexity`]: https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
2103 [`type_repetition_in_bounds`]: https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
2104 [`undropped_manually_drops`]: https://rust-lang.github.io/rust-clippy/master/index.html#undropped_manually_drops
2105 [`unicode_not_nfc`]: https://rust-lang.github.io/rust-clippy/master/index.html#unicode_not_nfc
2106 [`unimplemented`]: https://rust-lang.github.io/rust-clippy/master/index.html#unimplemented
2107 [`uninit_assumed_init`]: https://rust-lang.github.io/rust-clippy/master/index.html#uninit_assumed_init
2108 [`unit_arg`]: https://rust-lang.github.io/rust-clippy/master/index.html#unit_arg
2109 [`unit_cmp`]: https://rust-lang.github.io/rust-clippy/master/index.html#unit_cmp
2110 [`unit_return_expecting_ord`]: https://rust-lang.github.io/rust-clippy/master/index.html#unit_return_expecting_ord
2111 [`unknown_clippy_lints`]: https://rust-lang.github.io/rust-clippy/master/index.html#unknown_clippy_lints
2112 [`unnecessary_cast`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
2113 [`unnecessary_filter_map`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_filter_map
2114 [`unnecessary_fold`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fold
2115 [`unnecessary_lazy_evaluations`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations
2116 [`unnecessary_mut_passed`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_mut_passed
2117 [`unnecessary_operation`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_operation
2118 [`unnecessary_sort_by`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_sort_by
2119 [`unnecessary_unwrap`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap
2120 [`unnecessary_wraps`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_wraps
2121 [`unneeded_field_pattern`]: https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern
2122 [`unneeded_wildcard_pattern`]: https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_wildcard_pattern
2123 [`unnested_or_patterns`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnested_or_patterns
2124 [`unreachable`]: https://rust-lang.github.io/rust-clippy/master/index.html#unreachable
2125 [`unreadable_literal`]: https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal
2126 [`unsafe_derive_deserialize`]: https://rust-lang.github.io/rust-clippy/master/index.html#unsafe_derive_deserialize
2127 [`unsafe_removed_from_name`]: https://rust-lang.github.io/rust-clippy/master/index.html#unsafe_removed_from_name
2128 [`unsafe_vector_initialization`]: https://rust-lang.github.io/rust-clippy/master/index.html#unsafe_vector_initialization
2129 [`unseparated_literal_suffix`]: https://rust-lang.github.io/rust-clippy/master/index.html#unseparated_literal_suffix
2130 [`unsound_collection_transmute`]: https://rust-lang.github.io/rust-clippy/master/index.html#unsound_collection_transmute
2131 [`unstable_as_mut_slice`]: https://rust-lang.github.io/rust-clippy/master/index.html#unstable_as_mut_slice
2132 [`unstable_as_slice`]: https://rust-lang.github.io/rust-clippy/master/index.html#unstable_as_slice
2133 [`unused_collect`]: https://rust-lang.github.io/rust-clippy/master/index.html#unused_collect
2134 [`unused_io_amount`]: https://rust-lang.github.io/rust-clippy/master/index.html#unused_io_amount
2135 [`unused_label`]: https://rust-lang.github.io/rust-clippy/master/index.html#unused_label
2136 [`unused_self`]: https://rust-lang.github.io/rust-clippy/master/index.html#unused_self
2137 [`unused_unit`]: https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
2138 [`unusual_byte_groupings`]: https://rust-lang.github.io/rust-clippy/master/index.html#unusual_byte_groupings
2139 [`unwrap_in_result`]: https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_in_result
2140 [`unwrap_used`]: https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
2141 [`use_debug`]: https://rust-lang.github.io/rust-clippy/master/index.html#use_debug
2142 [`use_self`]: https://rust-lang.github.io/rust-clippy/master/index.html#use_self
2143 [`used_underscore_binding`]: https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_binding
2144 [`useless_asref`]: https://rust-lang.github.io/rust-clippy/master/index.html#useless_asref
2145 [`useless_attribute`]: https://rust-lang.github.io/rust-clippy/master/index.html#useless_attribute
2146 [`useless_conversion`]: https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
2147 [`useless_format`]: https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
2148 [`useless_let_if_seq`]: https://rust-lang.github.io/rust-clippy/master/index.html#useless_let_if_seq
2149 [`useless_transmute`]: https://rust-lang.github.io/rust-clippy/master/index.html#useless_transmute
2150 [`useless_vec`]: https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
2151 [`vec_box`]: https://rust-lang.github.io/rust-clippy/master/index.html#vec_box
2152 [`vec_resize_to_zero`]: https://rust-lang.github.io/rust-clippy/master/index.html#vec_resize_to_zero
2153 [`verbose_bit_mask`]: https://rust-lang.github.io/rust-clippy/master/index.html#verbose_bit_mask
2154 [`verbose_file_reads`]: https://rust-lang.github.io/rust-clippy/master/index.html#verbose_file_reads
2155 [`vtable_address_comparisons`]: https://rust-lang.github.io/rust-clippy/master/index.html#vtable_address_comparisons
2156 [`while_immutable_condition`]: https://rust-lang.github.io/rust-clippy/master/index.html#while_immutable_condition
2157 [`while_let_loop`]: https://rust-lang.github.io/rust-clippy/master/index.html#while_let_loop
2158 [`while_let_on_iterator`]: https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator
2159 [`wildcard_dependencies`]: https://rust-lang.github.io/rust-clippy/master/index.html#wildcard_dependencies
2160 [`wildcard_enum_match_arm`]: https://rust-lang.github.io/rust-clippy/master/index.html#wildcard_enum_match_arm
2161 [`wildcard_imports`]: https://rust-lang.github.io/rust-clippy/master/index.html#wildcard_imports
2162 [`wildcard_in_or_patterns`]: https://rust-lang.github.io/rust-clippy/master/index.html#wildcard_in_or_patterns
2163 [`write_literal`]: https://rust-lang.github.io/rust-clippy/master/index.html#write_literal
2164 [`write_with_newline`]: https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline
2165 [`writeln_empty_string`]: https://rust-lang.github.io/rust-clippy/master/index.html#writeln_empty_string
2166 [`wrong_pub_self_convention`]: https://rust-lang.github.io/rust-clippy/master/index.html#wrong_pub_self_convention
2167 [`wrong_self_convention`]: https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention
2168 [`wrong_transmute`]: https://rust-lang.github.io/rust-clippy/master/index.html#wrong_transmute
2169 [`zero_divided_by_zero`]: https://rust-lang.github.io/rust-clippy/master/index.html#zero_divided_by_zero
2170 [`zero_prefixed_literal`]: https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal
2171 [`zero_ptr`]: https://rust-lang.github.io/rust-clippy/master/index.html#zero_ptr
2172 [`zst_offset`]: https://rust-lang.github.io/rust-clippy/master/index.html#zst_offset
2173 <!-- end autogenerated links to lint list -->