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