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