]> git.lizzy.rs Git - rust.git/blob - CHANGELOG.md
Auto merge of #4386 - lzutao:lint-option-and_then-some, r=flip1995
[rust.git] / CHANGELOG.md
1 # Change Log
2
3 All notable changes to this project will be documented in this file.
4
5 ## Unreleased / In Rust Beta or Nightly
6
7 [72da101...master](https://github.com/rust-lang/rust-clippy/compare/72da101...master)
8
9 ## Rust 1.38
10
11 Current Beta
12
13 [e3cb40e...72da101](https://github.com/rust-lang/rust-clippy/compare/e3cb40e...72da101)
14
15 ## Rust 1.37
16
17 Current stable, released 2019-08-15
18
19 [082cfa7...e3cb40e](https://github.com/rust-lang/rust-clippy/compare/082cfa7...e3cb40e)
20
21 * New Lints:
22   * [`checked_conversions`] [#4088](https://github.com/rust-lang/rust-clippy/pull/4088)
23   * [`get_last_with_len`] [#3832](https://github.com/rust-lang/rust-clippy/pull/3832)
24   * [`integer_division`] [#4195](https://github.com/rust-lang/rust-clippy/pull/4195)
25 * Renamed Lint: `const_static_lifetime` is now called [`redundant_static_lifetimes`].
26   The lint now covers statics in addition to consts [#4162](https://github.com/rust-lang/rust-clippy/pull/4162)
27 * [`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)
28 * [`needless_return`] now works with void functions [#4220](https://github.com/rust-lang/rust-clippy/pull/4220)
29 * Fix false positive in [`redundant_closure`] [#4190](https://github.com/rust-lang/rust-clippy/pull/4190)
30 * Fix false positive in [`useless_attribute`] [#4107](https://github.com/rust-lang/rust-clippy/pull/4107)
31 * Fix incorrect suggestion for [`float_cmp`] [#4214](https://github.com/rust-lang/rust-clippy/pull/4214)
32 * Add suggestions for [`print_with_newline`] and [`write_with_newline`] [#4136](https://github.com/rust-lang/rust-clippy/pull/4136)
33 * Improve suggestions for [`option_map_unwrap_or_else`] and [`result_map_unwrap_or_else`] [#4164](https://github.com/rust-lang/rust-clippy/pull/4164)
34 * Improve suggestions for [`non_ascii_literal`] [#4119](https://github.com/rust-lang/rust-clippy/pull/4119)
35 * Improve diagnostics for [`let_and_return`] [#4137](https://github.com/rust-lang/rust-clippy/pull/4137)
36 * Improve diagnostics for [`trivially_copy_pass_by_ref`] [#4071](https://github.com/rust-lang/rust-clippy/pull/4071)
37 * Add macro check for [`unreadable_literal`] [#4099](https://github.com/rust-lang/rust-clippy/pull/4099)
38
39 ## Rust 1.36
40
41 Released 2019-07-04
42
43 [eb9f9b1...082cfa7](https://github.com/rust-lang/rust-clippy/compare/eb9f9b1...082cfa7)
44
45  * New lints: [`find_map`], [`filter_map_next`] [#4039](https://github.com/rust-lang/rust-clippy/pull/4039)
46  * New lint: [`path_buf_push_overwrite`] [#3954](https://github.com/rust-lang/rust-clippy/pull/3954)
47  * Move `path_buf_push_overwrite` to the nursery [#4013](https://github.com/rust-lang/rust-clippy/pull/4013)
48  * Split [`redundant_closure`] into [`redundant_closure`] and [`redundant_closure_for_method_calls`] [#4110](https://github.com/rust-lang/rust-clippy/pull/4101)
49  * Allow allowing of [`toplevel_ref_arg`] lint [#4007](https://github.com/rust-lang/rust-clippy/pull/4007)
50  * Fix false negative in [`or_fun_call`] pertaining to nested constructors [#4084](https://github.com/rust-lang/rust-clippy/pull/4084)
51  * Fix false positive in [`or_fn_call`] pertaining to enum variant constructors [#4018](https://github.com/rust-lang/rust-clippy/pull/4018)
52  * Fix false positive in [`useless_let_if_seq`] pertaining to interior mutability [#4035](https://github.com/rust-lang/rust-clippy/pull/4035)
53  * Fix false positive in [`redundant_closure`] pertaining to non-function types [#4008](https://github.com/rust-lang/rust-clippy/pull/4008)
54  * Fix false positive in [`let_and_return`] pertaining to attributes on `let`s [#4024](https://github.com/rust-lang/rust-clippy/pull/4024)
55  * Fix false positive in [`module_name_repetitions`] lint pertaining to attributes [#4006](https://github.com/rust-lang/rust-clippy/pull/4006)
56  * Fix false positive on [`assertions_on_constants`] pertaining to `debug_assert!` [#3989](https://github.com/rust-lang/rust-clippy/pull/3989)
57  * 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)
58  * Improve suggestion for [`search_is_some`] [#4049](https://github.com/rust-lang/rust-clippy/pull/4049)
59  * Improve suggestion applicability for [`naive_bytecount`] [#3984](https://github.com/rust-lang/rust-clippy/pull/3984)
60  * Improve suggestion applicability for [`while_let_loop`] [#3975](https://github.com/rust-lang/rust-clippy/pull/3975)
61  * Improve diagnostics for [`too_many_arguments`] [#4053](https://github.com/rust-lang/rust-clippy/pull/4053)
62  * Improve diagnostics for [`cast_lossless`] [#4021](https://github.com/rust-lang/rust-clippy/pull/4021)
63  * Deal with macro checks in desugarings better [#4082](https://github.com/rust-lang/rust-clippy/pull/4082)
64  * Add macro check for [`unnecessary_cast`]  [#4026](https://github.com/rust-lang/rust-clippy/pull/4026)
65  * Remove [`approx_constant`]'s documentation's "Known problems" section. [#4027](https://github.com/rust-lang/rust-clippy/pull/4027)
66  * Fix ICE in [`suspicious_else_formatting`] [#3960](https://github.com/rust-lang/rust-clippy/pull/3960)
67  * Fix ICE in [`decimal_literal_representation`] [#3931](https://github.com/rust-lang/rust-clippy/pull/3931)
68
69
70 ## Rust 1.35
71
72 Released 2019-05-20
73
74 [1fac380..37f5c1e](https://github.com/rust-lang/rust-clippy/compare/1fac380...37f5c1e)
75
76  * New lint: [`drop_bounds`] to detect `T: Drop` bounds
77  * Split [`redundant_closure`] into [`redundant_closure`] and [`redundant_closure_for_method_calls`] [#4110](https://github.com/rust-lang/rust-clippy/pull/4101)
78  * Rename `cyclomatic_complexity` to [`cognitive_complexity`], start work on making lint more practical for Rust code
79  * Move [`get_unwrap`] to the restriction category
80  * Improve suggestions for [`iter_cloned_collect`]
81  * Improve suggestions for [`cast_lossless`] to suggest suffixed literals
82  * Fix false positives in [`print_with_newline`] and [`write_with_newline`] pertaining to raw strings
83  * Fix false positive in [`needless_range_loop`] pertaining to structs without a `.iter()`
84  * Fix false positive in [`bool_comparison`] pertaining to non-bool types
85  * Fix false positive in [`redundant_closure`] pertaining to differences in borrows
86  * Fix false positive in [`option_map_unwrap_or`] on non-copy types
87  * Fix false positives in [`missing_const_for_fn`] pertaining to macros and trait method impls
88  * Fix false positive in [`needless_pass_by_value`] pertaining to procedural macros
89  * Fix false positive in [`needless_continue`] pertaining to loop labels
90  * Fix false positive for [`boxed_local`] pertaining to arguments moved into closures
91  * Fix false positive for [`use_self`] in nested functions
92  * Fix suggestion for [`expect_fun_call`] (https://github.com/rust-lang/rust-clippy/pull/3846)
93  * Fix suggestion for [`explicit_counter_loop`] to deal with parenthesizing range variables
94  * Fix suggestion for [`single_char_pattern`] to correctly escape single quotes
95  * Avoid triggering [`redundant_closure`] in macros
96  * 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)
97
98 ## Rust 1.34
99
100 Released 2019-04-10
101
102 [1b89724...1fac380](https://github.com/rust-lang/rust-clippy/compare/1b89724...1fac380)
103
104 * New lint: [`assertions_on_constants`] to detect for example `assert!(true)`
105 * New lint: [`dbg_macro`] to detect uses of the `dbg!` macro
106 * New lint: [`missing_const_for_fn`] that can suggest functions to be made `const`
107 * New lint: [`too_many_lines`] to detect functions with excessive LOC. It can be
108   configured using the `too-many-lines-threshold` configuration.
109 * New lint: [`wildcard_enum_match_arm`] to check for wildcard enum matches using `_`
110 * Expand `redundant_closure` to also work for methods (not only functions)
111 * Fix ICEs in `vec_box`, `needless_pass_by_value` and `implicit_hasher`
112 * Fix false positive in `cast_sign_loss`
113 * Fix false positive in `integer_arithmetic`
114 * Fix false positive in `unit_arg`
115 * Fix false positives in `implicit_return`
116 * Add suggestion to `explicit_write`
117 * Improve suggestions for `question_mark` lint
118 * Fix incorrect suggestion for `cast_lossless`
119 * Fix incorrect suggestion for `expect_fun_call`
120 * Fix incorrect suggestion for `needless_bool`
121 * Fix incorrect suggestion for `needless_range_loop`
122 * Fix incorrect suggestion for `use_self`
123 * Fix incorrect suggestion for `while_let_on_iterator`
124 * Clippy is now slightly easier to invoke in non-cargo contexts. See
125   [#3665][pull3665] for more details.
126 * We now have [improved documentation][adding_lints] on how to add new lints
127
128 ## Rust 1.33
129
130 Released 2019-02-26
131
132 [b2601be...1b89724](https://github.com/rust-lang/rust-clippy/compare/b2601be...1b89724)
133
134 * New lints: [`implicit_return`], [`vec_box`], [`cast_ref_to_mut`]
135 * The `rust-clippy` repository is now part of the `rust-lang` org.
136 * Rename `stutter` to `module_name_repetitions`
137 * Merge `new_without_default_derive` into `new_without_default` lint
138 * Move `large_digit_groups` from `style` group to `pedantic`
139 * Expand `bool_comparison` to check for `<`, `<=`, `>`, `>=`, and `!=`
140   comparisons against booleans
141 * Expand `no_effect` to detect writes to constants such as `A_CONST.field = 2`
142 * Expand `redundant_clone` to work on struct fields
143 * Expand `suspicious_else_formatting` to detect `if .. {..} {..}`
144 * Expand `use_self` to work on tuple structs and also in local macros
145 * Fix ICE in `result_map_unit_fn` and `option_map_unit_fn`
146 * Fix false positives in `implicit_return`
147 * Fix false positives in `use_self`
148 * Fix false negative in `clone_on_copy`
149 * Fix false positive in `doc_markdown`
150 * Fix false positive in `empty_loop`
151 * Fix false positive in `if_same_then_else`
152 * Fix false positive in `infinite_iter`
153 * Fix false positive in `question_mark`
154 * Fix false positive in `useless_asref`
155 * Fix false positive in `wildcard_dependencies`
156 * Fix false positive in `write_with_newline`
157 * Add suggestion to `explicit_write`
158 * Improve suggestions for `question_mark` lint
159 * Fix incorrect suggestion for `get_unwrap`
160
161 ## Rust 1.32
162
163 Released 2019-01-17
164
165 [2e26fdc2...b2601be](https://github.com/rust-lang/rust-clippy/compare/2e26fdc2...b2601be)
166
167 * New lints: [`slow_vector_initialization`], [`mem_discriminant_non_enum`],
168   [`redundant_clone`], [`wildcard_dependencies`],
169   [`into_iter_on_ref`], [`into_iter_on_array`], [`deprecated_cfg_attr`],
170   [`mem_discriminant_non_enum`], [`cargo_common_metadata`]
171 * Add support for `u128` and `i128` to integer related lints
172 * Add float support to `mistyped_literal_suffixes`
173 * Fix false positives in `use_self`
174 * Fix false positives in `missing_comma`
175 * Fix false positives in `new_ret_no_self`
176 * Fix false positives in `possible_missing_comma`
177 * Fix false positive in `integer_arithmetic` in constant items
178 * Fix false positive in `needless_borrow`
179 * Fix false positive in `out_of_bounds_indexing`
180 * Fix false positive in `new_without_default_derive`
181 * Fix false positive in `string_lit_as_bytes`
182 * Fix false negative in `out_of_bounds_indexing`
183 * Fix false negative in `use_self`. It will now also check existential types
184 * Fix incorrect suggestion for `redundant_closure_call`
185 * Fix various suggestions that contained expanded macros
186 * Fix `bool_comparison` triggering 3 times on on on the same code
187 * Expand `trivially_copy_pass_by_ref` to work on trait methods
188 * Improve suggestion for `needless_range_loop`
189 * Move `needless_pass_by_value` from `pedantic` group to `style`
190
191 ## Rust 1.31
192
193 Released 2018-12-06
194
195 [125907ad..2e26fdc2](https://github.com/rust-lang/rust-clippy/compare/125907ad..2e26fdc2)
196
197 * Clippy has been relicensed under a dual MIT / Apache license.
198   See [#3093](https://github.com/rust-lang/rust-clippy/issues/3093) for more
199   information.
200 * With Rust 1.31, Clippy is no longer available via crates.io. The recommended
201   installation method is via `rustup component add clippy`.
202 * New lints: [`redundant_pattern_matching`], [`unnecessary_filter_map`],
203   [`unused_unit`], [`map_flatten`], [`mem_replace_option_with_none`]
204 * Fix ICE in `if_let_redundant_pattern_matching`
205 * Fix ICE in `needless_pass_by_value` when encountering a generic function
206   argument with a lifetime parameter
207 * Fix ICE in `needless_range_loop`
208 * Fix ICE in `single_char_pattern` when encountering a constant value
209 * Fix false positive in `assign_op_pattern`
210 * Fix false positive in `boxed_local` on trait implementations
211 * Fix false positive in `cmp_owned`
212 * Fix false positive in `collapsible_if` when conditionals have comments
213 * Fix false positive in `double_parens`
214 * Fix false positive in `excessive_precision`
215 * Fix false positive in `explicit_counter_loop`
216 * Fix false positive in `fn_to_numeric_cast_with_truncation`
217 * Fix false positive in `map_clone`
218 * Fix false positive in `new_ret_no_self`
219 * Fix false positive in `new_without_default` when `new` is unsafe
220 * Fix false positive in `type_complexity` when using extern types
221 * Fix false positive in `useless_format`
222 * Fix false positive in `wrong_self_convention`
223 * Fix incorrect suggestion for `excessive_precision`
224 * Fix incorrect suggestion for `expect_fun_call`
225 * Fix incorrect suggestion for `get_unwrap`
226 * Fix incorrect suggestion for `useless_format`
227 * `fn_to_numeric_cast_with_truncation` lint can be disabled again
228 * Improve suggestions for `manual_memcpy`
229 * Improve help message for `needless_lifetimes`
230
231 ## Rust 1.30
232
233 Released 2018-10-25
234
235 [14207503...125907ad](https://github.com/rust-lang/rust-clippy/compare/14207503...125907ad)
236
237 * Deprecate `assign_ops` lint
238 * New lints: [`mistyped_literal_suffixes`], [`ptr_offset_with_cast`],
239   [`needless_collect`], [`copy_iterator`]
240 * `cargo clippy -V` now includes the Clippy commit hash of the Rust
241   Clippy component
242 * Fix ICE in `implicit_hasher`
243 * Fix ICE when encountering `println!("{}" a);`
244 * Fix ICE when encountering a macro call in match statements
245 * Fix false positive in `default_trait_access`
246 * Fix false positive in `trivially_copy_pass_by_ref`
247 * Fix false positive in `similar_names`
248 * Fix false positive in `redundant_field_name`
249 * Fix false positive in `expect_fun_call`
250 * Fix false negative in `identity_conversion`
251 * Fix false negative in `explicit_counter_loop`
252 * Fix `range_plus_one` suggestion and false negative
253 * `print_with_newline` / `write_with_newline`: don't warn about string with several `\n`s in them
254 * Fix `useless_attribute` to also whitelist `unused_extern_crates`
255 * Fix incorrect suggestion for `single_char_pattern`
256 * Improve suggestion for `identity_conversion` lint
257 * Move `explicit_iter_loop` and `explicit_into_iter_loop` from `style` group to `pedantic`
258 * Move `range_plus_one` and `range_minus_one` from `nursery` group to `complexity`
259 * Move `shadow_unrelated` from `restriction` group to `pedantic`
260 * Move `indexing_slicing` from `pedantic` group to `restriction`
261
262 ## Rust 1.29
263
264 Released 2018-09-13
265
266 [v0.0.212...14207503](https://github.com/rust-lang/rust-clippy/compare/v0.0.212...14207503)
267
268 * :tada: :tada: **Rust 1.29 is the first stable Rust that includes a bundled Clippy** :tada:
269   :tada:
270   You can now run `rustup component add clippy-preview` and then `cargo
271   clippy` to run Clippy. This should put an end to the continuous nightly
272   upgrades for Clippy users.
273 * Clippy now follows the Rust versioning scheme instead of its own
274 * Fix ICE when encountering a `while let (..) = x.iter()` construct
275 * Fix false positives in `use_self`
276 * Fix false positive in `trivially_copy_pass_by_ref`
277 * Fix false positive in `useless_attribute` lint
278 * Fix false positive in `print_literal`
279 * Fix `use_self` regressions
280 * Improve lint message for `neg_cmp_op_on_partial_ord`
281 * Improve suggestion highlight for `single_char_pattern`
282 * Improve suggestions for various print/write macro lints
283 * Improve website header
284
285 ## 0.0.212 (2018-07-10)
286 * Rustup to *rustc 1.29.0-nightly (e06c87544 2018-07-06)*
287
288 ## 0.0.211
289 * Rustup to *rustc 1.28.0-nightly (e3bf634e0 2018-06-28)*
290
291 ## 0.0.210
292 * Rustup to *rustc 1.28.0-nightly (01cc982e9 2018-06-24)*
293
294 ## 0.0.209
295 * Rustup to *rustc 1.28.0-nightly (523097979 2018-06-18)*
296
297 ## 0.0.208
298 * Rustup to *rustc 1.28.0-nightly (86a8f1a63 2018-06-17)*
299
300 ## 0.0.207
301 * Rustup to *rustc 1.28.0-nightly (2a0062974 2018-06-09)*
302
303 ## 0.0.206
304 * Rustup to *rustc 1.28.0-nightly (5bf68db6e 2018-05-28)*
305
306 ## 0.0.205
307 * Rustup to *rustc 1.28.0-nightly (990d8aa74 2018-05-25)*
308 * Rename `unused_lifetimes` to `extra_unused_lifetimes` because of naming conflict with new rustc lint
309
310 ## 0.0.204
311 * Rustup to *rustc 1.28.0-nightly (71e87be38 2018-05-22)*
312
313 ## 0.0.203
314 * Rustup to *rustc 1.28.0-nightly (a3085756e 2018-05-19)*
315 * Clippy attributes are now of the form `clippy::cyclomatic_complexity` instead of `clippy(cyclomatic_complexity)`
316
317 ## 0.0.202
318 * Rustup to *rustc 1.28.0-nightly (952f344cd 2018-05-18)*
319
320 ## 0.0.201
321 * Rustup to *rustc 1.27.0-nightly (2f2a11dfc 2018-05-16)*
322
323 ## 0.0.200
324 * Rustup to *rustc 1.27.0-nightly (9fae15374 2018-05-13)*
325
326 ## 0.0.199
327 * Rustup to *rustc 1.27.0-nightly (ff2ac35db 2018-05-12)*
328
329 ## 0.0.198
330 * Rustup to *rustc 1.27.0-nightly (acd3871ba 2018-05-10)*
331
332 ## 0.0.197
333 * Rustup to *rustc 1.27.0-nightly (428ea5f6b 2018-05-06)*
334
335 ## 0.0.196
336 * Rustup to *rustc 1.27.0-nightly (e82261dfb 2018-05-03)*
337
338 ## 0.0.195
339 * Rustup to *rustc 1.27.0-nightly (ac3c2288f 2018-04-18)*
340
341 ## 0.0.194
342 * Rustup to *rustc 1.27.0-nightly (bd40cbbe1 2018-04-14)*
343 * New lints: [`cast_ptr_alignment`], [`transmute_ptr_to_ptr`], [`write_literal`], [`write_with_newline`], [`writeln_empty_string`]
344
345 ## 0.0.193
346 * Rustup to *rustc 1.27.0-nightly (eeea94c11 2018-04-06)*
347
348 ## 0.0.192
349 * Rustup to *rustc 1.27.0-nightly (fb44b4c0e 2018-04-04)*
350 * New lint: [`print_literal`]
351
352 ## 0.0.191
353 * Rustup to *rustc 1.26.0-nightly (ae544ee1c 2018-03-29)*
354 * Lint audit; categorize lints as style, correctness, complexity, pedantic, nursery, restriction.
355
356 ## 0.0.190
357 * Fix a bunch of intermittent cargo bugs
358
359 ## 0.0.189
360 * Rustup to *rustc 1.26.0-nightly (5508b2714 2018-03-18)*
361
362 ## 0.0.188
363 * Rustup to *rustc 1.26.0-nightly (392645394 2018-03-15)*
364 * New lint: [`while_immutable_condition`]
365
366 ## 0.0.187
367 * Rustup to *rustc 1.26.0-nightly (322d7f7b9 2018-02-25)*
368 * New lints: [`redundant_field_names`], [`suspicious_arithmetic_impl`], [`suspicious_op_assign_impl`]
369
370 ## 0.0.186
371 * Rustup to *rustc 1.25.0-nightly (0c6091fbd 2018-02-04)*
372 * Various false positive fixes
373
374 ## 0.0.185
375 * Rustup to *rustc 1.25.0-nightly (56733bc9f 2018-02-01)*
376 * New lint: [`question_mark`]
377
378 ## 0.0.184
379 * Rustup to *rustc 1.25.0-nightly (90eb44a58 2018-01-29)*
380 * New lints: [`double_comparisons`], [`empty_line_after_outer_attr`]
381
382 ## 0.0.183
383 * Rustup to *rustc 1.25.0-nightly (21882aad7 2018-01-28)*
384 * New lint: [`misaligned_transmute`]
385
386 ## 0.0.182
387 * Rustup to *rustc 1.25.0-nightly (a0dcecff9 2018-01-24)*
388 * New lint: [`decimal_literal_representation`]
389
390 ## 0.0.181
391 * Rustup to *rustc 1.25.0-nightly (97520ccb1 2018-01-21)*
392 * New lints: [`else_if_without_else`], [`option_option`], [`unit_arg`], [`unnecessary_fold`]
393 * Removed [`unit_expr`]
394 * Various false positive fixes for [`needless_pass_by_value`]
395
396 ## 0.0.180
397 * Rustup to *rustc 1.25.0-nightly (3f92e8d89 2018-01-14)*
398
399 ## 0.0.179
400 * Rustup to *rustc 1.25.0-nightly (61452e506 2018-01-09)*
401
402 ## 0.0.178
403 * Rustup to *rustc 1.25.0-nightly (ee220daca 2018-01-07)*
404
405 ## 0.0.177
406 * Rustup to *rustc 1.24.0-nightly (250b49205 2017-12-21)*
407 * New lint: [`match_as_ref`]
408
409 ## 0.0.176
410 * Rustup to *rustc 1.24.0-nightly (0077d128d 2017-12-14)*
411
412 ## 0.0.175
413 * Rustup to *rustc 1.24.0-nightly (bb42071f6 2017-12-01)*
414
415 ## 0.0.174
416 * Rustup to *rustc 1.23.0-nightly (63739ab7b 2017-11-21)*
417
418 ## 0.0.173
419 * Rustup to *rustc 1.23.0-nightly (33374fa9d 2017-11-20)*
420
421 ## 0.0.172
422 * Rustup to *rustc 1.23.0-nightly (d0f8e2913 2017-11-16)*
423
424 ## 0.0.171
425 * Rustup to *rustc 1.23.0-nightly (ff0f5de3b 2017-11-14)*
426
427 ## 0.0.170
428 * Rustup to *rustc 1.23.0-nightly (d6b06c63a 2017-11-09)*
429
430 ## 0.0.169
431 * Rustup to *rustc 1.23.0-nightly (3b82e4c74 2017-11-05)*
432 * New lints: [`just_underscores_and_digits`], [`result_map_unwrap_or_else`], [`transmute_bytes_to_str`]
433
434 ## 0.0.168
435 * Rustup to *rustc 1.23.0-nightly (f0fe716db 2017-10-30)*
436
437 ## 0.0.167
438 * Rustup to *rustc 1.23.0-nightly (90ef3372e 2017-10-29)*
439 * New lints: [`const_static_lifetime`], [`erasing_op`], [`fallible_impl_from`], [`println_empty_string`], [`useless_asref`]
440
441 ## 0.0.166
442 * Rustup to *rustc 1.22.0-nightly (b7960878b 2017-10-18)*
443 * New lints: [`explicit_write`], [`identity_conversion`], [`implicit_hasher`], [`invalid_ref`], [`option_map_or_none`], [`range_minus_one`], [`range_plus_one`], [`transmute_int_to_bool`], [`transmute_int_to_char`], [`transmute_int_to_float`]
444
445 ## 0.0.165
446 * Rust upgrade to rustc 1.22.0-nightly (0e6f4cf51 2017-09-27)
447 * New lint: [`mut_range_bound`]
448
449 ## 0.0.164
450 * Update to *rustc 1.22.0-nightly (6c476ce46 2017-09-25)*
451 * New lint: [`int_plus_one`]
452
453 ## 0.0.163
454 * Update to *rustc 1.22.0-nightly (14039a42a 2017-09-22)*
455
456 ## 0.0.162
457 * Update to *rustc 1.22.0-nightly (0701b37d9 2017-09-18)*
458 * New lint: [`chars_last_cmp`]
459 * Improved suggestions for [`needless_borrow`], [`ptr_arg`],
460
461 ## 0.0.161
462 * Update to *rustc 1.22.0-nightly (539f2083d 2017-09-13)*
463
464 ## 0.0.160
465 * Update to *rustc 1.22.0-nightly (dd08c3070 2017-09-12)*
466
467 ## 0.0.159
468 * Update to *rustc 1.22.0-nightly (eba374fb2 2017-09-11)*
469 * New lint: [`clone_on_ref_ptr`]
470
471 ## 0.0.158
472 * New lint: [`manual_memcpy`]
473 * [`cast_lossless`] no longer has redundant parentheses in its suggestions
474 * Update to *rustc 1.22.0-nightly (dead08cb3 2017-09-08)*
475
476 ## 0.0.157 - 2017-09-04
477 * Update to *rustc 1.22.0-nightly (981ce7d8d 2017-09-03)*
478 * New lint: [`unit_expr`]
479
480 ## 0.0.156 - 2017-09-03
481 * Update to *rustc 1.22.0-nightly (744dd6c1d 2017-09-02)*
482
483 ## 0.0.155
484 * Update to *rustc 1.21.0-nightly (c11f689d2 2017-08-29)*
485 * New lint: [`infinite_iter`], [`maybe_infinite_iter`], [`cast_lossless`]
486
487 ## 0.0.154
488 * Update to *rustc 1.21.0-nightly (2c0558f63 2017-08-24)*
489 * Fix [`use_self`] triggering inside derives
490 * Add support for linting an entire workspace with `cargo clippy --all`
491 * New lint: [`naive_bytecount`]
492
493 ## 0.0.153
494 * Update to *rustc 1.21.0-nightly (8c303ed87 2017-08-20)*
495 * New lint: [`use_self`]
496
497 ## 0.0.152
498 * Update to *rustc 1.21.0-nightly (df511d554 2017-08-14)*
499
500 ## 0.0.151
501 * Update to *rustc 1.21.0-nightly (13d94d5fa 2017-08-10)*
502
503 ## 0.0.150
504 * Update to *rustc 1.21.0-nightly (215e0b10e 2017-08-08)*
505
506 ## 0.0.148
507 * Update to *rustc 1.21.0-nightly (37c7d0ebb 2017-07-31)*
508 * New lints: [`unreadable_literal`], [`inconsistent_digit_grouping`], [`large_digit_groups`]
509
510 ## 0.0.147
511 * Update to *rustc 1.21.0-nightly (aac223f4f 2017-07-30)*
512
513 ## 0.0.146
514 * Update to *rustc 1.21.0-nightly (52a330969 2017-07-27)*
515 * Fixes false positives in `inline_always`
516 * Fixes false negatives in `panic_params`
517
518 ## 0.0.145
519 * Update to *rustc 1.20.0-nightly (afe145d22 2017-07-23)*
520
521 ## 0.0.144
522 * Update to *rustc 1.20.0-nightly (086eaa78e 2017-07-15)*
523
524 ## 0.0.143
525 * Update to *rustc 1.20.0-nightly (d84693b93 2017-07-09)*
526 * Fix `cargo clippy` crashing on `dylib` projects
527 * Fix false positives around `nested_while_let` and `never_loop`
528
529 ## 0.0.142
530 * Update to *rustc 1.20.0-nightly (067971139 2017-07-02)*
531
532 ## 0.0.141
533 * Rewrite of the `doc_markdown` lint.
534 * Deprecated [`range_step_by_zero`]
535 * New lint: [`iterator_step_by_zero`]
536 * New lint: [`needless_borrowed_reference`]
537 * Update to *rustc 1.20.0-nightly (69c65d296 2017-06-28)*
538
539 ## 0.0.140 - 2017-06-16
540 * Update to *rustc 1.19.0-nightly (258ae6dd9 2017-06-15)*
541
542 ## 0.0.139 — 2017-06-10
543 * Update to *rustc 1.19.0-nightly (4bf5c99af 2017-06-10)*
544 * Fix bugs with for loop desugaring
545 * Check for [`AsRef`]/[`AsMut`] arguments in [`wrong_self_convention`]
546
547 ## 0.0.138 — 2017-06-05
548 * Update to *rustc 1.19.0-nightly (0418fa9d3 2017-06-04)*
549
550 ## 0.0.137 — 2017-06-05
551 * Update to *rustc 1.19.0-nightly (6684d176c 2017-06-03)*
552
553 ## 0.0.136 — 2017—05—26
554 * Update to *rustc 1.19.0-nightly (557967766 2017-05-26)*
555
556 ## 0.0.135 — 2017—05—24
557 * Update to *rustc 1.19.0-nightly (5b13bff52 2017-05-23)*
558
559 ## 0.0.134 — 2017—05—19
560 * Update to *rustc 1.19.0-nightly (0ed1ec9f9 2017-05-18)*
561
562 ## 0.0.133 — 2017—05—14
563 * Update to *rustc 1.19.0-nightly (826d8f385 2017-05-13)*
564
565 ## 0.0.132 — 2017—05—05
566 * Fix various bugs and some ices
567
568 ## 0.0.131 — 2017—05—04
569 * Update to *rustc 1.19.0-nightly (2d4ed8e0c 2017-05-03)*
570
571 ## 0.0.130 — 2017—05—03
572 * Update to *rustc 1.19.0-nightly (6a5fc9eec 2017-05-02)*
573
574 ## 0.0.129 — 2017-05-01
575 * Update to *rustc 1.19.0-nightly (06fb4d256 2017-04-30)*
576
577 ## 0.0.128 — 2017-04-28
578 * Update to *rustc 1.18.0-nightly (94e884b63 2017-04-27)*
579
580 ## 0.0.127 — 2017-04-27
581 * Update to *rustc 1.18.0-nightly (036983201 2017-04-26)*
582 * New lint: [`needless_continue`]
583
584 ## 0.0.126 — 2017-04-24
585 * Update to *rustc 1.18.0-nightly (2bd4b5c6d 2017-04-23)*
586
587 ## 0.0.125 — 2017-04-19
588 * Update to *rustc 1.18.0-nightly (9f2abadca 2017-04-18)*
589
590 ## 0.0.124 — 2017-04-16
591 * Update to *rustc 1.18.0-nightly (d5cf1cb64 2017-04-15)*
592
593 ## 0.0.123 — 2017-04-07
594 * Fix various false positives
595
596 ## 0.0.122 — 2017-04-07
597 * Rustup to *rustc 1.18.0-nightly (91ae22a01 2017-04-05)*
598 * New lint: [`op_ref`]
599
600 ## 0.0.121 — 2017-03-21
601 * Rustup to *rustc 1.17.0-nightly (134c4a0f0 2017-03-20)*
602
603 ## 0.0.120 — 2017-03-17
604 * Rustup to *rustc 1.17.0-nightly (0aeb9c129 2017-03-15)*
605
606 ## 0.0.119 — 2017-03-13
607 * Rustup to *rustc 1.17.0-nightly (824c9ebbd 2017-03-12)*
608
609 ## 0.0.118 — 2017-03-05
610 * Rustup to *rustc 1.17.0-nightly (b1e31766d 2017-03-03)*
611
612 ## 0.0.117 — 2017-03-01
613 * Rustup to *rustc 1.17.0-nightly (be760566c 2017-02-28)*
614
615 ## 0.0.116 — 2017-02-28
616 * Fix `cargo clippy` on 64 bit windows systems
617
618 ## 0.0.115 — 2017-02-27
619 * Rustup to *rustc 1.17.0-nightly (60a0edc6c 2017-02-26)*
620 * New lints: [`zero_ptr`], [`never_loop`], [`mut_from_ref`]
621
622 ## 0.0.114 — 2017-02-08
623 * Rustup to *rustc 1.17.0-nightly (c49d10207 2017-02-07)*
624 * Tests are now ui tests (testing the exact output of rustc)
625
626 ## 0.0.113 — 2017-02-04
627 * Rustup to *rustc 1.16.0-nightly (eedaa94e3 2017-02-02)*
628 * New lint: [`large_enum_variant`]
629 * `explicit_into_iter_loop` provides suggestions
630
631 ## 0.0.112 — 2017-01-27
632 * Rustup to *rustc 1.16.0-nightly (df8debf6d 2017-01-25)*
633
634 ## 0.0.111 — 2017-01-21
635 * Rustup to *rustc 1.16.0-nightly (a52da95ce 2017-01-20)*
636
637 ## 0.0.110 — 2017-01-20
638 * Add badges and categories to `Cargo.toml`
639
640 ## 0.0.109 — 2017-01-19
641 * Update to *rustc 1.16.0-nightly (c07a6ae77 2017-01-17)*
642
643 ## 0.0.108 — 2017-01-12
644 * Update to *rustc 1.16.0-nightly (2782e8f8f 2017-01-12)*
645
646 ## 0.0.107 — 2017-01-11
647 * Update regex dependency
648 * Fix FP when matching `&&mut` by `&ref`
649 * Reintroduce `for (_, x) in &mut hash_map` -> `for x in hash_map.values_mut()`
650 * New lints: [`unused_io_amount`], [`forget_ref`], [`short_circuit_statement`]
651
652 ## 0.0.106 — 2017-01-04
653 * Fix FP introduced by rustup in [`wrong_self_convention`]
654
655 ## 0.0.105 — 2017-01-04
656 * Update to *rustc 1.16.0-nightly (468227129 2017-01-03)*
657 * New lints: [`deref_addrof`], [`double_parens`], [`pub_enum_variant_names`]
658 * Fix suggestion in [`new_without_default`]
659 * FP fix in [`absurd_extreme_comparisons`]
660
661 ## 0.0.104 — 2016-12-15
662 * Update to *rustc 1.15.0-nightly (8f02c429a 2016-12-15)*
663
664 ## 0.0.103 — 2016-11-25
665 * Update to *rustc 1.15.0-nightly (d5814b03e 2016-11-23)*
666
667 ## 0.0.102 — 2016-11-24
668 * Update to *rustc 1.15.0-nightly (3bf2be9ce 2016-11-22)*
669
670 ## 0.0.101 — 2016-11-23
671 * Update to *rustc 1.15.0-nightly (7b3eeea22 2016-11-21)*
672 * New lint: [`string_extend_chars`]
673
674 ## 0.0.100 — 2016-11-20
675 * Update to *rustc 1.15.0-nightly (ac635aa95 2016-11-18)*
676
677 ## 0.0.99 — 2016-11-18
678 * Update to rustc 1.15.0-nightly (0ed951993 2016-11-14)
679 * New lint: [`get_unwrap`]
680
681 ## 0.0.98 — 2016-11-08
682 * Fixes an issue due to a change in how cargo handles `--sysroot`, which broke `cargo clippy`
683
684 ## 0.0.97 — 2016-11-03
685 * For convenience, `cargo clippy` defines a `cargo-clippy` feature. This was
686   previously added for a short time under the name `clippy` but removed for
687   compatibility.
688 * `cargo clippy --help` is more helping (and less helpful :smile:)
689 * Rustup to *rustc 1.14.0-nightly (5665bdf3e 2016-11-02)*
690 * New lints: [`if_let_redundant_pattern_matching`], [`partialeq_ne_impl`]
691
692 ## 0.0.96 — 2016-10-22
693 * Rustup to *rustc 1.14.0-nightly (f09420685 2016-10-20)*
694 * New lint: [`iter_skip_next`]
695
696 ## 0.0.95 — 2016-10-06
697 * Rustup to *rustc 1.14.0-nightly (3210fd5c2 2016-10-05)*
698
699 ## 0.0.94 — 2016-10-04
700 * Fixes bustage on Windows due to forbidden directory name
701
702 ## 0.0.93 — 2016-10-03
703 * Rustup to *rustc 1.14.0-nightly (144af3e97 2016-10-02)*
704 * [`option_map_unwrap_or`] and [`option_map_unwrap_or_else`] are now
705   allowed by default.
706 * New lint: [`explicit_into_iter_loop`]
707
708 ## 0.0.92 — 2016-09-30
709 * Rustup to *rustc 1.14.0-nightly (289f3a4ca 2016-09-29)*
710
711 ## 0.0.91 — 2016-09-28
712 * Rustup to *rustc 1.13.0-nightly (d0623cf7b 2016-09-26)*
713
714 ## 0.0.90 — 2016-09-09
715 * Rustup to *rustc 1.13.0-nightly (f1f40f850 2016-09-09)*
716
717 ## 0.0.89 — 2016-09-06
718 * Rustup to *rustc 1.13.0-nightly (cbe4de78e 2016-09-05)*
719
720 ## 0.0.88 — 2016-09-04
721 * Rustup to *rustc 1.13.0-nightly (70598e04f 2016-09-03)*
722 * The following lints are not new but were only usable through the `clippy`
723   lint groups: [`filter_next`], [`for_loop_over_option`],
724   [`for_loop_over_result`] and [`match_overlapping_arm`]. You should now be
725   able to `#[allow/deny]` them individually and they are available directly
726   through [`cargo clippy`].
727
728 ## 0.0.87 — 2016-08-31
729 * Rustup to *rustc 1.13.0-nightly (eac41469d 2016-08-30)*
730 * New lints: [`builtin_type_shadow`]
731 * Fix FP in [`zero_prefixed_literal`] and `0b`/`0o`
732
733 ## 0.0.86 — 2016-08-28
734 * Rustup to *rustc 1.13.0-nightly (a23064af5 2016-08-27)*
735 * New lints: [`missing_docs_in_private_items`], [`zero_prefixed_literal`]
736
737 ## 0.0.85 — 2016-08-19
738 * Fix ICE with [`useless_attribute`]
739 * [`useless_attribute`] ignores [`unused_imports`] on `use` statements
740
741 ## 0.0.84 — 2016-08-18
742 * Rustup to *rustc 1.13.0-nightly (aef6971ca 2016-08-17)*
743
744 ## 0.0.83 — 2016-08-17
745 * Rustup to *rustc 1.12.0-nightly (1bf5fa326 2016-08-16)*
746 * New lints: [`print_with_newline`], [`useless_attribute`]
747
748 ## 0.0.82 — 2016-08-17
749 * Rustup to *rustc 1.12.0-nightly (197be89f3 2016-08-15)*
750 * New lint: [`module_inception`]
751
752 ## 0.0.81 — 2016-08-14
753 * Rustup to *rustc 1.12.0-nightly (1deb02ea6 2016-08-12)*
754 * New lints: [`eval_order_dependence`], [`mixed_case_hex_literals`], [`unseparated_literal_suffix`]
755 * False positive fix in [`too_many_arguments`]
756 * Addition of functionality to [`needless_borrow`]
757 * Suggestions for [`clone_on_copy`]
758 * Bug fix in [`wrong_self_convention`]
759 * Doc improvements
760
761 ## 0.0.80 — 2016-07-31
762 * Rustup to *rustc 1.12.0-nightly (1225e122f 2016-07-30)*
763 * New lints: [`misrefactored_assign_op`], [`serde_api_misuse`]
764
765 ## 0.0.79 — 2016-07-10
766 * Rustup to *rustc 1.12.0-nightly (f93aaf84c 2016-07-09)*
767 * Major suggestions refactoring
768
769 ## 0.0.78 — 2016-07-02
770 * Rustup to *rustc 1.11.0-nightly (01411937f 2016-07-01)*
771 * New lints: [`wrong_transmute`], [`double_neg`], [`filter_map`]
772 * For compatibility, `cargo clippy` does not defines the `clippy` feature
773   introduced in 0.0.76 anymore
774 * [`collapsible_if`] now considers `if let`
775
776 ## 0.0.77 — 2016-06-21
777 * Rustup to *rustc 1.11.0-nightly (5522e678b 2016-06-20)*
778 * New lints: [`stutter`] and [`iter_nth`]
779
780 ## 0.0.76 — 2016-06-10
781 * Rustup to *rustc 1.11.0-nightly (7d2f75a95 2016-06-09)*
782 * `cargo clippy` now automatically defines the `clippy` feature
783 * New lint: [`not_unsafe_ptr_arg_deref`]
784
785 ## 0.0.75 — 2016-06-08
786 * Rustup to *rustc 1.11.0-nightly (763f9234b 2016-06-06)*
787
788 ## 0.0.74 — 2016-06-07
789 * Fix bug with `cargo-clippy` JSON parsing
790 * Add the `CLIPPY_DISABLE_DOCS_LINKS` environment variable to deactivate the
791   “for further information visit *lint-link*” message.
792
793 ## 0.0.73 — 2016-06-05
794 * Fix false positives in [`useless_let_if_seq`]
795
796 ## 0.0.72 — 2016-06-04
797 * Fix false positives in [`useless_let_if_seq`]
798
799 ## 0.0.71 — 2016-05-31
800 * Rustup to *rustc 1.11.0-nightly (a967611d8 2016-05-30)*
801 * New lint: [`useless_let_if_seq`]
802
803 ## 0.0.70 — 2016-05-28
804 * Rustup to *rustc 1.10.0-nightly (7bddce693 2016-05-27)*
805 * [`invalid_regex`] and [`trivial_regex`] can now warn on `RegexSet::new`,
806   `RegexBuilder::new` and byte regexes
807
808 ## 0.0.69 — 2016-05-20
809 * Rustup to *rustc 1.10.0-nightly (476fe6eef 2016-05-21)*
810 * [`used_underscore_binding`] has been made `Allow` temporarily
811
812 ## 0.0.68 — 2016-05-17
813 * Rustup to *rustc 1.10.0-nightly (cd6a40017 2016-05-16)*
814 * New lint: [`unnecessary_operation`]
815
816 ## 0.0.67 — 2016-05-12
817 * Rustup to *rustc 1.10.0-nightly (22ac88f1a 2016-05-11)*
818
819 ## 0.0.66 — 2016-05-11
820 * New `cargo clippy` subcommand
821 * New lints: [`assign_op_pattern`], [`assign_ops`], [`needless_borrow`]
822
823 ## 0.0.65 — 2016-05-08
824 * Rustup to *rustc 1.10.0-nightly (62e2b2fb7 2016-05-06)*
825 * New lints: [`float_arithmetic`], [`integer_arithmetic`]
826
827 ## 0.0.64 — 2016-04-26
828 * Rustup to *rustc 1.10.0-nightly (645dd013a 2016-04-24)*
829 * New lints: [`temporary_cstring_as_ptr`], [`unsafe_removed_from_name`], and [`mem_forget`]
830
831 ## 0.0.63 — 2016-04-08
832 * Rustup to *rustc 1.9.0-nightly (7979dd608 2016-04-07)*
833
834 ## 0.0.62 — 2016-04-07
835 * Rustup to *rustc 1.9.0-nightly (bf5da36f1 2016-04-06)*
836
837 ## 0.0.61 — 2016-04-03
838 * Rustup to *rustc 1.9.0-nightly (5ab11d72c 2016-04-02)*
839 * New lint: [`invalid_upcast_comparisons`]
840
841 ## 0.0.60 — 2016-04-01
842 * Rustup to *rustc 1.9.0-nightly (e1195c24b 2016-03-31)*
843
844 ## 0.0.59 — 2016-03-31
845 * Rustup to *rustc 1.9.0-nightly (30a3849f2 2016-03-30)*
846 * New lints: [`logic_bug`], [`nonminimal_bool`]
847 * Fixed: [`match_same_arms`] now ignores arms with guards
848 * Improved: [`useless_vec`] now warns on `for … in vec![…]`
849
850 ## 0.0.58 — 2016-03-27
851 * Rustup to *rustc 1.9.0-nightly (d5a91e695 2016-03-26)*
852 * New lint: [`doc_markdown`]
853
854 ## 0.0.57 — 2016-03-27
855 * Update to *rustc 1.9.0-nightly (a1e29daf1 2016-03-25)*
856 * Deprecated lints: [`str_to_string`], [`string_to_string`], [`unstable_as_slice`], [`unstable_as_mut_slice`]
857 * New lint: [`crosspointer_transmute`]
858
859 ## 0.0.56 — 2016-03-23
860 * Update to *rustc 1.9.0-nightly (0dcc413e4 2016-03-22)*
861 * New lints: [`many_single_char_names`] and [`similar_names`]
862
863 ## 0.0.55 — 2016-03-21
864 * Update to *rustc 1.9.0-nightly (02310fd31 2016-03-19)*
865
866 ## 0.0.54 — 2016-03-16
867 * Update to *rustc 1.9.0-nightly (c66d2380a 2016-03-15)*
868
869 ## 0.0.53 — 2016-03-15
870 * Add a [configuration file]
871
872 ## ~~0.0.52~~
873
874 ## 0.0.51 — 2016-03-13
875 * Add `str` to types considered by [`len_zero`]
876 * New lints: [`indexing_slicing`]
877
878 ## 0.0.50 — 2016-03-11
879 * Update to *rustc 1.9.0-nightly (c9629d61c 2016-03-10)*
880
881 ## 0.0.49 — 2016-03-09
882 * Update to *rustc 1.9.0-nightly (eabfc160f 2016-03-08)*
883 * New lints: [`overflow_check_conditional`], [`unused_label`], [`new_without_default`]
884
885 ## 0.0.48 — 2016-03-07
886 * Fixed: ICE in [`needless_range_loop`] with globals
887
888 ## 0.0.47 — 2016-03-07
889 * Update to *rustc 1.9.0-nightly (998a6720b 2016-03-07)*
890 * New lint: [`redundant_closure_call`]
891
892 [`AsMut`]: https://doc.rust-lang.org/std/convert/trait.AsMut.html
893 [`AsRef`]: https://doc.rust-lang.org/std/convert/trait.AsRef.html
894 [configuration file]: ./rust-clippy#configuration
895 [pull3665]: https://github.com/rust-lang/rust-clippy/pull/3665
896 [adding_lints]: https://github.com/rust-lang/rust-clippy/blob/master/doc/adding_lints.md
897
898 <!-- begin autogenerated links to lint list -->
899 [`absurd_extreme_comparisons`]: https://rust-lang.github.io/rust-clippy/master/index.html#absurd_extreme_comparisons
900 [`almost_swapped`]: https://rust-lang.github.io/rust-clippy/master/index.html#almost_swapped
901 [`approx_constant`]: https://rust-lang.github.io/rust-clippy/master/index.html#approx_constant
902 [`assertions_on_constants`]: https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants
903 [`assign_op_pattern`]: https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern
904 [`assign_ops`]: https://rust-lang.github.io/rust-clippy/master/index.html#assign_ops
905 [`bad_bit_mask`]: https://rust-lang.github.io/rust-clippy/master/index.html#bad_bit_mask
906 [`blacklisted_name`]: https://rust-lang.github.io/rust-clippy/master/index.html#blacklisted_name
907 [`block_in_if_condition_expr`]: https://rust-lang.github.io/rust-clippy/master/index.html#block_in_if_condition_expr
908 [`block_in_if_condition_stmt`]: https://rust-lang.github.io/rust-clippy/master/index.html#block_in_if_condition_stmt
909 [`bool_comparison`]: https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison
910 [`borrow_interior_mutable_const`]: https://rust-lang.github.io/rust-clippy/master/index.html#borrow_interior_mutable_const
911 [`borrowed_box`]: https://rust-lang.github.io/rust-clippy/master/index.html#borrowed_box
912 [`box_vec`]: https://rust-lang.github.io/rust-clippy/master/index.html#box_vec
913 [`boxed_local`]: https://rust-lang.github.io/rust-clippy/master/index.html#boxed_local
914 [`builtin_type_shadow`]: https://rust-lang.github.io/rust-clippy/master/index.html#builtin_type_shadow
915 [`cargo_common_metadata`]: https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
916 [`cast_lossless`]: https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless
917 [`cast_possible_truncation`]: https://rust-lang.github.io/rust-clippy/master/index.html#cast_possible_truncation
918 [`cast_possible_wrap`]: https://rust-lang.github.io/rust-clippy/master/index.html#cast_possible_wrap
919 [`cast_precision_loss`]: https://rust-lang.github.io/rust-clippy/master/index.html#cast_precision_loss
920 [`cast_ptr_alignment`]: https://rust-lang.github.io/rust-clippy/master/index.html#cast_ptr_alignment
921 [`cast_ref_to_mut`]: https://rust-lang.github.io/rust-clippy/master/index.html#cast_ref_to_mut
922 [`cast_sign_loss`]: https://rust-lang.github.io/rust-clippy/master/index.html#cast_sign_loss
923 [`char_lit_as_u8`]: https://rust-lang.github.io/rust-clippy/master/index.html#char_lit_as_u8
924 [`chars_last_cmp`]: https://rust-lang.github.io/rust-clippy/master/index.html#chars_last_cmp
925 [`chars_next_cmp`]: https://rust-lang.github.io/rust-clippy/master/index.html#chars_next_cmp
926 [`checked_conversions`]: https://rust-lang.github.io/rust-clippy/master/index.html#checked_conversions
927 [`clone_double_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#clone_double_ref
928 [`clone_on_copy`]: https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
929 [`clone_on_ref_ptr`]: https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_ref_ptr
930 [`cmp_nan`]: https://rust-lang.github.io/rust-clippy/master/index.html#cmp_nan
931 [`cmp_null`]: https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null
932 [`cmp_owned`]: https://rust-lang.github.io/rust-clippy/master/index.html#cmp_owned
933 [`cognitive_complexity`]: https://rust-lang.github.io/rust-clippy/master/index.html#cognitive_complexity
934 [`collapsible_if`]: https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
935 [`copy_iterator`]: https://rust-lang.github.io/rust-clippy/master/index.html#copy_iterator
936 [`crosspointer_transmute`]: https://rust-lang.github.io/rust-clippy/master/index.html#crosspointer_transmute
937 [`dbg_macro`]: https://rust-lang.github.io/rust-clippy/master/index.html#dbg_macro
938 [`decimal_literal_representation`]: https://rust-lang.github.io/rust-clippy/master/index.html#decimal_literal_representation
939 [`declare_interior_mutable_const`]: https://rust-lang.github.io/rust-clippy/master/index.html#declare_interior_mutable_const
940 [`default_trait_access`]: https://rust-lang.github.io/rust-clippy/master/index.html#default_trait_access
941 [`deprecated_cfg_attr`]: https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_cfg_attr
942 [`deprecated_semver`]: https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_semver
943 [`deref_addrof`]: https://rust-lang.github.io/rust-clippy/master/index.html#deref_addrof
944 [`derive_hash_xor_eq`]: https://rust-lang.github.io/rust-clippy/master/index.html#derive_hash_xor_eq
945 [`diverging_sub_expression`]: https://rust-lang.github.io/rust-clippy/master/index.html#diverging_sub_expression
946 [`doc_markdown`]: https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
947 [`double_comparisons`]: https://rust-lang.github.io/rust-clippy/master/index.html#double_comparisons
948 [`double_neg`]: https://rust-lang.github.io/rust-clippy/master/index.html#double_neg
949 [`double_parens`]: https://rust-lang.github.io/rust-clippy/master/index.html#double_parens
950 [`drop_bounds`]: https://rust-lang.github.io/rust-clippy/master/index.html#drop_bounds
951 [`drop_copy`]: https://rust-lang.github.io/rust-clippy/master/index.html#drop_copy
952 [`drop_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#drop_ref
953 [`duplicate_underscore_argument`]: https://rust-lang.github.io/rust-clippy/master/index.html#duplicate_underscore_argument
954 [`duration_subsec`]: https://rust-lang.github.io/rust-clippy/master/index.html#duration_subsec
955 [`else_if_without_else`]: https://rust-lang.github.io/rust-clippy/master/index.html#else_if_without_else
956 [`empty_enum`]: https://rust-lang.github.io/rust-clippy/master/index.html#empty_enum
957 [`empty_line_after_outer_attr`]: https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_outer_attr
958 [`empty_loop`]: https://rust-lang.github.io/rust-clippy/master/index.html#empty_loop
959 [`enum_clike_unportable_variant`]: https://rust-lang.github.io/rust-clippy/master/index.html#enum_clike_unportable_variant
960 [`enum_glob_use`]: https://rust-lang.github.io/rust-clippy/master/index.html#enum_glob_use
961 [`enum_variant_names`]: https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names
962 [`eq_op`]: https://rust-lang.github.io/rust-clippy/master/index.html#eq_op
963 [`erasing_op`]: https://rust-lang.github.io/rust-clippy/master/index.html#erasing_op
964 [`eval_order_dependence`]: https://rust-lang.github.io/rust-clippy/master/index.html#eval_order_dependence
965 [`excessive_precision`]: https://rust-lang.github.io/rust-clippy/master/index.html#excessive_precision
966 [`expect_fun_call`]: https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call
967 [`expl_impl_clone_on_copy`]: https://rust-lang.github.io/rust-clippy/master/index.html#expl_impl_clone_on_copy
968 [`explicit_counter_loop`]: https://rust-lang.github.io/rust-clippy/master/index.html#explicit_counter_loop
969 [`explicit_into_iter_loop`]: https://rust-lang.github.io/rust-clippy/master/index.html#explicit_into_iter_loop
970 [`explicit_iter_loop`]: https://rust-lang.github.io/rust-clippy/master/index.html#explicit_iter_loop
971 [`explicit_write`]: https://rust-lang.github.io/rust-clippy/master/index.html#explicit_write
972 [`extend_from_slice`]: https://rust-lang.github.io/rust-clippy/master/index.html#extend_from_slice
973 [`extra_unused_lifetimes`]: https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
974 [`fallible_impl_from`]: https://rust-lang.github.io/rust-clippy/master/index.html#fallible_impl_from
975 [`filter_map`]: https://rust-lang.github.io/rust-clippy/master/index.html#filter_map
976 [`filter_map_next`]: https://rust-lang.github.io/rust-clippy/master/index.html#filter_map_next
977 [`filter_next`]: https://rust-lang.github.io/rust-clippy/master/index.html#filter_next
978 [`find_map`]: https://rust-lang.github.io/rust-clippy/master/index.html#find_map
979 [`flat_map_identity`]: https://rust-lang.github.io/rust-clippy/master/index.html#flat_map_identity
980 [`float_arithmetic`]: https://rust-lang.github.io/rust-clippy/master/index.html#float_arithmetic
981 [`float_cmp`]: https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp
982 [`float_cmp_const`]: https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp_const
983 [`fn_to_numeric_cast`]: https://rust-lang.github.io/rust-clippy/master/index.html#fn_to_numeric_cast
984 [`fn_to_numeric_cast_with_truncation`]: https://rust-lang.github.io/rust-clippy/master/index.html#fn_to_numeric_cast_with_truncation
985 [`for_kv_map`]: https://rust-lang.github.io/rust-clippy/master/index.html#for_kv_map
986 [`for_loop_over_option`]: https://rust-lang.github.io/rust-clippy/master/index.html#for_loop_over_option
987 [`for_loop_over_result`]: https://rust-lang.github.io/rust-clippy/master/index.html#for_loop_over_result
988 [`forget_copy`]: https://rust-lang.github.io/rust-clippy/master/index.html#forget_copy
989 [`forget_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#forget_ref
990 [`get_last_with_len`]: https://rust-lang.github.io/rust-clippy/master/index.html#get_last_with_len
991 [`get_unwrap`]: https://rust-lang.github.io/rust-clippy/master/index.html#get_unwrap
992 [`identity_conversion`]: https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion
993 [`identity_op`]: https://rust-lang.github.io/rust-clippy/master/index.html#identity_op
994 [`if_let_redundant_pattern_matching`]: https://rust-lang.github.io/rust-clippy/master/index.html#if_let_redundant_pattern_matching
995 [`if_let_some_result`]: https://rust-lang.github.io/rust-clippy/master/index.html#if_let_some_result
996 [`if_not_else`]: https://rust-lang.github.io/rust-clippy/master/index.html#if_not_else
997 [`if_same_then_else`]: https://rust-lang.github.io/rust-clippy/master/index.html#if_same_then_else
998 [`ifs_same_cond`]: https://rust-lang.github.io/rust-clippy/master/index.html#ifs_same_cond
999 [`implicit_hasher`]: https://rust-lang.github.io/rust-clippy/master/index.html#implicit_hasher
1000 [`implicit_return`]: https://rust-lang.github.io/rust-clippy/master/index.html#implicit_return
1001 [`inconsistent_digit_grouping`]: https://rust-lang.github.io/rust-clippy/master/index.html#inconsistent_digit_grouping
1002 [`indexing_slicing`]: https://rust-lang.github.io/rust-clippy/master/index.html#indexing_slicing
1003 [`ineffective_bit_mask`]: https://rust-lang.github.io/rust-clippy/master/index.html#ineffective_bit_mask
1004 [`infallible_destructuring_match`]: https://rust-lang.github.io/rust-clippy/master/index.html#infallible_destructuring_match
1005 [`infinite_iter`]: https://rust-lang.github.io/rust-clippy/master/index.html#infinite_iter
1006 [`inherent_to_string`]: https://rust-lang.github.io/rust-clippy/master/index.html#inherent_to_string
1007 [`inherent_to_string_shadow_display`]: https://rust-lang.github.io/rust-clippy/master/index.html#inherent_to_string_shadow_display
1008 [`inline_always`]: https://rust-lang.github.io/rust-clippy/master/index.html#inline_always
1009 [`inline_fn_without_body`]: https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body
1010 [`int_plus_one`]: https://rust-lang.github.io/rust-clippy/master/index.html#int_plus_one
1011 [`integer_arithmetic`]: https://rust-lang.github.io/rust-clippy/master/index.html#integer_arithmetic
1012 [`integer_division`]: https://rust-lang.github.io/rust-clippy/master/index.html#integer_division
1013 [`into_iter_on_array`]: https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_array
1014 [`into_iter_on_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref
1015 [`invalid_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#invalid_ref
1016 [`invalid_regex`]: https://rust-lang.github.io/rust-clippy/master/index.html#invalid_regex
1017 [`invalid_upcast_comparisons`]: https://rust-lang.github.io/rust-clippy/master/index.html#invalid_upcast_comparisons
1018 [`items_after_statements`]: https://rust-lang.github.io/rust-clippy/master/index.html#items_after_statements
1019 [`iter_cloned_collect`]: https://rust-lang.github.io/rust-clippy/master/index.html#iter_cloned_collect
1020 [`iter_next_loop`]: https://rust-lang.github.io/rust-clippy/master/index.html#iter_next_loop
1021 [`iter_nth`]: https://rust-lang.github.io/rust-clippy/master/index.html#iter_nth
1022 [`iter_skip_next`]: https://rust-lang.github.io/rust-clippy/master/index.html#iter_skip_next
1023 [`iterator_step_by_zero`]: https://rust-lang.github.io/rust-clippy/master/index.html#iterator_step_by_zero
1024 [`just_underscores_and_digits`]: https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits
1025 [`large_digit_groups`]: https://rust-lang.github.io/rust-clippy/master/index.html#large_digit_groups
1026 [`large_enum_variant`]: https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant
1027 [`len_without_is_empty`]: https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty
1028 [`len_zero`]: https://rust-lang.github.io/rust-clippy/master/index.html#len_zero
1029 [`let_and_return`]: https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return
1030 [`let_unit_value`]: https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
1031 [`linkedlist`]: https://rust-lang.github.io/rust-clippy/master/index.html#linkedlist
1032 [`logic_bug`]: https://rust-lang.github.io/rust-clippy/master/index.html#logic_bug
1033 [`main_recursion`]: https://rust-lang.github.io/rust-clippy/master/index.html#main_recursion
1034 [`manual_memcpy`]: https://rust-lang.github.io/rust-clippy/master/index.html#manual_memcpy
1035 [`manual_swap`]: https://rust-lang.github.io/rust-clippy/master/index.html#manual_swap
1036 [`many_single_char_names`]: https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names
1037 [`map_clone`]: https://rust-lang.github.io/rust-clippy/master/index.html#map_clone
1038 [`map_entry`]: https://rust-lang.github.io/rust-clippy/master/index.html#map_entry
1039 [`map_flatten`]: https://rust-lang.github.io/rust-clippy/master/index.html#map_flatten
1040 [`match_as_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#match_as_ref
1041 [`match_bool`]: https://rust-lang.github.io/rust-clippy/master/index.html#match_bool
1042 [`match_overlapping_arm`]: https://rust-lang.github.io/rust-clippy/master/index.html#match_overlapping_arm
1043 [`match_ref_pats`]: https://rust-lang.github.io/rust-clippy/master/index.html#match_ref_pats
1044 [`match_same_arms`]: https://rust-lang.github.io/rust-clippy/master/index.html#match_same_arms
1045 [`match_wild_err_arm`]: https://rust-lang.github.io/rust-clippy/master/index.html#match_wild_err_arm
1046 [`maybe_infinite_iter`]: https://rust-lang.github.io/rust-clippy/master/index.html#maybe_infinite_iter
1047 [`mem_discriminant_non_enum`]: https://rust-lang.github.io/rust-clippy/master/index.html#mem_discriminant_non_enum
1048 [`mem_forget`]: https://rust-lang.github.io/rust-clippy/master/index.html#mem_forget
1049 [`mem_replace_option_with_none`]: https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_option_with_none
1050 [`min_max`]: https://rust-lang.github.io/rust-clippy/master/index.html#min_max
1051 [`misaligned_transmute`]: https://rust-lang.github.io/rust-clippy/master/index.html#misaligned_transmute
1052 [`misrefactored_assign_op`]: https://rust-lang.github.io/rust-clippy/master/index.html#misrefactored_assign_op
1053 [`missing_const_for_fn`]: https://rust-lang.github.io/rust-clippy/master/index.html#missing_const_for_fn
1054 [`missing_docs_in_private_items`]: https://rust-lang.github.io/rust-clippy/master/index.html#missing_docs_in_private_items
1055 [`missing_inline_in_public_items`]: https://rust-lang.github.io/rust-clippy/master/index.html#missing_inline_in_public_items
1056 [`mistyped_literal_suffixes`]: https://rust-lang.github.io/rust-clippy/master/index.html#mistyped_literal_suffixes
1057 [`mixed_case_hex_literals`]: https://rust-lang.github.io/rust-clippy/master/index.html#mixed_case_hex_literals
1058 [`module_inception`]: https://rust-lang.github.io/rust-clippy/master/index.html#module_inception
1059 [`module_name_repetitions`]: https://rust-lang.github.io/rust-clippy/master/index.html#module_name_repetitions
1060 [`modulo_one`]: https://rust-lang.github.io/rust-clippy/master/index.html#modulo_one
1061 [`multiple_crate_versions`]: https://rust-lang.github.io/rust-clippy/master/index.html#multiple_crate_versions
1062 [`multiple_inherent_impl`]: https://rust-lang.github.io/rust-clippy/master/index.html#multiple_inherent_impl
1063 [`mut_from_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#mut_from_ref
1064 [`mut_mut`]: https://rust-lang.github.io/rust-clippy/master/index.html#mut_mut
1065 [`mut_range_bound`]: https://rust-lang.github.io/rust-clippy/master/index.html#mut_range_bound
1066 [`mutex_atomic`]: https://rust-lang.github.io/rust-clippy/master/index.html#mutex_atomic
1067 [`mutex_integer`]: https://rust-lang.github.io/rust-clippy/master/index.html#mutex_integer
1068 [`naive_bytecount`]: https://rust-lang.github.io/rust-clippy/master/index.html#naive_bytecount
1069 [`needless_bool`]: https://rust-lang.github.io/rust-clippy/master/index.html#needless_bool
1070 [`needless_borrow`]: https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
1071 [`needless_borrowed_reference`]: https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrowed_reference
1072 [`needless_collect`]: https://rust-lang.github.io/rust-clippy/master/index.html#needless_collect
1073 [`needless_continue`]: https://rust-lang.github.io/rust-clippy/master/index.html#needless_continue
1074 [`needless_lifetimes`]: https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
1075 [`needless_pass_by_value`]: https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value
1076 [`needless_range_loop`]: https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop
1077 [`needless_return`]: https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
1078 [`needless_update`]: https://rust-lang.github.io/rust-clippy/master/index.html#needless_update
1079 [`neg_cmp_op_on_partial_ord`]: https://rust-lang.github.io/rust-clippy/master/index.html#neg_cmp_op_on_partial_ord
1080 [`neg_multiply`]: https://rust-lang.github.io/rust-clippy/master/index.html#neg_multiply
1081 [`never_loop`]: https://rust-lang.github.io/rust-clippy/master/index.html#never_loop
1082 [`new_ret_no_self`]: https://rust-lang.github.io/rust-clippy/master/index.html#new_ret_no_self
1083 [`new_without_default`]: https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
1084 [`no_effect`]: https://rust-lang.github.io/rust-clippy/master/index.html#no_effect
1085 [`non_ascii_literal`]: https://rust-lang.github.io/rust-clippy/master/index.html#non_ascii_literal
1086 [`nonminimal_bool`]: https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool
1087 [`nonsensical_open_options`]: https://rust-lang.github.io/rust-clippy/master/index.html#nonsensical_open_options
1088 [`not_unsafe_ptr_arg_deref`]: https://rust-lang.github.io/rust-clippy/master/index.html#not_unsafe_ptr_arg_deref
1089 [`ok_expect`]: https://rust-lang.github.io/rust-clippy/master/index.html#ok_expect
1090 [`op_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#op_ref
1091 [`option_and_then_some`]: https://rust-lang.github.io/rust-clippy/master/index.html#option_and_then_some
1092 [`option_map_or_none`]: https://rust-lang.github.io/rust-clippy/master/index.html#option_map_or_none
1093 [`option_map_unit_fn`]: https://rust-lang.github.io/rust-clippy/master/index.html#option_map_unit_fn
1094 [`option_map_unwrap_or`]: https://rust-lang.github.io/rust-clippy/master/index.html#option_map_unwrap_or
1095 [`option_map_unwrap_or_else`]: https://rust-lang.github.io/rust-clippy/master/index.html#option_map_unwrap_or_else
1096 [`option_option`]: https://rust-lang.github.io/rust-clippy/master/index.html#option_option
1097 [`option_unwrap_used`]: https://rust-lang.github.io/rust-clippy/master/index.html#option_unwrap_used
1098 [`or_fun_call`]: https://rust-lang.github.io/rust-clippy/master/index.html#or_fun_call
1099 [`out_of_bounds_indexing`]: https://rust-lang.github.io/rust-clippy/master/index.html#out_of_bounds_indexing
1100 [`overflow_check_conditional`]: https://rust-lang.github.io/rust-clippy/master/index.html#overflow_check_conditional
1101 [`panic_params`]: https://rust-lang.github.io/rust-clippy/master/index.html#panic_params
1102 [`panicking_unwrap`]: https://rust-lang.github.io/rust-clippy/master/index.html#panicking_unwrap
1103 [`partialeq_ne_impl`]: https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_ne_impl
1104 [`path_buf_push_overwrite`]: https://rust-lang.github.io/rust-clippy/master/index.html#path_buf_push_overwrite
1105 [`possible_missing_comma`]: https://rust-lang.github.io/rust-clippy/master/index.html#possible_missing_comma
1106 [`precedence`]: https://rust-lang.github.io/rust-clippy/master/index.html#precedence
1107 [`print_literal`]: https://rust-lang.github.io/rust-clippy/master/index.html#print_literal
1108 [`print_stdout`]: https://rust-lang.github.io/rust-clippy/master/index.html#print_stdout
1109 [`print_with_newline`]: https://rust-lang.github.io/rust-clippy/master/index.html#print_with_newline
1110 [`println_empty_string`]: https://rust-lang.github.io/rust-clippy/master/index.html#println_empty_string
1111 [`ptr_arg`]: https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
1112 [`ptr_offset_with_cast`]: https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast
1113 [`pub_enum_variant_names`]: https://rust-lang.github.io/rust-clippy/master/index.html#pub_enum_variant_names
1114 [`question_mark`]: https://rust-lang.github.io/rust-clippy/master/index.html#question_mark
1115 [`range_minus_one`]: https://rust-lang.github.io/rust-clippy/master/index.html#range_minus_one
1116 [`range_plus_one`]: https://rust-lang.github.io/rust-clippy/master/index.html#range_plus_one
1117 [`range_step_by_zero`]: https://rust-lang.github.io/rust-clippy/master/index.html#range_step_by_zero
1118 [`range_zip_with_len`]: https://rust-lang.github.io/rust-clippy/master/index.html#range_zip_with_len
1119 [`redundant_clone`]: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone
1120 [`redundant_closure`]: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
1121 [`redundant_closure_call`]: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call
1122 [`redundant_closure_for_method_calls`]: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_for_method_calls
1123 [`redundant_field_names`]: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
1124 [`redundant_pattern`]: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern
1125 [`redundant_pattern_matching`]: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching
1126 [`redundant_static_lifetimes`]: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes
1127 [`ref_in_deref`]: https://rust-lang.github.io/rust-clippy/master/index.html#ref_in_deref
1128 [`regex_macro`]: https://rust-lang.github.io/rust-clippy/master/index.html#regex_macro
1129 [`replace_consts`]: https://rust-lang.github.io/rust-clippy/master/index.html#replace_consts
1130 [`result_map_unit_fn`]: https://rust-lang.github.io/rust-clippy/master/index.html#result_map_unit_fn
1131 [`result_map_unwrap_or_else`]: https://rust-lang.github.io/rust-clippy/master/index.html#result_map_unwrap_or_else
1132 [`result_unwrap_used`]: https://rust-lang.github.io/rust-clippy/master/index.html#result_unwrap_used
1133 [`reverse_range_loop`]: https://rust-lang.github.io/rust-clippy/master/index.html#reverse_range_loop
1134 [`search_is_some`]: https://rust-lang.github.io/rust-clippy/master/index.html#search_is_some
1135 [`serde_api_misuse`]: https://rust-lang.github.io/rust-clippy/master/index.html#serde_api_misuse
1136 [`shadow_reuse`]: https://rust-lang.github.io/rust-clippy/master/index.html#shadow_reuse
1137 [`shadow_same`]: https://rust-lang.github.io/rust-clippy/master/index.html#shadow_same
1138 [`shadow_unrelated`]: https://rust-lang.github.io/rust-clippy/master/index.html#shadow_unrelated
1139 [`short_circuit_statement`]: https://rust-lang.github.io/rust-clippy/master/index.html#short_circuit_statement
1140 [`should_assert_eq`]: https://rust-lang.github.io/rust-clippy/master/index.html#should_assert_eq
1141 [`should_implement_trait`]: https://rust-lang.github.io/rust-clippy/master/index.html#should_implement_trait
1142 [`similar_names`]: https://rust-lang.github.io/rust-clippy/master/index.html#similar_names
1143 [`single_char_pattern`]: https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern
1144 [`single_match`]: https://rust-lang.github.io/rust-clippy/master/index.html#single_match
1145 [`single_match_else`]: https://rust-lang.github.io/rust-clippy/master/index.html#single_match_else
1146 [`slow_vector_initialization`]: https://rust-lang.github.io/rust-clippy/master/index.html#slow_vector_initialization
1147 [`str_to_string`]: https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string
1148 [`string_add`]: https://rust-lang.github.io/rust-clippy/master/index.html#string_add
1149 [`string_add_assign`]: https://rust-lang.github.io/rust-clippy/master/index.html#string_add_assign
1150 [`string_extend_chars`]: https://rust-lang.github.io/rust-clippy/master/index.html#string_extend_chars
1151 [`string_lit_as_bytes`]: https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes
1152 [`string_to_string`]: https://rust-lang.github.io/rust-clippy/master/index.html#string_to_string
1153 [`suspicious_arithmetic_impl`]: https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_arithmetic_impl
1154 [`suspicious_assignment_formatting`]: https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_assignment_formatting
1155 [`suspicious_else_formatting`]: https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_else_formatting
1156 [`suspicious_map`]: https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_map
1157 [`suspicious_op_assign_impl`]: https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_op_assign_impl
1158 [`temporary_assignment`]: https://rust-lang.github.io/rust-clippy/master/index.html#temporary_assignment
1159 [`temporary_cstring_as_ptr`]: https://rust-lang.github.io/rust-clippy/master/index.html#temporary_cstring_as_ptr
1160 [`too_many_arguments`]: https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
1161 [`too_many_lines`]: https://rust-lang.github.io/rust-clippy/master/index.html#too_many_lines
1162 [`toplevel_ref_arg`]: https://rust-lang.github.io/rust-clippy/master/index.html#toplevel_ref_arg
1163 [`transmute_bytes_to_str`]: https://rust-lang.github.io/rust-clippy/master/index.html#transmute_bytes_to_str
1164 [`transmute_int_to_bool`]: https://rust-lang.github.io/rust-clippy/master/index.html#transmute_int_to_bool
1165 [`transmute_int_to_char`]: https://rust-lang.github.io/rust-clippy/master/index.html#transmute_int_to_char
1166 [`transmute_int_to_float`]: https://rust-lang.github.io/rust-clippy/master/index.html#transmute_int_to_float
1167 [`transmute_ptr_to_ptr`]: https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ptr
1168 [`transmute_ptr_to_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref
1169 [`transmuting_null`]: https://rust-lang.github.io/rust-clippy/master/index.html#transmuting_null
1170 [`trivial_regex`]: https://rust-lang.github.io/rust-clippy/master/index.html#trivial_regex
1171 [`trivially_copy_pass_by_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref
1172 [`try_err`]: https://rust-lang.github.io/rust-clippy/master/index.html#try_err
1173 [`type_complexity`]: https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
1174 [`type_repetition_in_bounds`]: https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
1175 [`unicode_not_nfc`]: https://rust-lang.github.io/rust-clippy/master/index.html#unicode_not_nfc
1176 [`unimplemented`]: https://rust-lang.github.io/rust-clippy/master/index.html#unimplemented
1177 [`unit_arg`]: https://rust-lang.github.io/rust-clippy/master/index.html#unit_arg
1178 [`unit_cmp`]: https://rust-lang.github.io/rust-clippy/master/index.html#unit_cmp
1179 [`unknown_clippy_lints`]: https://rust-lang.github.io/rust-clippy/master/index.html#unknown_clippy_lints
1180 [`unnecessary_cast`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
1181 [`unnecessary_filter_map`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_filter_map
1182 [`unnecessary_fold`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fold
1183 [`unnecessary_mut_passed`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_mut_passed
1184 [`unnecessary_operation`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_operation
1185 [`unnecessary_unwrap`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap
1186 [`unneeded_field_pattern`]: https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern
1187 [`unreadable_literal`]: https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal
1188 [`unsafe_removed_from_name`]: https://rust-lang.github.io/rust-clippy/master/index.html#unsafe_removed_from_name
1189 [`unsafe_vector_initialization`]: https://rust-lang.github.io/rust-clippy/master/index.html#unsafe_vector_initialization
1190 [`unseparated_literal_suffix`]: https://rust-lang.github.io/rust-clippy/master/index.html#unseparated_literal_suffix
1191 [`unstable_as_mut_slice`]: https://rust-lang.github.io/rust-clippy/master/index.html#unstable_as_mut_slice
1192 [`unstable_as_slice`]: https://rust-lang.github.io/rust-clippy/master/index.html#unstable_as_slice
1193 [`unused_collect`]: https://rust-lang.github.io/rust-clippy/master/index.html#unused_collect
1194 [`unused_io_amount`]: https://rust-lang.github.io/rust-clippy/master/index.html#unused_io_amount
1195 [`unused_label`]: https://rust-lang.github.io/rust-clippy/master/index.html#unused_label
1196 [`unused_unit`]: https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
1197 [`use_debug`]: https://rust-lang.github.io/rust-clippy/master/index.html#use_debug
1198 [`use_self`]: https://rust-lang.github.io/rust-clippy/master/index.html#use_self
1199 [`used_underscore_binding`]: https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_binding
1200 [`useless_asref`]: https://rust-lang.github.io/rust-clippy/master/index.html#useless_asref
1201 [`useless_attribute`]: https://rust-lang.github.io/rust-clippy/master/index.html#useless_attribute
1202 [`useless_format`]: https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
1203 [`useless_let_if_seq`]: https://rust-lang.github.io/rust-clippy/master/index.html#useless_let_if_seq
1204 [`useless_transmute`]: https://rust-lang.github.io/rust-clippy/master/index.html#useless_transmute
1205 [`useless_vec`]: https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
1206 [`vec_box`]: https://rust-lang.github.io/rust-clippy/master/index.html#vec_box
1207 [`verbose_bit_mask`]: https://rust-lang.github.io/rust-clippy/master/index.html#verbose_bit_mask
1208 [`while_immutable_condition`]: https://rust-lang.github.io/rust-clippy/master/index.html#while_immutable_condition
1209 [`while_let_loop`]: https://rust-lang.github.io/rust-clippy/master/index.html#while_let_loop
1210 [`while_let_on_iterator`]: https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator
1211 [`wildcard_dependencies`]: https://rust-lang.github.io/rust-clippy/master/index.html#wildcard_dependencies
1212 [`wildcard_enum_match_arm`]: https://rust-lang.github.io/rust-clippy/master/index.html#wildcard_enum_match_arm
1213 [`write_literal`]: https://rust-lang.github.io/rust-clippy/master/index.html#write_literal
1214 [`write_with_newline`]: https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline
1215 [`writeln_empty_string`]: https://rust-lang.github.io/rust-clippy/master/index.html#writeln_empty_string
1216 [`wrong_pub_self_convention`]: https://rust-lang.github.io/rust-clippy/master/index.html#wrong_pub_self_convention
1217 [`wrong_self_convention`]: https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention
1218 [`wrong_transmute`]: https://rust-lang.github.io/rust-clippy/master/index.html#wrong_transmute
1219 [`zero_divided_by_zero`]: https://rust-lang.github.io/rust-clippy/master/index.html#zero_divided_by_zero
1220 [`zero_prefixed_literal`]: https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal
1221 [`zero_ptr`]: https://rust-lang.github.io/rust-clippy/master/index.html#zero_ptr
1222 [`zero_width_space`]: https://rust-lang.github.io/rust-clippy/master/index.html#zero_width_space
1223 <!-- end autogenerated links to lint list -->