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