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