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