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