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