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