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