]>
Commit | Line | Data |
---|---|---|
f20569fa XL |
1 | # Changelog |
2 | ||
3 | All notable changes to this project will be documented in this file. | |
4 | See [Changelog Update](doc/changelog_update.md) if you want to update this | |
5 | document. | |
6 | ||
7 | ## Unreleased / In Rust Nightly | |
8 | ||
9 | [3e41797...master](https://github.com/rust-lang/rust-clippy/compare/3e41797...master) | |
10 | ||
11 | ## Rust 1.51 | |
12 | ||
13 | Current beta, release 2021-03-25 | |
14 | ||
15 | [4911ab1...3e41797](https://github.com/rust-lang/rust-clippy/compare/4911ab1...3e41797) | |
16 | ||
17 | ### New Lints | |
18 | ||
19 | * [`upper_case_acronyms`] | |
20 | [#6475](https://github.com/rust-lang/rust-clippy/pull/6475) | |
21 | * [`from_over_into`] [#6476](https://github.com/rust-lang/rust-clippy/pull/6476) | |
22 | * [`case_sensitive_file_extension_comparisons`] | |
23 | [#6500](https://github.com/rust-lang/rust-clippy/pull/6500) | |
24 | * [`needless_question_mark`] | |
25 | [#6507](https://github.com/rust-lang/rust-clippy/pull/6507) | |
26 | * [`missing_panics_doc`] | |
27 | [#6523](https://github.com/rust-lang/rust-clippy/pull/6523) | |
28 | * [`redundant_slicing`] | |
29 | [#6528](https://github.com/rust-lang/rust-clippy/pull/6528) | |
30 | * [`vec_init_then_push`] | |
31 | [#6538](https://github.com/rust-lang/rust-clippy/pull/6538) | |
32 | * [`ptr_as_ptr`] [#6542](https://github.com/rust-lang/rust-clippy/pull/6542) | |
33 | * [`collapsible_else_if`] (split out from `collapsible_if`) | |
34 | [#6544](https://github.com/rust-lang/rust-clippy/pull/6544) | |
35 | * [`inspect_for_each`] [#6577](https://github.com/rust-lang/rust-clippy/pull/6577) | |
36 | * [`manual_filter_map`] | |
37 | [#6591](https://github.com/rust-lang/rust-clippy/pull/6591) | |
38 | * [`exhaustive_enums`] | |
39 | [#6617](https://github.com/rust-lang/rust-clippy/pull/6617) | |
40 | * [`exhaustive_structs`] | |
41 | [#6617](https://github.com/rust-lang/rust-clippy/pull/6617) | |
42 | ||
43 | ### Moves and Deprecations | |
44 | ||
45 | * Replace [`find_map`] with [`manual_find_map`] | |
46 | [#6591](https://github.com/rust-lang/rust-clippy/pull/6591) | |
47 | * [`unknown_clippy_lints`] Now integrated in the `unknown_lints` rustc lint | |
48 | [#6653](https://github.com/rust-lang/rust-clippy/pull/6653) | |
49 | ||
50 | ### Enhancements | |
51 | ||
52 | * [`ptr_arg`] Now also suggests to use `&Path` instead of `&PathBuf` | |
53 | [#6506](https://github.com/rust-lang/rust-clippy/pull/6506) | |
54 | * [`cast_ptr_alignment`] Also lint when the `pointer::cast` method is used | |
55 | [#6557](https://github.com/rust-lang/rust-clippy/pull/6557) | |
56 | * [`collapsible_match`] Now also deals with `&` and `*` operators in the `match` | |
57 | scrutinee [#6619](https://github.com/rust-lang/rust-clippy/pull/6619) | |
58 | ||
59 | ### False Positive Fixes | |
60 | ||
61 | * [`similar_names`] Ignore underscore prefixed names | |
62 | [#6403](https://github.com/rust-lang/rust-clippy/pull/6403) | |
63 | * [`print_literal`] and [`write_literal`] No longer lint numeric literals | |
64 | [#6408](https://github.com/rust-lang/rust-clippy/pull/6408) | |
65 | * [`large_enum_variant`] No longer lints in external macros | |
66 | [#6485](https://github.com/rust-lang/rust-clippy/pull/6485) | |
67 | * [`empty_enum`] Only lint if `never_type` feature is enabled | |
68 | [#6513](https://github.com/rust-lang/rust-clippy/pull/6513) | |
69 | * [`field_reassign_with_default`] No longer lints in macros | |
70 | [#6553](https://github.com/rust-lang/rust-clippy/pull/6553) | |
71 | * [`size_of_in_element_count`] No longer lints when dividing by element size | |
72 | [#6578](https://github.com/rust-lang/rust-clippy/pull/6578) | |
73 | * [`needless_return`] No longer lints in macros | |
74 | [#6586](https://github.com/rust-lang/rust-clippy/pull/6586) | |
75 | * [`match_overlapping_arm`] No longer lint when first arm is completely included | |
76 | in second arm [#6603](https://github.com/rust-lang/rust-clippy/pull/6603) | |
77 | * [`doc_markdown`] Add `WebGL` to the default configuration as an allowed | |
78 | identifier [#6605](https://github.com/rust-lang/rust-clippy/pull/6605) | |
79 | ||
80 | ### Suggestion Fixes/Improvements | |
81 | ||
82 | * [`field_reassign_with_default`] Don't expand macro in lint suggestion | |
83 | [#6531](https://github.com/rust-lang/rust-clippy/pull/6531) | |
84 | * [`match_like_matches_macro`] Strip references in suggestion | |
85 | [#6532](https://github.com/rust-lang/rust-clippy/pull/6532) | |
86 | * [`single_match`] Suggest `if` over `if let` when possible | |
87 | [#6574](https://github.com/rust-lang/rust-clippy/pull/6574) | |
88 | * [`ref_in_deref`] Use parentheses correctly in suggestion | |
89 | [#6609](https://github.com/rust-lang/rust-clippy/pull/6609) | |
90 | * [`stable_sort_primitive`] Clarify error message | |
91 | [#6611](https://github.com/rust-lang/rust-clippy/pull/6611) | |
92 | ||
93 | ### ICE Fixes | |
94 | ||
95 | * [`zero_sized_map_values`] | |
96 | [#6582](https://github.com/rust-lang/rust-clippy/pull/6582) | |
97 | ||
98 | ### Documentation Improvements | |
99 | ||
100 | * Improve search performance on the Clippy website and make it possible to | |
101 | directly search for lints on the GitHub issue tracker | |
102 | [#6483](https://github.com/rust-lang/rust-clippy/pull/6483) | |
103 | * Clean up `README.md` by removing outdated paragraph | |
104 | [#6488](https://github.com/rust-lang/rust-clippy/pull/6488) | |
105 | * [`await_holding_refcell_ref`] and [`await_holding_lock`] | |
106 | [#6585](https://github.com/rust-lang/rust-clippy/pull/6585) | |
107 | * [`as_conversions`] [#6608](https://github.com/rust-lang/rust-clippy/pull/6608) | |
108 | ||
109 | ### Others | |
110 | ||
111 | * Clippy now has a [Roadmap] for 2021. If you like to get involved in a bigger | |
112 | project, take a look at the [Roadmap project page]. All issues listed there | |
113 | are actively mentored | |
114 | [#6462](https://github.com/rust-lang/rust-clippy/pull/6462) | |
115 | * The Clippy version number now corresponds to the Rust version number | |
116 | [#6526](https://github.com/rust-lang/rust-clippy/pull/6526) | |
117 | * Fix oversight which caused Clippy to lint deps in some environments, where | |
118 | `CLIPPY_TESTS=true` was set somewhere | |
119 | [#6575](https://github.com/rust-lang/rust-clippy/pull/6575) | |
120 | * Add `cargo dev-lintcheck` tool to the Clippy Dev Tool | |
121 | [#6469](https://github.com/rust-lang/rust-clippy/pull/6469) | |
122 | ||
123 | [Roadmap]: https://github.com/rust-lang/rust-clippy/blob/master/doc/roadmap-2021.md | |
124 | [Roadmap project page]: https://github.com/rust-lang/rust-clippy/projects/3 | |
125 | ||
126 | ## Rust 1.50 | |
127 | ||
128 | Current stable, released 2021-02-11 | |
129 | ||
130 | [b20d4c1...4bd77a1](https://github.com/rust-lang/rust-clippy/compare/b20d4c1...4bd77a1) | |
131 | ||
132 | ### New Lints | |
133 | ||
134 | * [`suspicious_operation_groupings`] [#6086](https://github.com/rust-lang/rust-clippy/pull/6086) | |
135 | * [`size_of_in_element_count`] [#6394](https://github.com/rust-lang/rust-clippy/pull/6394) | |
136 | * [`unnecessary_wraps`] [#6070](https://github.com/rust-lang/rust-clippy/pull/6070) | |
137 | * [`let_underscore_drop`] [#6305](https://github.com/rust-lang/rust-clippy/pull/6305) | |
138 | * [`collapsible_match`] [#6402](https://github.com/rust-lang/rust-clippy/pull/6402) | |
139 | * [`redundant_else`] [#6330](https://github.com/rust-lang/rust-clippy/pull/6330) | |
140 | * [`zero_sized_map_values`] [#6218](https://github.com/rust-lang/rust-clippy/pull/6218) | |
141 | * [`print_stderr`] [#6367](https://github.com/rust-lang/rust-clippy/pull/6367) | |
142 | * [`string_from_utf8_as_bytes`] [#6134](https://github.com/rust-lang/rust-clippy/pull/6134) | |
143 | ||
144 | ### Moves and Deprecations | |
145 | ||
146 | * Previously deprecated [`str_to_string`] and [`string_to_string`] have been un-deprecated | |
147 | as `restriction` lints [#6333](https://github.com/rust-lang/rust-clippy/pull/6333) | |
148 | * Deprecate [`panic_params`] lint. This is now available in rustc as `panic_fmt` | |
149 | [#6351](https://github.com/rust-lang/rust-clippy/pull/6351) | |
150 | * Move [`map_err_ignore`] to `restriction` | |
151 | [#6416](https://github.com/rust-lang/rust-clippy/pull/6416) | |
152 | * Move [`await_holding_refcell_ref`] to `pedantic` | |
153 | [#6354](https://github.com/rust-lang/rust-clippy/pull/6354) | |
154 | * Move [`await_holding_lock`] to `pedantic` | |
155 | [#6354](https://github.com/rust-lang/rust-clippy/pull/6354) | |
156 | ||
157 | ### Enhancements | |
158 | ||
159 | * Add the `unreadable-literal-lint-fractions` configuration to disable | |
160 | the `unreadable_literal` lint for fractions | |
161 | [#6421](https://github.com/rust-lang/rust-clippy/pull/6421) | |
162 | * [`clone_on_copy`]: Now shows the type in the lint message | |
163 | [#6443](https://github.com/rust-lang/rust-clippy/pull/6443) | |
164 | * [`redundant_pattern_matching`]: Now also lints on `std::task::Poll` | |
165 | [#6339](https://github.com/rust-lang/rust-clippy/pull/6339) | |
166 | * [`redundant_pattern_matching`]: Additionally also lints on `std::net::IpAddr` | |
167 | [#6377](https://github.com/rust-lang/rust-clippy/pull/6377) | |
168 | * [`search_is_some`]: Now suggests `contains` instead of `find(foo).is_some()` | |
169 | [#6119](https://github.com/rust-lang/rust-clippy/pull/6119) | |
170 | * [`clone_double_ref`]: Now prints the reference type in the lint message | |
171 | [#6442](https://github.com/rust-lang/rust-clippy/pull/6442) | |
172 | * [`modulo_one`]: Now also lints on -1. | |
173 | [#6360](https://github.com/rust-lang/rust-clippy/pull/6360) | |
174 | * [`empty_loop`]: Now lints no_std crates, too | |
175 | [#6205](https://github.com/rust-lang/rust-clippy/pull/6205) | |
176 | * [`or_fun_call`]: Now also lints when indexing `HashMap` or `BTreeMap` | |
177 | [#6267](https://github.com/rust-lang/rust-clippy/pull/6267) | |
178 | * [`wrong_self_convention`]: Now also lints in trait definitions | |
179 | [#6316](https://github.com/rust-lang/rust-clippy/pull/6316) | |
180 | * [`needless_borrow`]: Print the type in the lint message | |
181 | [#6449](https://github.com/rust-lang/rust-clippy/pull/6449) | |
182 | ||
183 | [msrv_readme]: https://github.com/rust-lang/rust-clippy#specifying-the-minimum-supported-rust-version | |
184 | ||
185 | ### False Positive Fixes | |
186 | ||
187 | * [`manual_range_contains`]: No longer lints in `const fn` | |
188 | [#6382](https://github.com/rust-lang/rust-clippy/pull/6382) | |
189 | * [`unnecessary_lazy_evaluations`]: No longer lints if closure argument is used | |
190 | [#6370](https://github.com/rust-lang/rust-clippy/pull/6370) | |
191 | * [`match_single_binding`]: Now ignores cases with `#[cfg()]` macros | |
192 | [#6435](https://github.com/rust-lang/rust-clippy/pull/6435) | |
193 | * [`match_like_matches_macro`]: No longer lints on arms with attributes | |
194 | [#6290](https://github.com/rust-lang/rust-clippy/pull/6290) | |
195 | * [`map_clone`]: No longer lints with deref and clone | |
196 | [#6269](https://github.com/rust-lang/rust-clippy/pull/6269) | |
197 | * [`map_clone`]: No longer lints in the case of &mut | |
198 | [#6301](https://github.com/rust-lang/rust-clippy/pull/6301) | |
199 | * [`needless_update`]: Now ignores `non_exhaustive` structs | |
200 | [#6464](https://github.com/rust-lang/rust-clippy/pull/6464) | |
201 | * [`needless_collect`]: No longer lints when a collect is needed multiple times | |
202 | [#6313](https://github.com/rust-lang/rust-clippy/pull/6313) | |
203 | * [`unnecessary_cast`] No longer lints cfg-dependent types | |
204 | [#6369](https://github.com/rust-lang/rust-clippy/pull/6369) | |
205 | * [`declare_interior_mutable_const`] and [`borrow_interior_mutable_const`]: | |
206 | Both now ignore enums with frozen variants | |
207 | [#6110](https://github.com/rust-lang/rust-clippy/pull/6110) | |
208 | * [`field_reassign_with_default`] No longer lint for private fields | |
209 | [#6537](https://github.com/rust-lang/rust-clippy/pull/6537) | |
210 | ||
211 | ||
212 | ### Suggestion Fixes/Improvements | |
213 | ||
214 | * [`vec_box`]: Provide correct type scope suggestion | |
215 | [#6271](https://github.com/rust-lang/rust-clippy/pull/6271) | |
216 | * [`manual_range_contains`]: Give correct suggestion when using floats | |
217 | [#6320](https://github.com/rust-lang/rust-clippy/pull/6320) | |
218 | * [`unnecessary_lazy_evaluations`]: Don't always mark suggestion as MachineApplicable | |
219 | [#6272](https://github.com/rust-lang/rust-clippy/pull/6272) | |
220 | * [`manual_async_fn`]: Improve suggestion formatting | |
221 | [#6294](https://github.com/rust-lang/rust-clippy/pull/6294) | |
222 | * [`unnecessary_cast`]: Fix incorrectly formatted float literal suggestion | |
223 | [#6362](https://github.com/rust-lang/rust-clippy/pull/6362) | |
224 | ||
225 | ### ICE Fixes | |
226 | ||
227 | * Fix a crash in [`from_iter_instead_of_collect`] | |
228 | [#6304](https://github.com/rust-lang/rust-clippy/pull/6304) | |
229 | * Fix a silent crash when parsing doc comments in [`needless_doctest_main`] | |
230 | [#6458](https://github.com/rust-lang/rust-clippy/pull/6458) | |
231 | ||
232 | ### Documentation Improvements | |
233 | ||
234 | * The lint website search has been improved ([#6477](https://github.com/rust-lang/rust-clippy/pull/6477)): | |
235 | * Searching for lints with dashes and spaces is possible now. For example | |
236 | `missing-errors-doc` and `missing errors doc` are now valid aliases for lint names | |
237 | * Improved fuzzy search in lint descriptions | |
238 | * Various README improvements | |
239 | [#6287](https://github.com/rust-lang/rust-clippy/pull/6287) | |
240 | * Add known problems to [`comparison_chain`] documentation | |
241 | [#6390](https://github.com/rust-lang/rust-clippy/pull/6390) | |
242 | * Fix example used in [`cargo_common_metadata`] | |
243 | [#6293](https://github.com/rust-lang/rust-clippy/pull/6293) | |
244 | * Improve [`map_clone`] documentation | |
245 | [#6340](https://github.com/rust-lang/rust-clippy/pull/6340) | |
246 | ||
247 | ### Others | |
248 | ||
249 | * You can now tell Clippy about the MSRV your project supports. Please refer to | |
250 | the specific README section to learn more about MSRV support [here][msrv_readme] | |
251 | [#6201](https://github.com/rust-lang/rust-clippy/pull/6201) | |
252 | * Add `--no-deps` option to avoid running on path dependencies in workspaces | |
253 | [#6188](https://github.com/rust-lang/rust-clippy/pull/6188) | |
254 | ||
255 | ## Rust 1.49 | |
256 | ||
257 | Released 2020-12-31 | |
258 | ||
259 | [e636b88...b20d4c1](https://github.com/rust-lang/rust-clippy/compare/e636b88...b20d4c1) | |
260 | ||
261 | ### New Lints | |
262 | ||
263 | * [`field_reassign_with_default`] [#5911](https://github.com/rust-lang/rust-clippy/pull/5911) | |
264 | * [`await_holding_refcell_ref`] [#6029](https://github.com/rust-lang/rust-clippy/pull/6029) | |
265 | * [`disallowed_method`] [#6081](https://github.com/rust-lang/rust-clippy/pull/6081) | |
266 | * [`inline_asm_x86_att_syntax`] [#6092](https://github.com/rust-lang/rust-clippy/pull/6092) | |
267 | * [`inline_asm_x86_intel_syntax`] [#6092](https://github.com/rust-lang/rust-clippy/pull/6092) | |
268 | * [`from_iter_instead_of_collect`] [#6101](https://github.com/rust-lang/rust-clippy/pull/6101) | |
269 | * [`mut_mutex_lock`] [#6103](https://github.com/rust-lang/rust-clippy/pull/6103) | |
270 | * [`single_element_loop`] [#6109](https://github.com/rust-lang/rust-clippy/pull/6109) | |
271 | * [`manual_unwrap_or`] [#6123](https://github.com/rust-lang/rust-clippy/pull/6123) | |
272 | * [`large_types_passed_by_value`] [#6135](https://github.com/rust-lang/rust-clippy/pull/6135) | |
273 | * [`result_unit_err`] [#6157](https://github.com/rust-lang/rust-clippy/pull/6157) | |
274 | * [`ref_option_ref`] [#6165](https://github.com/rust-lang/rust-clippy/pull/6165) | |
275 | * [`manual_range_contains`] [#6177](https://github.com/rust-lang/rust-clippy/pull/6177) | |
276 | * [`unusual_byte_groupings`] [#6183](https://github.com/rust-lang/rust-clippy/pull/6183) | |
277 | * [`comparison_to_empty`] [#6226](https://github.com/rust-lang/rust-clippy/pull/6226) | |
278 | * [`map_collect_result_unit`] [#6227](https://github.com/rust-lang/rust-clippy/pull/6227) | |
279 | * [`manual_ok_or`] [#6233](https://github.com/rust-lang/rust-clippy/pull/6233) | |
280 | ||
281 | ### Moves and Deprecations | |
282 | ||
283 | * Rename `single_char_push_str` to [`single_char_add_str`] | |
284 | [#6037](https://github.com/rust-lang/rust-clippy/pull/6037) | |
285 | * Rename `zero_width_space` to [`invisible_characters`] | |
286 | [#6105](https://github.com/rust-lang/rust-clippy/pull/6105) | |
287 | * Deprecate [`drop_bounds`] (uplifted) | |
288 | [#6111](https://github.com/rust-lang/rust-clippy/pull/6111) | |
289 | * Move [`string_lit_as_bytes`] to `nursery` | |
290 | [#6117](https://github.com/rust-lang/rust-clippy/pull/6117) | |
291 | * Move [`rc_buffer`] to `restriction` | |
292 | [#6128](https://github.com/rust-lang/rust-clippy/pull/6128) | |
293 | ||
294 | ### Enhancements | |
295 | ||
296 | * [`manual_memcpy`]: Also lint when there are loop counters (and produce a | |
297 | reliable suggestion) | |
298 | [#5727](https://github.com/rust-lang/rust-clippy/pull/5727) | |
299 | * [`single_char_add_str`]: Also lint on `String::insert_str` | |
300 | [#6037](https://github.com/rust-lang/rust-clippy/pull/6037) | |
301 | * [`invisible_characters`]: Also lint the characters `\u{AD}` and `\u{2060}` | |
302 | [#6105](https://github.com/rust-lang/rust-clippy/pull/6105) | |
303 | * [`eq_op`]: Also lint on the `assert_*!` macro family | |
304 | [#6167](https://github.com/rust-lang/rust-clippy/pull/6167) | |
305 | * [`items_after_statements`]: Also lint in local macro expansions | |
306 | [#6176](https://github.com/rust-lang/rust-clippy/pull/6176) | |
307 | * [`unnecessary_cast`]: Also lint casts on integer and float literals | |
308 | [#6187](https://github.com/rust-lang/rust-clippy/pull/6187) | |
309 | * [`manual_unwrap_or`]: Also lint `Result::unwrap_or` | |
310 | [#6190](https://github.com/rust-lang/rust-clippy/pull/6190) | |
311 | * [`match_like_matches_macro`]: Also lint when `match` has more than two arms | |
312 | [#6216](https://github.com/rust-lang/rust-clippy/pull/6216) | |
313 | * [`integer_arithmetic`]: Better handle `/` an `%` operators | |
314 | [#6229](https://github.com/rust-lang/rust-clippy/pull/6229) | |
315 | ||
316 | ### False Positive Fixes | |
317 | ||
318 | * [`needless_lifetimes`]: Bail out if the function has a `where` clause with the | |
319 | lifetime [#5978](https://github.com/rust-lang/rust-clippy/pull/5978) | |
320 | * [`explicit_counter_loop`]: No longer lints, when loop counter is used after it | |
321 | is incremented [#6076](https://github.com/rust-lang/rust-clippy/pull/6076) | |
322 | * [`or_fun_call`]: Revert changes addressing the handling of `const fn` | |
323 | [#6077](https://github.com/rust-lang/rust-clippy/pull/6077) | |
324 | * [`needless_range_loop`]: No longer lints, when the iterable is used in the | |
325 | range [#6102](https://github.com/rust-lang/rust-clippy/pull/6102) | |
326 | * [`inconsistent_digit_grouping`]: Fix bug when using floating point exponent | |
327 | [#6104](https://github.com/rust-lang/rust-clippy/pull/6104) | |
328 | * [`mistyped_literal_suffixes`]: No longer lints on the fractional part of a | |
329 | float (e.g. `713.32_64`) | |
330 | [#6114](https://github.com/rust-lang/rust-clippy/pull/6114) | |
331 | * [`invalid_regex`]: No longer lint on unicode characters within `bytes::Regex` | |
332 | [#6132](https://github.com/rust-lang/rust-clippy/pull/6132) | |
333 | * [`boxed_local`]: No longer lints on `extern fn` arguments | |
334 | [#6133](https://github.com/rust-lang/rust-clippy/pull/6133) | |
335 | * [`needless_lifetimes`]: Fix regression, where lifetime is used in `where` | |
336 | clause [#6198](https://github.com/rust-lang/rust-clippy/pull/6198) | |
337 | ||
338 | ### Suggestion Fixes/Improvements | |
339 | ||
340 | * [`unnecessary_sort_by`]: Avoid dereferencing the suggested closure parameter | |
341 | [#6078](https://github.com/rust-lang/rust-clippy/pull/6078) | |
342 | * [`needless_arbitrary_self_type`]: Correctly handle expanded code | |
343 | [#6093](https://github.com/rust-lang/rust-clippy/pull/6093) | |
344 | * [`useless_format`]: Preserve raw strings in suggestion | |
345 | [#6151](https://github.com/rust-lang/rust-clippy/pull/6151) | |
346 | * [`empty_loop`]: Suggest alternatives | |
347 | [#6162](https://github.com/rust-lang/rust-clippy/pull/6162) | |
348 | * [`borrowed_box`]: Correctly add parentheses in suggestion | |
349 | [#6200](https://github.com/rust-lang/rust-clippy/pull/6200) | |
350 | * [`unused_unit`]: Improve suggestion formatting | |
351 | [#6247](https://github.com/rust-lang/rust-clippy/pull/6247) | |
352 | ||
353 | ### Documentation Improvements | |
354 | ||
355 | * Some doc improvements: | |
356 | * [`rc_buffer`] [#6090](https://github.com/rust-lang/rust-clippy/pull/6090) | |
357 | * [`empty_loop`] [#6162](https://github.com/rust-lang/rust-clippy/pull/6162) | |
358 | * [`doc_markdown`]: Document problematic link text style | |
359 | [#6107](https://github.com/rust-lang/rust-clippy/pull/6107) | |
360 | ||
361 | ## Rust 1.48 | |
362 | ||
363 | Released 2020-11-19 | |
364 | ||
365 | [09bd400...e636b88](https://github.com/rust-lang/rust-clippy/compare/09bd400...e636b88) | |
366 | ||
367 | ### New lints | |
368 | ||
369 | * [`self_assignment`] [#5894](https://github.com/rust-lang/rust-clippy/pull/5894) | |
370 | * [`unnecessary_lazy_evaluations`] [#5720](https://github.com/rust-lang/rust-clippy/pull/5720) | |
371 | * [`manual_strip`] [#6038](https://github.com/rust-lang/rust-clippy/pull/6038) | |
372 | * [`map_err_ignore`] [#5998](https://github.com/rust-lang/rust-clippy/pull/5998) | |
373 | * [`rc_buffer`] [#6044](https://github.com/rust-lang/rust-clippy/pull/6044) | |
374 | * [`to_string_in_display`] [#5831](https://github.com/rust-lang/rust-clippy/pull/5831) | |
375 | * `single_char_push_str` [#5881](https://github.com/rust-lang/rust-clippy/pull/5881) | |
376 | ||
377 | ### Moves and Deprecations | |
378 | ||
379 | * Downgrade [`verbose_bit_mask`] to pedantic | |
380 | [#6036](https://github.com/rust-lang/rust-clippy/pull/6036) | |
381 | ||
382 | ### Enhancements | |
383 | ||
384 | * Extend [`precedence`] to handle chains of methods combined with unary negation | |
385 | [#5928](https://github.com/rust-lang/rust-clippy/pull/5928) | |
386 | * [`useless_vec`]: add a configuration value for the maximum allowed size on the stack | |
387 | [#5907](https://github.com/rust-lang/rust-clippy/pull/5907) | |
388 | * [`suspicious_arithmetic_impl`]: extend to implementations of `BitAnd`, `BitOr`, `BitXor`, `Rem`, `Shl`, and `Shr` | |
389 | [#5884](https://github.com/rust-lang/rust-clippy/pull/5884) | |
390 | * [`invalid_atomic_ordering`]: detect misuse of `compare_exchange`, `compare_exchange_weak`, and `fetch_update` | |
391 | [#6025](https://github.com/rust-lang/rust-clippy/pull/6025) | |
392 | * Avoid [`redundant_pattern_matching`] triggering in macros | |
393 | [#6069](https://github.com/rust-lang/rust-clippy/pull/6069) | |
394 | * [`option_if_let_else`]: distinguish pure from impure `else` expressions | |
395 | [#5937](https://github.com/rust-lang/rust-clippy/pull/5937) | |
396 | * [`needless_doctest_main`]: parse doctests instead of using textual search | |
397 | [#5912](https://github.com/rust-lang/rust-clippy/pull/5912) | |
398 | * [`wildcard_imports`]: allow `prelude` to appear in any segment of an import | |
399 | [#5929](https://github.com/rust-lang/rust-clippy/pull/5929) | |
400 | * Re-enable [`len_zero`] for ranges now that `range_is_empty` is stable | |
401 | [#5961](https://github.com/rust-lang/rust-clippy/pull/5961) | |
402 | * [`option_as_ref_deref`]: catch fully-qualified calls to `Deref::deref` and `DerefMut::deref_mut` | |
403 | [#5933](https://github.com/rust-lang/rust-clippy/pull/5933) | |
404 | ||
405 | ### False Positive Fixes | |
406 | ||
407 | * [`useless_attribute`]: permit allowing [`wildcard_imports`] and [`enum_glob_use`] | |
408 | [#5994](https://github.com/rust-lang/rust-clippy/pull/5994) | |
409 | * [`transmute_ptr_to_ptr`]: avoid suggesting dereferencing raw pointers in const contexts | |
410 | [#5999](https://github.com/rust-lang/rust-clippy/pull/5999) | |
411 | * [`redundant_closure_call`]: take into account usages of the closure in nested functions and closures | |
412 | [#5920](https://github.com/rust-lang/rust-clippy/pull/5920) | |
413 | * Fix false positive in [`borrow_interior_mutable_const`] when referencing a field behind a pointer | |
414 | [#5949](https://github.com/rust-lang/rust-clippy/pull/5949) | |
415 | * [`doc_markdown`]: allow using "GraphQL" without backticks | |
416 | [#5996](https://github.com/rust-lang/rust-clippy/pull/5996) | |
417 | * [`to_string_in_display`]: avoid linting when calling `to_string()` on anything that is not `self` | |
418 | [#5971](https://github.com/rust-lang/rust-clippy/pull/5971) | |
419 | * [`indexing_slicing`] and [`out_of_bounds_indexing`] treat references to arrays as arrays | |
420 | [#6034](https://github.com/rust-lang/rust-clippy/pull/6034) | |
421 | * [`should_implement_trait`]: ignore methods with lifetime parameters | |
422 | [#5725](https://github.com/rust-lang/rust-clippy/pull/5725) | |
423 | * [`needless_return`]: avoid linting if a temporary borrows a local variable | |
424 | [#5903](https://github.com/rust-lang/rust-clippy/pull/5903) | |
425 | * Restrict [`unnecessary_sort_by`] to non-reference, Copy types | |
426 | [#6006](https://github.com/rust-lang/rust-clippy/pull/6006) | |
427 | * Avoid suggesting `from_bits`/`to_bits` in const contexts in [`transmute_int_to_float`] | |
428 | [#5919](https://github.com/rust-lang/rust-clippy/pull/5919) | |
429 | * [`declare_interior_mutable_const`] and [`borrow_interior_mutable_const`]: improve detection of interior mutable types | |
430 | [#6046](https://github.com/rust-lang/rust-clippy/pull/6046) | |
431 | ||
432 | ### Suggestion Fixes/Improvements | |
433 | ||
434 | * [`let_and_return`]: add a cast to the suggestion when the return expression has adjustments | |
435 | [#5946](https://github.com/rust-lang/rust-clippy/pull/5946) | |
436 | * [`useless_conversion`]: show the type in the error message | |
437 | [#6035](https://github.com/rust-lang/rust-clippy/pull/6035) | |
438 | * [`unnecessary_mut_passed`]: discriminate between functions and methods in the error message | |
439 | [#5892](https://github.com/rust-lang/rust-clippy/pull/5892) | |
440 | * [`float_cmp`] and [`float_cmp_const`]: change wording to make margin of error less ambiguous | |
441 | [#6043](https://github.com/rust-lang/rust-clippy/pull/6043) | |
442 | * [`default_trait_access`]: do not use unnecessary type parameters in the suggestion | |
443 | [#5993](https://github.com/rust-lang/rust-clippy/pull/5993) | |
444 | * [`collapsible_if`]: don't use expanded code in the suggestion | |
445 | [#5992](https://github.com/rust-lang/rust-clippy/pull/5992) | |
446 | * Do not suggest empty format strings in [`print_with_newline`] and [`write_with_newline`] | |
447 | [#6042](https://github.com/rust-lang/rust-clippy/pull/6042) | |
448 | * [`unit_arg`]: improve the readability of the suggestion | |
449 | [#5931](https://github.com/rust-lang/rust-clippy/pull/5931) | |
450 | * [`stable_sort_primitive`]: print the type that is being sorted in the lint message | |
451 | [#5935](https://github.com/rust-lang/rust-clippy/pull/5935) | |
452 | * Show line count and max lines in [`too_many_lines`] lint message | |
453 | [#6009](https://github.com/rust-lang/rust-clippy/pull/6009) | |
454 | * Keep parentheses in the suggestion of [`useless_conversion`] where applicable | |
455 | [#5900](https://github.com/rust-lang/rust-clippy/pull/5900) | |
456 | * [`option_map_unit_fn`] and [`result_map_unit_fn`]: print the unit type `()` explicitly | |
457 | [#6024](https://github.com/rust-lang/rust-clippy/pull/6024) | |
458 | * [`redundant_allocation`]: suggest replacing `Rc<Box<T>>` with `Rc<T>` | |
459 | [#5899](https://github.com/rust-lang/rust-clippy/pull/5899) | |
460 | * Make lint messages adhere to rustc dev guide conventions | |
461 | [#5893](https://github.com/rust-lang/rust-clippy/pull/5893) | |
462 | ||
463 | ### ICE Fixes | |
464 | ||
465 | * Fix ICE in [`repeat_once`] | |
466 | [#5948](https://github.com/rust-lang/rust-clippy/pull/5948) | |
467 | ||
468 | ### Documentation Improvements | |
469 | ||
470 | * [`mutable_key_type`]: explain potential for false positives when the interior mutable type is not accessed in the `Hash` implementation | |
471 | [#6019](https://github.com/rust-lang/rust-clippy/pull/6019) | |
472 | * [`unnecessary_mut_passed`]: fix typo | |
473 | [#5913](https://github.com/rust-lang/rust-clippy/pull/5913) | |
474 | * Add example of false positive to [`ptr_arg`] docs. | |
475 | [#5885](https://github.com/rust-lang/rust-clippy/pull/5885) | |
476 | * [`box_vec`], [`vec_box`] and [`borrowed_box`]: add link to the documentation of `Box` | |
477 | [#6023](https://github.com/rust-lang/rust-clippy/pull/6023) | |
478 | ||
479 | ## Rust 1.47 | |
480 | ||
481 | Released 2020-10-08 | |
482 | ||
483 | [c2c07fa...09bd400](https://github.com/rust-lang/rust-clippy/compare/c2c07fa...09bd400) | |
484 | ||
485 | ### New lints | |
486 | ||
487 | * [`derive_ord_xor_partial_ord`] [#5848](https://github.com/rust-lang/rust-clippy/pull/5848) | |
488 | * [`trait_duplication_in_bounds`] [#5852](https://github.com/rust-lang/rust-clippy/pull/5852) | |
489 | * [`map_identity`] [#5694](https://github.com/rust-lang/rust-clippy/pull/5694) | |
490 | * [`unit_return_expecting_ord`] [#5737](https://github.com/rust-lang/rust-clippy/pull/5737) | |
491 | * [`pattern_type_mismatch`] [#4841](https://github.com/rust-lang/rust-clippy/pull/4841) | |
492 | * [`repeat_once`] [#5773](https://github.com/rust-lang/rust-clippy/pull/5773) | |
493 | * [`same_item_push`] [#5825](https://github.com/rust-lang/rust-clippy/pull/5825) | |
494 | * [`needless_arbitrary_self_type`] [#5869](https://github.com/rust-lang/rust-clippy/pull/5869) | |
495 | * [`match_like_matches_macro`] [#5769](https://github.com/rust-lang/rust-clippy/pull/5769) | |
496 | * [`stable_sort_primitive`] [#5809](https://github.com/rust-lang/rust-clippy/pull/5809) | |
497 | * [`blanket_clippy_restriction_lints`] [#5750](https://github.com/rust-lang/rust-clippy/pull/5750) | |
498 | * [`option_if_let_else`] [#5301](https://github.com/rust-lang/rust-clippy/pull/5301) | |
499 | ||
500 | ### Moves and Deprecations | |
501 | ||
502 | * Deprecate [`regex_macro`] lint | |
503 | [#5760](https://github.com/rust-lang/rust-clippy/pull/5760) | |
504 | * Move [`range_minus_one`] to `pedantic` | |
505 | [#5752](https://github.com/rust-lang/rust-clippy/pull/5752) | |
506 | ||
507 | ### Enhancements | |
508 | ||
509 | * Improve [`needless_collect`] by catching `collect` calls followed by `iter` or `into_iter` calls | |
510 | [#5837](https://github.com/rust-lang/rust-clippy/pull/5837) | |
511 | * [`panic`], [`todo`], [`unimplemented`] and [`unreachable`] now detect calls with formatting | |
512 | [#5811](https://github.com/rust-lang/rust-clippy/pull/5811) | |
513 | * Detect more cases of [`suboptimal_flops`] and [`imprecise_flops`] | |
514 | [#5443](https://github.com/rust-lang/rust-clippy/pull/5443) | |
515 | * Handle asymmetrical implementations of `PartialEq` in [`cmp_owned`] | |
516 | [#5701](https://github.com/rust-lang/rust-clippy/pull/5701) | |
517 | * Make it possible to allow [`unsafe_derive_deserialize`] | |
518 | [#5870](https://github.com/rust-lang/rust-clippy/pull/5870) | |
519 | * Catch `ord.min(a).max(b)` where a < b in [`min_max`] | |
520 | [#5871](https://github.com/rust-lang/rust-clippy/pull/5871) | |
521 | * Make [`clone_on_copy`] suggestion machine applicable | |
522 | [#5745](https://github.com/rust-lang/rust-clippy/pull/5745) | |
523 | * Enable [`len_zero`] on ranges now that `is_empty` is stable on them | |
524 | [#5961](https://github.com/rust-lang/rust-clippy/pull/5961) | |
525 | ||
526 | ### False Positive Fixes | |
527 | ||
528 | * Avoid triggering [`or_fun_call`] with const fns that take no arguments | |
529 | [#5889](https://github.com/rust-lang/rust-clippy/pull/5889) | |
530 | * Fix [`redundant_closure_call`] false positive for closures that have multiple calls | |
531 | [#5800](https://github.com/rust-lang/rust-clippy/pull/5800) | |
532 | * Don't lint cases involving `ManuallyDrop` in [`redundant_clone`] | |
533 | [#5824](https://github.com/rust-lang/rust-clippy/pull/5824) | |
534 | * Treat a single expression the same as a single statement in the 2nd arm of a match in [`single_match_else`] | |
535 | [#5771](https://github.com/rust-lang/rust-clippy/pull/5771) | |
536 | * Don't trigger [`unnested_or_patterns`] if the feature `or_patterns` is not enabled | |
537 | [#5758](https://github.com/rust-lang/rust-clippy/pull/5758) | |
538 | * Avoid linting if key borrows in [`unnecessary_sort_by`] | |
539 | [#5756](https://github.com/rust-lang/rust-clippy/pull/5756) | |
540 | * Consider `Try` impl for `Poll` when generating suggestions in [`try_err`] | |
541 | [#5857](https://github.com/rust-lang/rust-clippy/pull/5857) | |
542 | * Take input lifetimes into account in `manual_async_fn` | |
543 | [#5859](https://github.com/rust-lang/rust-clippy/pull/5859) | |
544 | * Fix multiple false positives in [`type_repetition_in_bounds`] and add a configuration option | |
545 | [#5761](https://github.com/rust-lang/rust-clippy/pull/5761) | |
546 | * Limit the [`suspicious_arithmetic_impl`] lint to one binary operation | |
547 | [#5820](https://github.com/rust-lang/rust-clippy/pull/5820) | |
548 | ||
549 | ### Suggestion Fixes/Improvements | |
550 | ||
551 | * Improve readability of [`shadow_unrelated`] suggestion by truncating the RHS snippet | |
552 | [#5788](https://github.com/rust-lang/rust-clippy/pull/5788) | |
553 | * Suggest `filter_map` instead of `flat_map` when mapping to `Option` in [`map_flatten`] | |
554 | [#5846](https://github.com/rust-lang/rust-clippy/pull/5846) | |
555 | * Ensure suggestion is shown correctly for long method call chains in [`iter_nth_zero`] | |
556 | [#5793](https://github.com/rust-lang/rust-clippy/pull/5793) | |
557 | * Drop borrow operator in suggestions of [`redundant_pattern_matching`] | |
558 | [#5815](https://github.com/rust-lang/rust-clippy/pull/5815) | |
559 | * Add suggestion for [`iter_skip_next`] | |
560 | [#5843](https://github.com/rust-lang/rust-clippy/pull/5843) | |
561 | * Improve [`collapsible_if`] fix suggestion | |
562 | [#5732](https://github.com/rust-lang/rust-clippy/pull/5732) | |
563 | ||
564 | ### ICE Fixes | |
565 | ||
566 | * Fix ICE caused by [`needless_collect`] | |
567 | [#5877](https://github.com/rust-lang/rust-clippy/pull/5877) | |
568 | * Fix ICE caused by [`unnested_or_patterns`] | |
569 | [#5784](https://github.com/rust-lang/rust-clippy/pull/5784) | |
570 | ||
571 | ### Documentation Improvements | |
572 | ||
573 | * Fix grammar of [`await_holding_lock`] documentation | |
574 | [#5748](https://github.com/rust-lang/rust-clippy/pull/5748) | |
575 | ||
576 | ### Others | |
577 | ||
578 | * Make lints adhere to the rustc dev guide | |
579 | [#5888](https://github.com/rust-lang/rust-clippy/pull/5888) | |
580 | ||
581 | ## Rust 1.46 | |
582 | ||
583 | Released 2020-08-27 | |
584 | ||
585 | [7ea7cd1...c2c07fa](https://github.com/rust-lang/rust-clippy/compare/7ea7cd1...c2c07fa) | |
586 | ||
587 | ### New lints | |
588 | ||
589 | * [`unnested_or_patterns`] [#5378](https://github.com/rust-lang/rust-clippy/pull/5378) | |
590 | * [`iter_next_slice`] [#5597](https://github.com/rust-lang/rust-clippy/pull/5597) | |
591 | * [`unnecessary_sort_by`] [#5623](https://github.com/rust-lang/rust-clippy/pull/5623) | |
592 | * [`vec_resize_to_zero`] [#5637](https://github.com/rust-lang/rust-clippy/pull/5637) | |
593 | ||
594 | ### Moves and Deprecations | |
595 | ||
596 | * Move [`cast_ptr_alignment`] to pedantic [#5667](https://github.com/rust-lang/rust-clippy/pull/5667) | |
597 | ||
598 | ### Enhancements | |
599 | ||
600 | * Improve [`mem_replace_with_uninit`] lint [#5695](https://github.com/rust-lang/rust-clippy/pull/5695) | |
601 | ||
602 | ### False Positive Fixes | |
603 | ||
604 | * [`len_zero`]: Avoid linting ranges when the `range_is_empty` feature is not enabled | |
605 | [#5656](https://github.com/rust-lang/rust-clippy/pull/5656) | |
606 | * [`let_and_return`]: Don't lint if a temporary borrow is involved | |
607 | [#5680](https://github.com/rust-lang/rust-clippy/pull/5680) | |
608 | * [`reversed_empty_ranges`]: Avoid linting `N..N` in for loop arguments in | |
609 | [#5692](https://github.com/rust-lang/rust-clippy/pull/5692) | |
610 | * [`if_same_then_else`]: Don't assume multiplication is always commutative | |
611 | [#5702](https://github.com/rust-lang/rust-clippy/pull/5702) | |
612 | * [`blacklisted_name`]: Remove `bar` from the default configuration | |
613 | [#5712](https://github.com/rust-lang/rust-clippy/pull/5712) | |
614 | * [`redundant_pattern_matching`]: Avoid suggesting non-`const fn` calls in const contexts | |
615 | [#5724](https://github.com/rust-lang/rust-clippy/pull/5724) | |
616 | ||
617 | ### Suggestion Fixes/Improvements | |
618 | ||
619 | * Fix suggestion of [`unit_arg`] lint, so that it suggest semantic equivalent code | |
620 | [#4455](https://github.com/rust-lang/rust-clippy/pull/4455) | |
621 | * Add auto applicable suggestion to [`macro_use_imports`] | |
622 | [#5279](https://github.com/rust-lang/rust-clippy/pull/5279) | |
623 | ||
624 | ### ICE Fixes | |
625 | ||
626 | * Fix ICE in the `consts` module of Clippy [#5709](https://github.com/rust-lang/rust-clippy/pull/5709) | |
627 | ||
628 | ### Documentation Improvements | |
629 | ||
630 | * Improve code examples across multiple lints [#5664](https://github.com/rust-lang/rust-clippy/pull/5664) | |
631 | ||
632 | ### Others | |
633 | ||
634 | * Introduce a `--rustc` flag to `clippy-driver`, which turns `clippy-driver` | |
635 | into `rustc` and passes all the given arguments to `rustc`. This is especially | |
636 | useful for tools that need the `rustc` version Clippy was compiled with, | |
637 | instead of the Clippy version. E.g. `clippy-driver --rustc --version` will | |
638 | print the output of `rustc --version`. | |
639 | [#5178](https://github.com/rust-lang/rust-clippy/pull/5178) | |
640 | * New issue templates now make it easier to complain if Clippy is too annoying | |
641 | or not annoying enough! [#5735](https://github.com/rust-lang/rust-clippy/pull/5735) | |
642 | ||
643 | ## Rust 1.45 | |
644 | ||
645 | Released 2020-07-16 | |
646 | ||
647 | [891e1a8...7ea7cd1](https://github.com/rust-lang/rust-clippy/compare/891e1a8...7ea7cd1) | |
648 | ||
649 | ### New lints | |
650 | ||
651 | * [`match_wildcard_for_single_variants`] [#5582](https://github.com/rust-lang/rust-clippy/pull/5582) | |
652 | * [`unsafe_derive_deserialize`] [#5493](https://github.com/rust-lang/rust-clippy/pull/5493) | |
653 | * [`if_let_mutex`] [#5332](https://github.com/rust-lang/rust-clippy/pull/5332) | |
654 | * [`mismatched_target_os`] [#5506](https://github.com/rust-lang/rust-clippy/pull/5506) | |
655 | * [`await_holding_lock`] [#5439](https://github.com/rust-lang/rust-clippy/pull/5439) | |
656 | * [`match_on_vec_items`] [#5522](https://github.com/rust-lang/rust-clippy/pull/5522) | |
657 | * [`manual_async_fn`] [#5576](https://github.com/rust-lang/rust-clippy/pull/5576) | |
658 | * [`reversed_empty_ranges`] [#5583](https://github.com/rust-lang/rust-clippy/pull/5583) | |
659 | * [`manual_non_exhaustive`] [#5550](https://github.com/rust-lang/rust-clippy/pull/5550) | |
660 | ||
661 | ### Moves and Deprecations | |
662 | ||
663 | * Downgrade [`match_bool`] to pedantic [#5408](https://github.com/rust-lang/rust-clippy/pull/5408) | |
664 | * Downgrade [`match_wild_err_arm`] to pedantic and update help messages. [#5622](https://github.com/rust-lang/rust-clippy/pull/5622) | |
665 | * Downgrade [`useless_let_if_seq`] to nursery. [#5599](https://github.com/rust-lang/rust-clippy/pull/5599) | |
666 | * Generalize `option_and_then_some` and rename to [`bind_instead_of_map`]. [#5529](https://github.com/rust-lang/rust-clippy/pull/5529) | |
667 | * Rename `identity_conversion` to [`useless_conversion`]. [#5568](https://github.com/rust-lang/rust-clippy/pull/5568) | |
668 | * Merge `block_in_if_condition_expr` and `block_in_if_condition_stmt` into [`blocks_in_if_conditions`]. | |
669 | [#5563](https://github.com/rust-lang/rust-clippy/pull/5563) | |
670 | * Merge `option_map_unwrap_or`, `option_map_unwrap_or_else` and `result_map_unwrap_or_else` into [`map_unwrap_or`]. | |
671 | [#5563](https://github.com/rust-lang/rust-clippy/pull/5563) | |
672 | * Merge `option_unwrap_used` and `result_unwrap_used` into [`unwrap_used`]. | |
673 | [#5563](https://github.com/rust-lang/rust-clippy/pull/5563) | |
674 | * Merge `option_expect_used` and `result_expect_used` into [`expect_used`]. | |
675 | [#5563](https://github.com/rust-lang/rust-clippy/pull/5563) | |
676 | * Merge `for_loop_over_option` and `for_loop_over_result` into [`for_loops_over_fallibles`]. | |
677 | [#5563](https://github.com/rust-lang/rust-clippy/pull/5563) | |
678 | ||
679 | ### Enhancements | |
680 | ||
681 | * Avoid running cargo lints when not enabled to improve performance. [#5505](https://github.com/rust-lang/rust-clippy/pull/5505) | |
682 | * Extend [`useless_conversion`] with `TryFrom` and `TryInto`. [#5631](https://github.com/rust-lang/rust-clippy/pull/5631) | |
683 | * Lint also in type parameters and where clauses in [`unused_unit`]. [#5592](https://github.com/rust-lang/rust-clippy/pull/5592) | |
684 | * Do not suggest deriving `Default` in [`new_without_default`]. [#5616](https://github.com/rust-lang/rust-clippy/pull/5616) | |
685 | ||
686 | ### False Positive Fixes | |
687 | ||
688 | * [`while_let_on_iterator`] [#5525](https://github.com/rust-lang/rust-clippy/pull/5525) | |
689 | * [`empty_line_after_outer_attr`] [#5609](https://github.com/rust-lang/rust-clippy/pull/5609) | |
690 | * [`unnecessary_unwrap`] [#5558](https://github.com/rust-lang/rust-clippy/pull/5558) | |
691 | * [`comparison_chain`] [#5596](https://github.com/rust-lang/rust-clippy/pull/5596) | |
692 | * Don't trigger [`used_underscore_binding`] in await desugaring. [#5535](https://github.com/rust-lang/rust-clippy/pull/5535) | |
693 | * Don't trigger [`borrowed_box`] on mutable references. [#5491](https://github.com/rust-lang/rust-clippy/pull/5491) | |
694 | * Allow `1 << 0` in [`identity_op`]. [#5602](https://github.com/rust-lang/rust-clippy/pull/5602) | |
695 | * Allow `use super::*;` glob imports in [`wildcard_imports`]. [#5564](https://github.com/rust-lang/rust-clippy/pull/5564) | |
696 | * Whitelist more words in [`doc_markdown`]. [#5611](https://github.com/rust-lang/rust-clippy/pull/5611) | |
697 | * Skip dev and build deps in [`multiple_crate_versions`]. [#5636](https://github.com/rust-lang/rust-clippy/pull/5636) | |
698 | * Honor `allow` attribute on arguments in [`ptr_arg`]. [#5647](https://github.com/rust-lang/rust-clippy/pull/5647) | |
699 | * Honor lint level attributes for [`redundant_field_names`], [`just_underscores_and_digits`], [`many_single_char_names`] | |
700 | and [`similar_names`]. [#5651](https://github.com/rust-lang/rust-clippy/pull/5651) | |
701 | * Ignore calls to `len` in [`or_fun_call`]. [#4429](https://github.com/rust-lang/rust-clippy/pull/4429) | |
702 | ||
703 | ### Suggestion Improvements | |
704 | ||
705 | * Simplify suggestions in [`manual_memcpy`]. [#5536](https://github.com/rust-lang/rust-clippy/pull/5536) | |
706 | * Fix suggestion in [`redundant_pattern_matching`] for macros. [#5511](https://github.com/rust-lang/rust-clippy/pull/5511) | |
707 | * Avoid suggesting `copied()` for mutable references in [`map_clone`]. [#5530](https://github.com/rust-lang/rust-clippy/pull/5530) | |
708 | * Improve help message for [`clone_double_ref`]. [#5547](https://github.com/rust-lang/rust-clippy/pull/5547) | |
709 | ||
710 | ### ICE Fixes | |
711 | ||
712 | * Fix ICE caused in unwrap module. [#5590](https://github.com/rust-lang/rust-clippy/pull/5590) | |
713 | * Fix ICE on rustc test issue-69020-assoc-const-arith-overflow.rs [#5499](https://github.com/rust-lang/rust-clippy/pull/5499) | |
714 | ||
715 | ### Documentation | |
716 | ||
717 | * Clarify the documentation of [`unnecessary_mut_passed`]. [#5639](https://github.com/rust-lang/rust-clippy/pull/5639) | |
718 | * Extend example for [`unneeded_field_pattern`]. [#5541](https://github.com/rust-lang/rust-clippy/pull/5541) | |
719 | ||
720 | ## Rust 1.44 | |
721 | ||
722 | Released 2020-06-04 | |
723 | ||
724 | [204bb9b...891e1a8](https://github.com/rust-lang/rust-clippy/compare/204bb9b...891e1a8) | |
725 | ||
726 | ### New lints | |
727 | ||
728 | * [`explicit_deref_methods`] [#5226](https://github.com/rust-lang/rust-clippy/pull/5226) | |
729 | * [`implicit_saturating_sub`] [#5427](https://github.com/rust-lang/rust-clippy/pull/5427) | |
730 | * [`macro_use_imports`] [#5230](https://github.com/rust-lang/rust-clippy/pull/5230) | |
731 | * [`verbose_file_reads`] [#5272](https://github.com/rust-lang/rust-clippy/pull/5272) | |
732 | * [`future_not_send`] [#5423](https://github.com/rust-lang/rust-clippy/pull/5423) | |
733 | * [`redundant_pub_crate`] [#5319](https://github.com/rust-lang/rust-clippy/pull/5319) | |
734 | * [`large_const_arrays`] [#5248](https://github.com/rust-lang/rust-clippy/pull/5248) | |
735 | * [`result_map_or_into_option`] [#5415](https://github.com/rust-lang/rust-clippy/pull/5415) | |
736 | * [`redundant_allocation`] [#5349](https://github.com/rust-lang/rust-clippy/pull/5349) | |
737 | * [`fn_address_comparisons`] [#5294](https://github.com/rust-lang/rust-clippy/pull/5294) | |
738 | * [`vtable_address_comparisons`] [#5294](https://github.com/rust-lang/rust-clippy/pull/5294) | |
739 | ||
740 | ||
741 | ### Moves and Deprecations | |
742 | ||
743 | * Deprecate [`replace_consts`] lint [#5380](https://github.com/rust-lang/rust-clippy/pull/5380) | |
744 | * Move [`cognitive_complexity`] to nursery [#5428](https://github.com/rust-lang/rust-clippy/pull/5428) | |
745 | * Move [`useless_transmute`] to nursery [#5364](https://github.com/rust-lang/rust-clippy/pull/5364) | |
746 | * Downgrade [`inefficient_to_string`] to pedantic [#5412](https://github.com/rust-lang/rust-clippy/pull/5412) | |
747 | * Downgrade [`option_option`] to pedantic [#5401](https://github.com/rust-lang/rust-clippy/pull/5401) | |
748 | * Downgrade [`unreadable_literal`] to pedantic [#5419](https://github.com/rust-lang/rust-clippy/pull/5419) | |
749 | * Downgrade [`let_unit_value`] to pedantic [#5409](https://github.com/rust-lang/rust-clippy/pull/5409) | |
750 | * Downgrade [`trivially_copy_pass_by_ref`] to pedantic [#5410](https://github.com/rust-lang/rust-clippy/pull/5410) | |
751 | * Downgrade [`implicit_hasher`] to pedantic [#5411](https://github.com/rust-lang/rust-clippy/pull/5411) | |
752 | ||
753 | ### Enhancements | |
754 | ||
755 | * On _nightly_ you can now use `cargo clippy --fix -Z unstable-options` to | |
756 | auto-fix lints that support this [#5363](https://github.com/rust-lang/rust-clippy/pull/5363) | |
757 | * Make [`redundant_clone`] also trigger on cases where the cloned value is not | |
758 | consumed. [#5304](https://github.com/rust-lang/rust-clippy/pull/5304) | |
759 | * Expand [`integer_arithmetic`] to also disallow bit-shifting [#5430](https://github.com/rust-lang/rust-clippy/pull/5430) | |
760 | * [`option_as_ref_deref`] now detects more deref cases [#5425](https://github.com/rust-lang/rust-clippy/pull/5425) | |
761 | * [`large_enum_variant`] now report the sizes of the largest and second-largest variants [#5466](https://github.com/rust-lang/rust-clippy/pull/5466) | |
762 | * [`bool_comparison`] now also checks for inequality comparisons that can be | |
763 | written more concisely [#5365](https://github.com/rust-lang/rust-clippy/pull/5365) | |
764 | * Expand [`clone_on_copy`] to work in method call arguments as well [#5441](https://github.com/rust-lang/rust-clippy/pull/5441) | |
765 | * [`redundant_pattern_matching`] now also handles `while let` [#5483](https://github.com/rust-lang/rust-clippy/pull/5483) | |
766 | * [`integer_arithmetic`] now also lints references of integers [#5329](https://github.com/rust-lang/rust-clippy/pull/5329) | |
767 | * Expand [`float_cmp_const`] to also work on arrays [#5345](https://github.com/rust-lang/rust-clippy/pull/5345) | |
768 | * Trigger [`map_flatten`] when map is called on an `Option` [#5473](https://github.com/rust-lang/rust-clippy/pull/5473) | |
769 | ||
770 | ### False Positive Fixes | |
771 | ||
772 | * [`many_single_char_names`] [#5468](https://github.com/rust-lang/rust-clippy/pull/5468) | |
773 | * [`should_implement_trait`] [#5437](https://github.com/rust-lang/rust-clippy/pull/5437) | |
774 | * [`unused_self`] [#5387](https://github.com/rust-lang/rust-clippy/pull/5387) | |
775 | * [`redundant_clone`] [#5453](https://github.com/rust-lang/rust-clippy/pull/5453) | |
776 | * [`precedence`] [#5445](https://github.com/rust-lang/rust-clippy/pull/5445) | |
777 | * [`suspicious_op_assign_impl`] [#5424](https://github.com/rust-lang/rust-clippy/pull/5424) | |
778 | * [`needless_lifetimes`] [#5293](https://github.com/rust-lang/rust-clippy/pull/5293) | |
779 | * [`redundant_pattern`] [#5287](https://github.com/rust-lang/rust-clippy/pull/5287) | |
780 | * [`inconsistent_digit_grouping`] [#5451](https://github.com/rust-lang/rust-clippy/pull/5451) | |
781 | ||
782 | ||
783 | ### Suggestion Improvements | |
784 | ||
785 | * Improved [`question_mark`] lint suggestion so that it doesn't add redundant `as_ref()` [#5481](https://github.com/rust-lang/rust-clippy/pull/5481) | |
786 | * Improve the suggested placeholder in [`option_map_unit_fn`] [#5292](https://github.com/rust-lang/rust-clippy/pull/5292) | |
787 | * Improve suggestion for [`match_single_binding`] when triggered inside a closure [#5350](https://github.com/rust-lang/rust-clippy/pull/5350) | |
788 | ||
789 | ### ICE Fixes | |
790 | ||
791 | * Handle the unstable `trivial_bounds` feature [#5296](https://github.com/rust-lang/rust-clippy/pull/5296) | |
792 | * `shadow_*` lints [#5297](https://github.com/rust-lang/rust-clippy/pull/5297) | |
793 | ||
794 | ### Documentation | |
795 | ||
796 | * Fix documentation generation for configurable lints [#5353](https://github.com/rust-lang/rust-clippy/pull/5353) | |
797 | * Update documentation for [`new_ret_no_self`] [#5448](https://github.com/rust-lang/rust-clippy/pull/5448) | |
798 | * The documentation for [`option_option`] now suggest using a tri-state enum [#5403](https://github.com/rust-lang/rust-clippy/pull/5403) | |
799 | * Fix bit mask example in [`verbose_bit_mask`] documentation [#5454](https://github.com/rust-lang/rust-clippy/pull/5454) | |
800 | * [`wildcard_imports`] documentation now mentions that `use ...::prelude::*` is | |
801 | not linted [#5312](https://github.com/rust-lang/rust-clippy/pull/5312) | |
802 | ||
803 | ## Rust 1.43 | |
804 | ||
805 | Released 2020-04-23 | |
806 | ||
807 | [4ee1206...204bb9b](https://github.com/rust-lang/rust-clippy/compare/4ee1206...204bb9b) | |
808 | ||
809 | ### New lints | |
810 | ||
811 | * [`imprecise_flops`] [#4897](https://github.com/rust-lang/rust-clippy/pull/4897) | |
812 | * [`suboptimal_flops`] [#4897](https://github.com/rust-lang/rust-clippy/pull/4897) | |
813 | * [`wildcard_imports`] [#5029](https://github.com/rust-lang/rust-clippy/pull/5029) | |
814 | * [`single_component_path_imports`] [#5058](https://github.com/rust-lang/rust-clippy/pull/5058) | |
815 | * [`match_single_binding`] [#5061](https://github.com/rust-lang/rust-clippy/pull/5061) | |
816 | * [`let_underscore_lock`] [#5101](https://github.com/rust-lang/rust-clippy/pull/5101) | |
817 | * [`struct_excessive_bools`] [#5125](https://github.com/rust-lang/rust-clippy/pull/5125) | |
818 | * [`fn_params_excessive_bools`] [#5125](https://github.com/rust-lang/rust-clippy/pull/5125) | |
819 | * [`option_env_unwrap`] [#5148](https://github.com/rust-lang/rust-clippy/pull/5148) | |
820 | * [`lossy_float_literal`] [#5202](https://github.com/rust-lang/rust-clippy/pull/5202) | |
821 | * [`rest_pat_in_fully_bound_structs`] [#5258](https://github.com/rust-lang/rust-clippy/pull/5258) | |
822 | ||
823 | ### Moves and Deprecations | |
824 | ||
825 | * Move [`unneeded_field_pattern`] to pedantic group [#5200](https://github.com/rust-lang/rust-clippy/pull/5200) | |
826 | ||
827 | ### Enhancements | |
828 | ||
829 | * Make [`missing_errors_doc`] lint also trigger on `async` functions | |
830 | [#5181](https://github.com/rust-lang/rust-clippy/pull/5181) | |
831 | * Add more constants to [`approx_constant`] [#5193](https://github.com/rust-lang/rust-clippy/pull/5193) | |
832 | * Extend [`question_mark`] lint [#5266](https://github.com/rust-lang/rust-clippy/pull/5266) | |
833 | ||
834 | ### False Positive Fixes | |
835 | ||
836 | * [`use_debug`] [#5047](https://github.com/rust-lang/rust-clippy/pull/5047) | |
837 | * [`unnecessary_unwrap`] [#5132](https://github.com/rust-lang/rust-clippy/pull/5132) | |
838 | * [`zero_prefixed_literal`] [#5170](https://github.com/rust-lang/rust-clippy/pull/5170) | |
839 | * [`missing_const_for_fn`] [#5216](https://github.com/rust-lang/rust-clippy/pull/5216) | |
840 | ||
841 | ### Suggestion Improvements | |
842 | ||
843 | * Improve suggestion when blocks of code are suggested [#5134](https://github.com/rust-lang/rust-clippy/pull/5134) | |
844 | ||
845 | ### ICE Fixes | |
846 | ||
847 | * `misc_early` lints [#5129](https://github.com/rust-lang/rust-clippy/pull/5129) | |
848 | * [`missing_errors_doc`] [#5213](https://github.com/rust-lang/rust-clippy/pull/5213) | |
849 | * Fix ICE when evaluating `usize`s [#5256](https://github.com/rust-lang/rust-clippy/pull/5256) | |
850 | ||
851 | ### Documentation | |
852 | ||
853 | * Improve documentation of [`iter_nth_zero`] | |
854 | * Add documentation pages for stable releases [#5171](https://github.com/rust-lang/rust-clippy/pull/5171) | |
855 | ||
856 | ### Others | |
857 | ||
858 | * Clippy now completely runs on GitHub Actions [#5190](https://github.com/rust-lang/rust-clippy/pull/5190) | |
859 | ||
860 | ||
861 | ## Rust 1.42 | |
862 | ||
863 | Released 2020-03-12 | |
864 | ||
865 | [69f99e7...4ee1206](https://github.com/rust-lang/rust-clippy/compare/69f99e7...4ee1206) | |
866 | ||
867 | ### New lints | |
868 | ||
869 | * [`filetype_is_file`] [#4543](https://github.com/rust-lang/rust-clippy/pull/4543) | |
870 | * [`let_underscore_must_use`] [#4823](https://github.com/rust-lang/rust-clippy/pull/4823) | |
871 | * [`modulo_arithmetic`] [#4867](https://github.com/rust-lang/rust-clippy/pull/4867) | |
872 | * [`mem_replace_with_default`] [#4881](https://github.com/rust-lang/rust-clippy/pull/4881) | |
873 | * [`mutable_key_type`] [#4885](https://github.com/rust-lang/rust-clippy/pull/4885) | |
874 | * [`option_as_ref_deref`] [#4945](https://github.com/rust-lang/rust-clippy/pull/4945) | |
875 | * [`wildcard_in_or_patterns`] [#4960](https://github.com/rust-lang/rust-clippy/pull/4960) | |
876 | * [`iter_nth_zero`] [#4966](https://github.com/rust-lang/rust-clippy/pull/4966) | |
877 | * [`invalid_atomic_ordering`] [#4999](https://github.com/rust-lang/rust-clippy/pull/4999) | |
878 | * [`skip_while_next`] [#5067](https://github.com/rust-lang/rust-clippy/pull/5067) | |
879 | ||
880 | ### Moves and Deprecations | |
881 | ||
882 | * Move [`transmute_float_to_int`] from nursery to complexity group | |
883 | [#5015](https://github.com/rust-lang/rust-clippy/pull/5015) | |
884 | * Move [`range_plus_one`] to pedantic group [#5057](https://github.com/rust-lang/rust-clippy/pull/5057) | |
885 | * Move [`debug_assert_with_mut_call`] to nursery group [#5106](https://github.com/rust-lang/rust-clippy/pull/5106) | |
886 | * Deprecate [`unused_label`] [#4930](https://github.com/rust-lang/rust-clippy/pull/4930) | |
887 | ||
888 | ### Enhancements | |
889 | ||
890 | * Lint vectored IO in [`unused_io_amount`] [#5027](https://github.com/rust-lang/rust-clippy/pull/5027) | |
891 | * Make [`vec_box`] configurable by adding a size threshold [#5081](https://github.com/rust-lang/rust-clippy/pull/5081) | |
892 | * Also lint constants in [`cmp_nan`] [#4910](https://github.com/rust-lang/rust-clippy/pull/4910) | |
893 | * Fix false negative in [`expect_fun_call`] [#4915](https://github.com/rust-lang/rust-clippy/pull/4915) | |
894 | * Fix false negative in [`redundant_clone`] [#5017](https://github.com/rust-lang/rust-clippy/pull/5017) | |
895 | ||
896 | ### False Positive Fixes | |
897 | ||
898 | * [`map_clone`] [#4937](https://github.com/rust-lang/rust-clippy/pull/4937) | |
899 | * [`replace_consts`] [#4977](https://github.com/rust-lang/rust-clippy/pull/4977) | |
900 | * [`let_and_return`] [#5008](https://github.com/rust-lang/rust-clippy/pull/5008) | |
901 | * [`eq_op`] [#5079](https://github.com/rust-lang/rust-clippy/pull/5079) | |
902 | * [`possible_missing_comma`] [#5083](https://github.com/rust-lang/rust-clippy/pull/5083) | |
903 | * [`debug_assert_with_mut_call`] [#5106](https://github.com/rust-lang/rust-clippy/pull/5106) | |
904 | * Don't trigger [`let_underscore_must_use`] in external macros | |
905 | [#5082](https://github.com/rust-lang/rust-clippy/pull/5082) | |
906 | * Don't trigger [`empty_loop`] in `no_std` crates [#5086](https://github.com/rust-lang/rust-clippy/pull/5086) | |
907 | ||
908 | ### Suggestion Improvements | |
909 | ||
910 | * `option_map_unwrap_or` [#4634](https://github.com/rust-lang/rust-clippy/pull/4634) | |
911 | * [`wildcard_enum_match_arm`] [#4934](https://github.com/rust-lang/rust-clippy/pull/4934) | |
912 | * [`cognitive_complexity`] [#4935](https://github.com/rust-lang/rust-clippy/pull/4935) | |
913 | * [`decimal_literal_representation`] [#4956](https://github.com/rust-lang/rust-clippy/pull/4956) | |
914 | * [`unknown_clippy_lints`] [#4963](https://github.com/rust-lang/rust-clippy/pull/4963) | |
915 | * [`explicit_into_iter_loop`] [#4978](https://github.com/rust-lang/rust-clippy/pull/4978) | |
916 | * [`useless_attribute`] [#5022](https://github.com/rust-lang/rust-clippy/pull/5022) | |
917 | * [`if_let_some_result`] [#5032](https://github.com/rust-lang/rust-clippy/pull/5032) | |
918 | ||
919 | ### ICE fixes | |
920 | ||
921 | * [`unsound_collection_transmute`] [#4975](https://github.com/rust-lang/rust-clippy/pull/4975) | |
922 | ||
923 | ### Documentation | |
924 | ||
925 | * Improve documentation of [`empty_enum`], [`replace_consts`], [`redundant_clone`], and [`iterator_step_by_zero`] | |
926 | ||
927 | ||
928 | ## Rust 1.41 | |
929 | ||
930 | Released 2020-01-30 | |
931 | ||
932 | [c8e3cfb...69f99e7](https://github.com/rust-lang/rust-clippy/compare/c8e3cfb...69f99e7) | |
933 | ||
934 | * New Lints: | |
935 | * [`exit`] [#4697](https://github.com/rust-lang/rust-clippy/pull/4697) | |
936 | * [`to_digit_is_some`] [#4801](https://github.com/rust-lang/rust-clippy/pull/4801) | |
937 | * [`tabs_in_doc_comments`] [#4806](https://github.com/rust-lang/rust-clippy/pull/4806) | |
938 | * [`large_stack_arrays`] [#4807](https://github.com/rust-lang/rust-clippy/pull/4807) | |
939 | * [`same_functions_in_if_condition`] [#4814](https://github.com/rust-lang/rust-clippy/pull/4814) | |
940 | * [`zst_offset`] [#4816](https://github.com/rust-lang/rust-clippy/pull/4816) | |
941 | * [`as_conversions`] [#4821](https://github.com/rust-lang/rust-clippy/pull/4821) | |
942 | * [`missing_errors_doc`] [#4884](https://github.com/rust-lang/rust-clippy/pull/4884) | |
943 | * [`transmute_float_to_int`] [#4889](https://github.com/rust-lang/rust-clippy/pull/4889) | |
944 | * Remove plugin interface, see | |
945 | [Inside Rust Blog](https://blog.rust-lang.org/inside-rust/2019/11/04/Clippy-removes-plugin-interface.html) for | |
946 | details [#4714](https://github.com/rust-lang/rust-clippy/pull/4714) | |
947 | * Move [`use_self`] to nursery group [#4863](https://github.com/rust-lang/rust-clippy/pull/4863) | |
948 | * Deprecate [`into_iter_on_array`] [#4788](https://github.com/rust-lang/rust-clippy/pull/4788) | |
949 | * Expand [`string_lit_as_bytes`] to also trigger when literal has escapes | |
950 | [#4808](https://github.com/rust-lang/rust-clippy/pull/4808) | |
951 | * Fix false positive in `comparison_chain` [#4842](https://github.com/rust-lang/rust-clippy/pull/4842) | |
952 | * Fix false positive in `while_immutable_condition` [#4730](https://github.com/rust-lang/rust-clippy/pull/4730) | |
953 | * Fix false positive in `explicit_counter_loop` [#4803](https://github.com/rust-lang/rust-clippy/pull/4803) | |
954 | * Fix false positive in `must_use_candidate` [#4794](https://github.com/rust-lang/rust-clippy/pull/4794) | |
955 | * Fix false positive in `print_with_newline` and `write_with_newline` | |
956 | [#4769](https://github.com/rust-lang/rust-clippy/pull/4769) | |
957 | * Fix false positive in `derive_hash_xor_eq` [#4766](https://github.com/rust-lang/rust-clippy/pull/4766) | |
958 | * Fix false positive in `missing_inline_in_public_items` [#4870](https://github.com/rust-lang/rust-clippy/pull/4870) | |
959 | * Fix false positive in `string_add` [#4880](https://github.com/rust-lang/rust-clippy/pull/4880) | |
960 | * Fix false positive in `float_arithmetic` [#4851](https://github.com/rust-lang/rust-clippy/pull/4851) | |
961 | * Fix false positive in `cast_sign_loss` [#4883](https://github.com/rust-lang/rust-clippy/pull/4883) | |
962 | * Fix false positive in `manual_swap` [#4877](https://github.com/rust-lang/rust-clippy/pull/4877) | |
963 | * Fix ICEs occurring while checking some block expressions [#4772](https://github.com/rust-lang/rust-clippy/pull/4772) | |
964 | * Fix ICE in `use_self` [#4776](https://github.com/rust-lang/rust-clippy/pull/4776) | |
965 | * Fix ICEs related to `const_generics` [#4780](https://github.com/rust-lang/rust-clippy/pull/4780) | |
966 | * Display help when running `clippy-driver` without arguments, instead of ICEing | |
967 | [#4810](https://github.com/rust-lang/rust-clippy/pull/4810) | |
968 | * Clippy has its own ICE message now [#4588](https://github.com/rust-lang/rust-clippy/pull/4588) | |
969 | * Show deprecated lints in the documentation again [#4757](https://github.com/rust-lang/rust-clippy/pull/4757) | |
970 | * Improve Documentation by adding positive examples to some lints | |
971 | [#4832](https://github.com/rust-lang/rust-clippy/pull/4832) | |
972 | ||
973 | ## Rust 1.40 | |
974 | ||
975 | Released 2019-12-19 | |
976 | ||
977 | [4e7e71b...c8e3cfb](https://github.com/rust-lang/rust-clippy/compare/4e7e71b...c8e3cfb) | |
978 | ||
979 | * New Lints: | |
980 | * [`unneeded_wildcard_pattern`] [#4537](https://github.com/rust-lang/rust-clippy/pull/4537) | |
981 | * [`needless_doctest_main`] [#4603](https://github.com/rust-lang/rust-clippy/pull/4603) | |
982 | * [`suspicious_unary_op_formatting`] [#4615](https://github.com/rust-lang/rust-clippy/pull/4615) | |
983 | * [`debug_assert_with_mut_call`] [#4680](https://github.com/rust-lang/rust-clippy/pull/4680) | |
984 | * [`unused_self`] [#4619](https://github.com/rust-lang/rust-clippy/pull/4619) | |
985 | * [`inefficient_to_string`] [#4683](https://github.com/rust-lang/rust-clippy/pull/4683) | |
986 | * [`must_use_unit`] [#4560](https://github.com/rust-lang/rust-clippy/pull/4560) | |
987 | * [`must_use_candidate`] [#4560](https://github.com/rust-lang/rust-clippy/pull/4560) | |
988 | * [`double_must_use`] [#4560](https://github.com/rust-lang/rust-clippy/pull/4560) | |
989 | * [`comparison_chain`] [#4569](https://github.com/rust-lang/rust-clippy/pull/4569) | |
990 | * [`unsound_collection_transmute`] [#4592](https://github.com/rust-lang/rust-clippy/pull/4592) | |
991 | * [`panic`] [#4657](https://github.com/rust-lang/rust-clippy/pull/4657) | |
992 | * [`unreachable`] [#4657](https://github.com/rust-lang/rust-clippy/pull/4657) | |
993 | * [`todo`] [#4657](https://github.com/rust-lang/rust-clippy/pull/4657) | |
994 | * `option_expect_used` [#4657](https://github.com/rust-lang/rust-clippy/pull/4657) | |
995 | * `result_expect_used` [#4657](https://github.com/rust-lang/rust-clippy/pull/4657) | |
996 | * Move `redundant_clone` to perf group [#4509](https://github.com/rust-lang/rust-clippy/pull/4509) | |
997 | * Move `manual_mul_add` to nursery group [#4736](https://github.com/rust-lang/rust-clippy/pull/4736) | |
998 | * Expand `unit_cmp` to also work with `assert_eq!`, `debug_assert_eq!`, `assert_ne!` and `debug_assert_ne!` [#4613](https://github.com/rust-lang/rust-clippy/pull/4613) | |
999 | * Expand `integer_arithmetic` to also detect mutating arithmetic like `+=` [#4585](https://github.com/rust-lang/rust-clippy/pull/4585) | |
1000 | * Fix false positive in `nonminimal_bool` [#4568](https://github.com/rust-lang/rust-clippy/pull/4568) | |
1001 | * Fix false positive in `missing_safety_doc` [#4611](https://github.com/rust-lang/rust-clippy/pull/4611) | |
1002 | * Fix false positive in `cast_sign_loss` [#4614](https://github.com/rust-lang/rust-clippy/pull/4614) | |
1003 | * Fix false positive in `redundant_clone` [#4509](https://github.com/rust-lang/rust-clippy/pull/4509) | |
1004 | * Fix false positive in `try_err` [#4721](https://github.com/rust-lang/rust-clippy/pull/4721) | |
1005 | * Fix false positive in `toplevel_ref_arg` [#4570](https://github.com/rust-lang/rust-clippy/pull/4570) | |
1006 | * Fix false positive in `multiple_inherent_impl` [#4593](https://github.com/rust-lang/rust-clippy/pull/4593) | |
1007 | * Improve more suggestions and tests in preparation for the unstable `cargo fix --clippy` [#4575](https://github.com/rust-lang/rust-clippy/pull/4575) | |
1008 | * Improve suggestion for `zero_ptr` [#4599](https://github.com/rust-lang/rust-clippy/pull/4599) | |
1009 | * Improve suggestion for `explicit_counter_loop` [#4691](https://github.com/rust-lang/rust-clippy/pull/4691) | |
1010 | * Improve suggestion for `mul_add` [#4602](https://github.com/rust-lang/rust-clippy/pull/4602) | |
1011 | * Improve suggestion for `assertions_on_constants` [#4635](https://github.com/rust-lang/rust-clippy/pull/4635) | |
1012 | * Fix ICE in `use_self` [#4671](https://github.com/rust-lang/rust-clippy/pull/4671) | |
1013 | * Fix ICE when encountering const casts [#4590](https://github.com/rust-lang/rust-clippy/pull/4590) | |
1014 | ||
1015 | ## Rust 1.39 | |
1016 | ||
1017 | Released 2019-11-07 | |
1018 | ||
1019 | [3aea860...4e7e71b](https://github.com/rust-lang/rust-clippy/compare/3aea860...4e7e71b) | |
1020 | ||
1021 | * New Lints: | |
1022 | * [`uninit_assumed_init`] [#4479](https://github.com/rust-lang/rust-clippy/pull/4479) | |
1023 | * [`flat_map_identity`] [#4231](https://github.com/rust-lang/rust-clippy/pull/4231) | |
1024 | * [`missing_safety_doc`] [#4535](https://github.com/rust-lang/rust-clippy/pull/4535) | |
1025 | * [`mem_replace_with_uninit`] [#4511](https://github.com/rust-lang/rust-clippy/pull/4511) | |
1026 | * [`suspicious_map`] [#4394](https://github.com/rust-lang/rust-clippy/pull/4394) | |
1027 | * `option_and_then_some` [#4386](https://github.com/rust-lang/rust-clippy/pull/4386) | |
1028 | * [`manual_saturating_arithmetic`] [#4498](https://github.com/rust-lang/rust-clippy/pull/4498) | |
1029 | * Deprecate `unused_collect` lint. This is fully covered by rustc's `#[must_use]` on `collect` [#4348](https://github.com/rust-lang/rust-clippy/pull/4348) | |
1030 | * Move `type_repetition_in_bounds` to pedantic group [#4403](https://github.com/rust-lang/rust-clippy/pull/4403) | |
1031 | * Move `cast_lossless` to pedantic group [#4539](https://github.com/rust-lang/rust-clippy/pull/4539) | |
1032 | * `temporary_cstring_as_ptr` now catches more cases [#4425](https://github.com/rust-lang/rust-clippy/pull/4425) | |
1033 | * `use_self` now works in constructors, too [#4525](https://github.com/rust-lang/rust-clippy/pull/4525) | |
1034 | * `cargo_common_metadata` now checks for license files [#4518](https://github.com/rust-lang/rust-clippy/pull/4518) | |
1035 | * `cognitive_complexity` now includes the measured complexity in the warning message [#4469](https://github.com/rust-lang/rust-clippy/pull/4469) | |
1036 | * Fix false positives in `block_in_if_*` lints [#4458](https://github.com/rust-lang/rust-clippy/pull/4458) | |
1037 | * Fix false positive in `cast_lossless` [#4473](https://github.com/rust-lang/rust-clippy/pull/4473) | |
1038 | * Fix false positive in `clone_on_copy` [#4411](https://github.com/rust-lang/rust-clippy/pull/4411) | |
1039 | * Fix false positive in `deref_addrof` [#4487](https://github.com/rust-lang/rust-clippy/pull/4487) | |
1040 | * Fix false positive in `too_many_lines` [#4490](https://github.com/rust-lang/rust-clippy/pull/4490) | |
1041 | * Fix false positive in `new_ret_no_self` [#4365](https://github.com/rust-lang/rust-clippy/pull/4365) | |
1042 | * Fix false positive in `manual_swap` [#4478](https://github.com/rust-lang/rust-clippy/pull/4478) | |
1043 | * Fix false positive in `missing_const_for_fn` [#4450](https://github.com/rust-lang/rust-clippy/pull/4450) | |
1044 | * Fix false positive in `extra_unused_lifetimes` [#4477](https://github.com/rust-lang/rust-clippy/pull/4477) | |
1045 | * Fix false positive in `inherent_to_string` [#4460](https://github.com/rust-lang/rust-clippy/pull/4460) | |
1046 | * Fix false positive in `map_entry` [#4495](https://github.com/rust-lang/rust-clippy/pull/4495) | |
1047 | * Fix false positive in `unused_unit` [#4445](https://github.com/rust-lang/rust-clippy/pull/4445) | |
1048 | * Fix false positive in `redundant_pattern` [#4489](https://github.com/rust-lang/rust-clippy/pull/4489) | |
1049 | * Fix false positive in `wrong_self_convention` [#4369](https://github.com/rust-lang/rust-clippy/pull/4369) | |
1050 | * Improve various suggestions and tests in preparation for the unstable `cargo fix --clippy` [#4558](https://github.com/rust-lang/rust-clippy/pull/4558) | |
1051 | * Improve suggestions for `redundant_pattern_matching` [#4352](https://github.com/rust-lang/rust-clippy/pull/4352) | |
1052 | * Improve suggestions for `explicit_write` [#4544](https://github.com/rust-lang/rust-clippy/pull/4544) | |
1053 | * Improve suggestion for `or_fun_call` [#4522](https://github.com/rust-lang/rust-clippy/pull/4522) | |
1054 | * Improve suggestion for `match_as_ref` [#4446](https://github.com/rust-lang/rust-clippy/pull/4446) | |
1055 | * Improve suggestion for `unnecessary_fold_span` [#4382](https://github.com/rust-lang/rust-clippy/pull/4382) | |
1056 | * Add suggestions for `unseparated_literal_suffix` [#4401](https://github.com/rust-lang/rust-clippy/pull/4401) | |
1057 | * Add suggestions for `char_lit_as_u8` [#4418](https://github.com/rust-lang/rust-clippy/pull/4418) | |
1058 | ||
1059 | ## Rust 1.38 | |
1060 | ||
1061 | Released 2019-09-26 | |
1062 | ||
1063 | [e3cb40e...3aea860](https://github.com/rust-lang/rust-clippy/compare/e3cb40e...3aea860) | |
1064 | ||
1065 | * New Lints: | |
1066 | * [`main_recursion`] [#4203](https://github.com/rust-lang/rust-clippy/pull/4203) | |
1067 | * [`inherent_to_string`] [#4259](https://github.com/rust-lang/rust-clippy/pull/4259) | |
1068 | * [`inherent_to_string_shadow_display`] [#4259](https://github.com/rust-lang/rust-clippy/pull/4259) | |
1069 | * [`type_repetition_in_bounds`] [#3766](https://github.com/rust-lang/rust-clippy/pull/3766) | |
1070 | * [`try_err`] [#4222](https://github.com/rust-lang/rust-clippy/pull/4222) | |
1071 | * Move `{unnnecessary,panicking}_unwrap` out of nursery [#4307](https://github.com/rust-lang/rust-clippy/pull/4307) | |
1072 | * Extend the `use_self` lint to suggest uses of `Self::Variant` [#4308](https://github.com/rust-lang/rust-clippy/pull/4308) | |
1073 | * Improve suggestion for needless return [#4262](https://github.com/rust-lang/rust-clippy/pull/4262) | |
1074 | * Add auto-fixable suggestion for `let_unit` [#4337](https://github.com/rust-lang/rust-clippy/pull/4337) | |
1075 | * Fix false positive in `pub_enum_variant_names` and `enum_variant_names` [#4345](https://github.com/rust-lang/rust-clippy/pull/4345) | |
1076 | * Fix false positive in `cast_ptr_alignment` [#4257](https://github.com/rust-lang/rust-clippy/pull/4257) | |
1077 | * Fix false positive in `string_lit_as_bytes` [#4233](https://github.com/rust-lang/rust-clippy/pull/4233) | |
1078 | * Fix false positive in `needless_lifetimes` [#4266](https://github.com/rust-lang/rust-clippy/pull/4266) | |
1079 | * Fix false positive in `float_cmp` [#4275](https://github.com/rust-lang/rust-clippy/pull/4275) | |
1080 | * Fix false positives in `needless_return` [#4274](https://github.com/rust-lang/rust-clippy/pull/4274) | |
1081 | * Fix false negative in `match_same_arms` [#4246](https://github.com/rust-lang/rust-clippy/pull/4246) | |
1082 | * Fix incorrect suggestion for `needless_bool` [#4335](https://github.com/rust-lang/rust-clippy/pull/4335) | |
1083 | * Improve suggestion for `cast_ptr_alignment` [#4257](https://github.com/rust-lang/rust-clippy/pull/4257) | |
1084 | * Improve suggestion for `single_char_literal` [#4361](https://github.com/rust-lang/rust-clippy/pull/4361) | |
1085 | * Improve suggestion for `len_zero` [#4314](https://github.com/rust-lang/rust-clippy/pull/4314) | |
1086 | * Fix ICE in `implicit_hasher` [#4268](https://github.com/rust-lang/rust-clippy/pull/4268) | |
1087 | * Fix allow bug in `trivially_copy_pass_by_ref` [#4250](https://github.com/rust-lang/rust-clippy/pull/4250) | |
1088 | ||
1089 | ## Rust 1.37 | |
1090 | ||
1091 | Released 2019-08-15 | |
1092 | ||
1093 | [082cfa7...e3cb40e](https://github.com/rust-lang/rust-clippy/compare/082cfa7...e3cb40e) | |
1094 | ||
1095 | * New Lints: | |
1096 | * [`checked_conversions`] [#4088](https://github.com/rust-lang/rust-clippy/pull/4088) | |
1097 | * [`get_last_with_len`] [#3832](https://github.com/rust-lang/rust-clippy/pull/3832) | |
1098 | * [`integer_division`] [#4195](https://github.com/rust-lang/rust-clippy/pull/4195) | |
1099 | * Renamed Lint: `const_static_lifetime` is now called [`redundant_static_lifetimes`]. | |
1100 | The lint now covers statics in addition to consts [#4162](https://github.com/rust-lang/rust-clippy/pull/4162) | |
1101 | * [`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) | |
1102 | * [`needless_return`] now works with void functions [#4220](https://github.com/rust-lang/rust-clippy/pull/4220) | |
1103 | * Fix false positive in [`redundant_closure`] [#4190](https://github.com/rust-lang/rust-clippy/pull/4190) | |
1104 | * Fix false positive in [`useless_attribute`] [#4107](https://github.com/rust-lang/rust-clippy/pull/4107) | |
1105 | * Fix incorrect suggestion for [`float_cmp`] [#4214](https://github.com/rust-lang/rust-clippy/pull/4214) | |
1106 | * Add suggestions for [`print_with_newline`] and [`write_with_newline`] [#4136](https://github.com/rust-lang/rust-clippy/pull/4136) | |
1107 | * Improve suggestions for `option_map_unwrap_or_else` and `result_map_unwrap_or_else` [#4164](https://github.com/rust-lang/rust-clippy/pull/4164) | |
1108 | * Improve suggestions for [`non_ascii_literal`] [#4119](https://github.com/rust-lang/rust-clippy/pull/4119) | |
1109 | * Improve diagnostics for [`let_and_return`] [#4137](https://github.com/rust-lang/rust-clippy/pull/4137) | |
1110 | * Improve diagnostics for [`trivially_copy_pass_by_ref`] [#4071](https://github.com/rust-lang/rust-clippy/pull/4071) | |
1111 | * Add macro check for [`unreadable_literal`] [#4099](https://github.com/rust-lang/rust-clippy/pull/4099) | |
1112 | ||
1113 | ## Rust 1.36 | |
1114 | ||
1115 | Released 2019-07-04 | |
1116 | ||
1117 | [eb9f9b1...082cfa7](https://github.com/rust-lang/rust-clippy/compare/eb9f9b1...082cfa7) | |
1118 | ||
1119 | * New lints: [`find_map`], [`filter_map_next`] [#4039](https://github.com/rust-lang/rust-clippy/pull/4039) | |
1120 | * New lint: [`path_buf_push_overwrite`] [#3954](https://github.com/rust-lang/rust-clippy/pull/3954) | |
1121 | * Move `path_buf_push_overwrite` to the nursery [#4013](https://github.com/rust-lang/rust-clippy/pull/4013) | |
1122 | * Split [`redundant_closure`] into [`redundant_closure`] and [`redundant_closure_for_method_calls`] [#4110](https://github.com/rust-lang/rust-clippy/pull/4101) | |
1123 | * Allow allowing of [`toplevel_ref_arg`] lint [#4007](https://github.com/rust-lang/rust-clippy/pull/4007) | |
1124 | * Fix false negative in [`or_fun_call`] pertaining to nested constructors [#4084](https://github.com/rust-lang/rust-clippy/pull/4084) | |
1125 | * Fix false positive in [`or_fun_call`] pertaining to enum variant constructors [#4018](https://github.com/rust-lang/rust-clippy/pull/4018) | |
1126 | * Fix false positive in [`useless_let_if_seq`] pertaining to interior mutability [#4035](https://github.com/rust-lang/rust-clippy/pull/4035) | |
1127 | * Fix false positive in [`redundant_closure`] pertaining to non-function types [#4008](https://github.com/rust-lang/rust-clippy/pull/4008) | |
1128 | * Fix false positive in [`let_and_return`] pertaining to attributes on `let`s [#4024](https://github.com/rust-lang/rust-clippy/pull/4024) | |
1129 | * Fix false positive in [`module_name_repetitions`] lint pertaining to attributes [#4006](https://github.com/rust-lang/rust-clippy/pull/4006) | |
1130 | * Fix false positive on [`assertions_on_constants`] pertaining to `debug_assert!` [#3989](https://github.com/rust-lang/rust-clippy/pull/3989) | |
1131 | * 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) | |
1132 | * Improve suggestion for [`search_is_some`] [#4049](https://github.com/rust-lang/rust-clippy/pull/4049) | |
1133 | * Improve suggestion applicability for [`naive_bytecount`] [#3984](https://github.com/rust-lang/rust-clippy/pull/3984) | |
1134 | * Improve suggestion applicability for [`while_let_loop`] [#3975](https://github.com/rust-lang/rust-clippy/pull/3975) | |
1135 | * Improve diagnostics for [`too_many_arguments`] [#4053](https://github.com/rust-lang/rust-clippy/pull/4053) | |
1136 | * Improve diagnostics for [`cast_lossless`] [#4021](https://github.com/rust-lang/rust-clippy/pull/4021) | |
1137 | * Deal with macro checks in desugarings better [#4082](https://github.com/rust-lang/rust-clippy/pull/4082) | |
1138 | * Add macro check for [`unnecessary_cast`] [#4026](https://github.com/rust-lang/rust-clippy/pull/4026) | |
1139 | * Remove [`approx_constant`]'s documentation's "Known problems" section. [#4027](https://github.com/rust-lang/rust-clippy/pull/4027) | |
1140 | * Fix ICE in [`suspicious_else_formatting`] [#3960](https://github.com/rust-lang/rust-clippy/pull/3960) | |
1141 | * Fix ICE in [`decimal_literal_representation`] [#3931](https://github.com/rust-lang/rust-clippy/pull/3931) | |
1142 | ||
1143 | ||
1144 | ## Rust 1.35 | |
1145 | ||
1146 | Released 2019-05-20 | |
1147 | ||
1148 | [1fac380..37f5c1e](https://github.com/rust-lang/rust-clippy/compare/1fac380...37f5c1e) | |
1149 | ||
1150 | * New lint: [`drop_bounds`] to detect `T: Drop` bounds | |
1151 | * Split [`redundant_closure`] into [`redundant_closure`] and [`redundant_closure_for_method_calls`] [#4110](https://github.com/rust-lang/rust-clippy/pull/4101) | |
1152 | * Rename `cyclomatic_complexity` to [`cognitive_complexity`], start work on making lint more practical for Rust code | |
1153 | * Move [`get_unwrap`] to the restriction category | |
1154 | * Improve suggestions for [`iter_cloned_collect`] | |
1155 | * Improve suggestions for [`cast_lossless`] to suggest suffixed literals | |
1156 | * Fix false positives in [`print_with_newline`] and [`write_with_newline`] pertaining to raw strings | |
1157 | * Fix false positive in [`needless_range_loop`] pertaining to structs without a `.iter()` | |
1158 | * Fix false positive in [`bool_comparison`] pertaining to non-bool types | |
1159 | * Fix false positive in [`redundant_closure`] pertaining to differences in borrows | |
1160 | * Fix false positive in `option_map_unwrap_or` on non-copy types | |
1161 | * Fix false positives in [`missing_const_for_fn`] pertaining to macros and trait method impls | |
1162 | * Fix false positive in [`needless_pass_by_value`] pertaining to procedural macros | |
1163 | * Fix false positive in [`needless_continue`] pertaining to loop labels | |
1164 | * Fix false positive for [`boxed_local`] pertaining to arguments moved into closures | |
1165 | * Fix false positive for [`use_self`] in nested functions | |
1166 | * Fix suggestion for [`expect_fun_call`] (https://github.com/rust-lang/rust-clippy/pull/3846) | |
1167 | * Fix suggestion for [`explicit_counter_loop`] to deal with parenthesizing range variables | |
1168 | * Fix suggestion for [`single_char_pattern`] to correctly escape single quotes | |
1169 | * Avoid triggering [`redundant_closure`] in macros | |
1170 | * 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) | |
1171 | ||
1172 | ## Rust 1.34 | |
1173 | ||
1174 | Released 2019-04-10 | |
1175 | ||
1176 | [1b89724...1fac380](https://github.com/rust-lang/rust-clippy/compare/1b89724...1fac380) | |
1177 | ||
1178 | * New lint: [`assertions_on_constants`] to detect for example `assert!(true)` | |
1179 | * New lint: [`dbg_macro`] to detect uses of the `dbg!` macro | |
1180 | * New lint: [`missing_const_for_fn`] that can suggest functions to be made `const` | |
1181 | * New lint: [`too_many_lines`] to detect functions with excessive LOC. It can be | |
1182 | configured using the `too-many-lines-threshold` configuration. | |
1183 | * New lint: [`wildcard_enum_match_arm`] to check for wildcard enum matches using `_` | |
1184 | * Expand `redundant_closure` to also work for methods (not only functions) | |
1185 | * Fix ICEs in `vec_box`, `needless_pass_by_value` and `implicit_hasher` | |
1186 | * Fix false positive in `cast_sign_loss` | |
1187 | * Fix false positive in `integer_arithmetic` | |
1188 | * Fix false positive in `unit_arg` | |
1189 | * Fix false positives in `implicit_return` | |
1190 | * Add suggestion to `explicit_write` | |
1191 | * Improve suggestions for `question_mark` lint | |
1192 | * Fix incorrect suggestion for `cast_lossless` | |
1193 | * Fix incorrect suggestion for `expect_fun_call` | |
1194 | * Fix incorrect suggestion for `needless_bool` | |
1195 | * Fix incorrect suggestion for `needless_range_loop` | |
1196 | * Fix incorrect suggestion for `use_self` | |
1197 | * Fix incorrect suggestion for `while_let_on_iterator` | |
1198 | * Clippy is now slightly easier to invoke in non-cargo contexts. See | |
1199 | [#3665][pull3665] for more details. | |
1200 | * We now have [improved documentation][adding_lints] on how to add new lints | |
1201 | ||
1202 | ## Rust 1.33 | |
1203 | ||
1204 | Released 2019-02-26 | |
1205 | ||
1206 | [b2601be...1b89724](https://github.com/rust-lang/rust-clippy/compare/b2601be...1b89724) | |
1207 | ||
1208 | * New lints: [`implicit_return`], [`vec_box`], [`cast_ref_to_mut`] | |
1209 | * The `rust-clippy` repository is now part of the `rust-lang` org. | |
1210 | * Rename `stutter` to `module_name_repetitions` | |
1211 | * Merge `new_without_default_derive` into `new_without_default` lint | |
1212 | * Move `large_digit_groups` from `style` group to `pedantic` | |
1213 | * Expand `bool_comparison` to check for `<`, `<=`, `>`, `>=`, and `!=` | |
1214 | comparisons against booleans | |
1215 | * Expand `no_effect` to detect writes to constants such as `A_CONST.field = 2` | |
1216 | * Expand `redundant_clone` to work on struct fields | |
1217 | * Expand `suspicious_else_formatting` to detect `if .. {..} {..}` | |
1218 | * Expand `use_self` to work on tuple structs and also in local macros | |
1219 | * Fix ICE in `result_map_unit_fn` and `option_map_unit_fn` | |
1220 | * Fix false positives in `implicit_return` | |
1221 | * Fix false positives in `use_self` | |
1222 | * Fix false negative in `clone_on_copy` | |
1223 | * Fix false positive in `doc_markdown` | |
1224 | * Fix false positive in `empty_loop` | |
1225 | * Fix false positive in `if_same_then_else` | |
1226 | * Fix false positive in `infinite_iter` | |
1227 | * Fix false positive in `question_mark` | |
1228 | * Fix false positive in `useless_asref` | |
1229 | * Fix false positive in `wildcard_dependencies` | |
1230 | * Fix false positive in `write_with_newline` | |
1231 | * Add suggestion to `explicit_write` | |
1232 | * Improve suggestions for `question_mark` lint | |
1233 | * Fix incorrect suggestion for `get_unwrap` | |
1234 | ||
1235 | ## Rust 1.32 | |
1236 | ||
1237 | Released 2019-01-17 | |
1238 | ||
1239 | [2e26fdc2...b2601be](https://github.com/rust-lang/rust-clippy/compare/2e26fdc2...b2601be) | |
1240 | ||
1241 | * New lints: [`slow_vector_initialization`], [`mem_discriminant_non_enum`], | |
1242 | [`redundant_clone`], [`wildcard_dependencies`], | |
1243 | [`into_iter_on_ref`], [`into_iter_on_array`], [`deprecated_cfg_attr`], | |
1244 | [`mem_discriminant_non_enum`], [`cargo_common_metadata`] | |
1245 | * Add support for `u128` and `i128` to integer related lints | |
1246 | * Add float support to `mistyped_literal_suffixes` | |
1247 | * Fix false positives in `use_self` | |
1248 | * Fix false positives in `missing_comma` | |
1249 | * Fix false positives in `new_ret_no_self` | |
1250 | * Fix false positives in `possible_missing_comma` | |
1251 | * Fix false positive in `integer_arithmetic` in constant items | |
1252 | * Fix false positive in `needless_borrow` | |
1253 | * Fix false positive in `out_of_bounds_indexing` | |
1254 | * Fix false positive in `new_without_default_derive` | |
1255 | * Fix false positive in `string_lit_as_bytes` | |
1256 | * Fix false negative in `out_of_bounds_indexing` | |
1257 | * Fix false negative in `use_self`. It will now also check existential types | |
1258 | * Fix incorrect suggestion for `redundant_closure_call` | |
1259 | * Fix various suggestions that contained expanded macros | |
1260 | * Fix `bool_comparison` triggering 3 times on on on the same code | |
1261 | * Expand `trivially_copy_pass_by_ref` to work on trait methods | |
1262 | * Improve suggestion for `needless_range_loop` | |
1263 | * Move `needless_pass_by_value` from `pedantic` group to `style` | |
1264 | ||
1265 | ## Rust 1.31 | |
1266 | ||
1267 | Released 2018-12-06 | |
1268 | ||
1269 | [125907ad..2e26fdc2](https://github.com/rust-lang/rust-clippy/compare/125907ad..2e26fdc2) | |
1270 | ||
1271 | * Clippy has been relicensed under a dual MIT / Apache license. | |
1272 | See [#3093](https://github.com/rust-lang/rust-clippy/issues/3093) for more | |
1273 | information. | |
1274 | * With Rust 1.31, Clippy is no longer available via crates.io. The recommended | |
1275 | installation method is via `rustup component add clippy`. | |
1276 | * New lints: [`redundant_pattern_matching`], [`unnecessary_filter_map`], | |
1277 | [`unused_unit`], [`map_flatten`], [`mem_replace_option_with_none`] | |
1278 | * Fix ICE in `if_let_redundant_pattern_matching` | |
1279 | * Fix ICE in `needless_pass_by_value` when encountering a generic function | |
1280 | argument with a lifetime parameter | |
1281 | * Fix ICE in `needless_range_loop` | |
1282 | * Fix ICE in `single_char_pattern` when encountering a constant value | |
1283 | * Fix false positive in `assign_op_pattern` | |
1284 | * Fix false positive in `boxed_local` on trait implementations | |
1285 | * Fix false positive in `cmp_owned` | |
1286 | * Fix false positive in `collapsible_if` when conditionals have comments | |
1287 | * Fix false positive in `double_parens` | |
1288 | * Fix false positive in `excessive_precision` | |
1289 | * Fix false positive in `explicit_counter_loop` | |
1290 | * Fix false positive in `fn_to_numeric_cast_with_truncation` | |
1291 | * Fix false positive in `map_clone` | |
1292 | * Fix false positive in `new_ret_no_self` | |
1293 | * Fix false positive in `new_without_default` when `new` is unsafe | |
1294 | * Fix false positive in `type_complexity` when using extern types | |
1295 | * Fix false positive in `useless_format` | |
1296 | * Fix false positive in `wrong_self_convention` | |
1297 | * Fix incorrect suggestion for `excessive_precision` | |
1298 | * Fix incorrect suggestion for `expect_fun_call` | |
1299 | * Fix incorrect suggestion for `get_unwrap` | |
1300 | * Fix incorrect suggestion for `useless_format` | |
1301 | * `fn_to_numeric_cast_with_truncation` lint can be disabled again | |
1302 | * Improve suggestions for `manual_memcpy` | |
1303 | * Improve help message for `needless_lifetimes` | |
1304 | ||
1305 | ## Rust 1.30 | |
1306 | ||
1307 | Released 2018-10-25 | |
1308 | ||
1309 | [14207503...125907ad](https://github.com/rust-lang/rust-clippy/compare/14207503...125907ad) | |
1310 | ||
1311 | * Deprecate `assign_ops` lint | |
1312 | * New lints: [`mistyped_literal_suffixes`], [`ptr_offset_with_cast`], | |
1313 | [`needless_collect`], [`copy_iterator`] | |
1314 | * `cargo clippy -V` now includes the Clippy commit hash of the Rust | |
1315 | Clippy component | |
1316 | * Fix ICE in `implicit_hasher` | |
1317 | * Fix ICE when encountering `println!("{}" a);` | |
1318 | * Fix ICE when encountering a macro call in match statements | |
1319 | * Fix false positive in `default_trait_access` | |
1320 | * Fix false positive in `trivially_copy_pass_by_ref` | |
1321 | * Fix false positive in `similar_names` | |
1322 | * Fix false positive in `redundant_field_name` | |
1323 | * Fix false positive in `expect_fun_call` | |
1324 | * Fix false negative in `identity_conversion` | |
1325 | * Fix false negative in `explicit_counter_loop` | |
1326 | * Fix `range_plus_one` suggestion and false negative | |
1327 | * `print_with_newline` / `write_with_newline`: don't warn about string with several `\n`s in them | |
1328 | * Fix `useless_attribute` to also whitelist `unused_extern_crates` | |
1329 | * Fix incorrect suggestion for `single_char_pattern` | |
1330 | * Improve suggestion for `identity_conversion` lint | |
1331 | * Move `explicit_iter_loop` and `explicit_into_iter_loop` from `style` group to `pedantic` | |
1332 | * Move `range_plus_one` and `range_minus_one` from `nursery` group to `complexity` | |
1333 | * Move `shadow_unrelated` from `restriction` group to `pedantic` | |
1334 | * Move `indexing_slicing` from `pedantic` group to `restriction` | |
1335 | ||
1336 | ## Rust 1.29 | |
1337 | ||
1338 | Released 2018-09-13 | |
1339 | ||
1340 | [v0.0.212...14207503](https://github.com/rust-lang/rust-clippy/compare/v0.0.212...14207503) | |
1341 | ||
1342 | * :tada: :tada: **Rust 1.29 is the first stable Rust that includes a bundled Clippy** :tada: | |
1343 | :tada: | |
1344 | You can now run `rustup component add clippy-preview` and then `cargo | |
1345 | clippy` to run Clippy. This should put an end to the continuous nightly | |
1346 | upgrades for Clippy users. | |
1347 | * Clippy now follows the Rust versioning scheme instead of its own | |
1348 | * Fix ICE when encountering a `while let (..) = x.iter()` construct | |
1349 | * Fix false positives in `use_self` | |
1350 | * Fix false positive in `trivially_copy_pass_by_ref` | |
1351 | * Fix false positive in `useless_attribute` lint | |
1352 | * Fix false positive in `print_literal` | |
1353 | * Fix `use_self` regressions | |
1354 | * Improve lint message for `neg_cmp_op_on_partial_ord` | |
1355 | * Improve suggestion highlight for `single_char_pattern` | |
1356 | * Improve suggestions for various print/write macro lints | |
1357 | * Improve website header | |
1358 | ||
1359 | ## 0.0.212 (2018-07-10) | |
1360 | * Rustup to *rustc 1.29.0-nightly (e06c87544 2018-07-06)* | |
1361 | ||
1362 | ## 0.0.211 | |
1363 | * Rustup to *rustc 1.28.0-nightly (e3bf634e0 2018-06-28)* | |
1364 | ||
1365 | ## 0.0.210 | |
1366 | * Rustup to *rustc 1.28.0-nightly (01cc982e9 2018-06-24)* | |
1367 | ||
1368 | ## 0.0.209 | |
1369 | * Rustup to *rustc 1.28.0-nightly (523097979 2018-06-18)* | |
1370 | ||
1371 | ## 0.0.208 | |
1372 | * Rustup to *rustc 1.28.0-nightly (86a8f1a63 2018-06-17)* | |
1373 | ||
1374 | ## 0.0.207 | |
1375 | * Rustup to *rustc 1.28.0-nightly (2a0062974 2018-06-09)* | |
1376 | ||
1377 | ## 0.0.206 | |
1378 | * Rustup to *rustc 1.28.0-nightly (5bf68db6e 2018-05-28)* | |
1379 | ||
1380 | ## 0.0.205 | |
1381 | * Rustup to *rustc 1.28.0-nightly (990d8aa74 2018-05-25)* | |
1382 | * Rename `unused_lifetimes` to `extra_unused_lifetimes` because of naming conflict with new rustc lint | |
1383 | ||
1384 | ## 0.0.204 | |
1385 | * Rustup to *rustc 1.28.0-nightly (71e87be38 2018-05-22)* | |
1386 | ||
1387 | ## 0.0.203 | |
1388 | * Rustup to *rustc 1.28.0-nightly (a3085756e 2018-05-19)* | |
1389 | * Clippy attributes are now of the form `clippy::cyclomatic_complexity` instead of `clippy(cyclomatic_complexity)` | |
1390 | ||
1391 | ## 0.0.202 | |
1392 | * Rustup to *rustc 1.28.0-nightly (952f344cd 2018-05-18)* | |
1393 | ||
1394 | ## 0.0.201 | |
1395 | * Rustup to *rustc 1.27.0-nightly (2f2a11dfc 2018-05-16)* | |
1396 | ||
1397 | ## 0.0.200 | |
1398 | * Rustup to *rustc 1.27.0-nightly (9fae15374 2018-05-13)* | |
1399 | ||
1400 | ## 0.0.199 | |
1401 | * Rustup to *rustc 1.27.0-nightly (ff2ac35db 2018-05-12)* | |
1402 | ||
1403 | ## 0.0.198 | |
1404 | * Rustup to *rustc 1.27.0-nightly (acd3871ba 2018-05-10)* | |
1405 | ||
1406 | ## 0.0.197 | |
1407 | * Rustup to *rustc 1.27.0-nightly (428ea5f6b 2018-05-06)* | |
1408 | ||
1409 | ## 0.0.196 | |
1410 | * Rustup to *rustc 1.27.0-nightly (e82261dfb 2018-05-03)* | |
1411 | ||
1412 | ## 0.0.195 | |
1413 | * Rustup to *rustc 1.27.0-nightly (ac3c2288f 2018-04-18)* | |
1414 | ||
1415 | ## 0.0.194 | |
1416 | * Rustup to *rustc 1.27.0-nightly (bd40cbbe1 2018-04-14)* | |
1417 | * New lints: [`cast_ptr_alignment`], [`transmute_ptr_to_ptr`], [`write_literal`], [`write_with_newline`], [`writeln_empty_string`] | |
1418 | ||
1419 | ## 0.0.193 | |
1420 | * Rustup to *rustc 1.27.0-nightly (eeea94c11 2018-04-06)* | |
1421 | ||
1422 | ## 0.0.192 | |
1423 | * Rustup to *rustc 1.27.0-nightly (fb44b4c0e 2018-04-04)* | |
1424 | * New lint: [`print_literal`] | |
1425 | ||
1426 | ## 0.0.191 | |
1427 | * Rustup to *rustc 1.26.0-nightly (ae544ee1c 2018-03-29)* | |
1428 | * Lint audit; categorize lints as style, correctness, complexity, pedantic, nursery, restriction. | |
1429 | ||
1430 | ## 0.0.190 | |
1431 | * Fix a bunch of intermittent cargo bugs | |
1432 | ||
1433 | ## 0.0.189 | |
1434 | * Rustup to *rustc 1.26.0-nightly (5508b2714 2018-03-18)* | |
1435 | ||
1436 | ## 0.0.188 | |
1437 | * Rustup to *rustc 1.26.0-nightly (392645394 2018-03-15)* | |
1438 | * New lint: [`while_immutable_condition`] | |
1439 | ||
1440 | ## 0.0.187 | |
1441 | * Rustup to *rustc 1.26.0-nightly (322d7f7b9 2018-02-25)* | |
1442 | * New lints: [`redundant_field_names`], [`suspicious_arithmetic_impl`], [`suspicious_op_assign_impl`] | |
1443 | ||
1444 | ## 0.0.186 | |
1445 | * Rustup to *rustc 1.25.0-nightly (0c6091fbd 2018-02-04)* | |
1446 | * Various false positive fixes | |
1447 | ||
1448 | ## 0.0.185 | |
1449 | * Rustup to *rustc 1.25.0-nightly (56733bc9f 2018-02-01)* | |
1450 | * New lint: [`question_mark`] | |
1451 | ||
1452 | ## 0.0.184 | |
1453 | * Rustup to *rustc 1.25.0-nightly (90eb44a58 2018-01-29)* | |
1454 | * New lints: [`double_comparisons`], [`empty_line_after_outer_attr`] | |
1455 | ||
1456 | ## 0.0.183 | |
1457 | * Rustup to *rustc 1.25.0-nightly (21882aad7 2018-01-28)* | |
1458 | * New lint: [`misaligned_transmute`] | |
1459 | ||
1460 | ## 0.0.182 | |
1461 | * Rustup to *rustc 1.25.0-nightly (a0dcecff9 2018-01-24)* | |
1462 | * New lint: [`decimal_literal_representation`] | |
1463 | ||
1464 | ## 0.0.181 | |
1465 | * Rustup to *rustc 1.25.0-nightly (97520ccb1 2018-01-21)* | |
1466 | * New lints: [`else_if_without_else`], [`option_option`], [`unit_arg`], [`unnecessary_fold`] | |
1467 | * Removed `unit_expr` | |
1468 | * Various false positive fixes for [`needless_pass_by_value`] | |
1469 | ||
1470 | ## 0.0.180 | |
1471 | * Rustup to *rustc 1.25.0-nightly (3f92e8d89 2018-01-14)* | |
1472 | ||
1473 | ## 0.0.179 | |
1474 | * Rustup to *rustc 1.25.0-nightly (61452e506 2018-01-09)* | |
1475 | ||
1476 | ## 0.0.178 | |
1477 | * Rustup to *rustc 1.25.0-nightly (ee220daca 2018-01-07)* | |
1478 | ||
1479 | ## 0.0.177 | |
1480 | * Rustup to *rustc 1.24.0-nightly (250b49205 2017-12-21)* | |
1481 | * New lint: [`match_as_ref`] | |
1482 | ||
1483 | ## 0.0.176 | |
1484 | * Rustup to *rustc 1.24.0-nightly (0077d128d 2017-12-14)* | |
1485 | ||
1486 | ## 0.0.175 | |
1487 | * Rustup to *rustc 1.24.0-nightly (bb42071f6 2017-12-01)* | |
1488 | ||
1489 | ## 0.0.174 | |
1490 | * Rustup to *rustc 1.23.0-nightly (63739ab7b 2017-11-21)* | |
1491 | ||
1492 | ## 0.0.173 | |
1493 | * Rustup to *rustc 1.23.0-nightly (33374fa9d 2017-11-20)* | |
1494 | ||
1495 | ## 0.0.172 | |
1496 | * Rustup to *rustc 1.23.0-nightly (d0f8e2913 2017-11-16)* | |
1497 | ||
1498 | ## 0.0.171 | |
1499 | * Rustup to *rustc 1.23.0-nightly (ff0f5de3b 2017-11-14)* | |
1500 | ||
1501 | ## 0.0.170 | |
1502 | * Rustup to *rustc 1.23.0-nightly (d6b06c63a 2017-11-09)* | |
1503 | ||
1504 | ## 0.0.169 | |
1505 | * Rustup to *rustc 1.23.0-nightly (3b82e4c74 2017-11-05)* | |
1506 | * New lints: [`just_underscores_and_digits`], `result_map_unwrap_or_else`, [`transmute_bytes_to_str`] | |
1507 | ||
1508 | ## 0.0.168 | |
1509 | * Rustup to *rustc 1.23.0-nightly (f0fe716db 2017-10-30)* | |
1510 | ||
1511 | ## 0.0.167 | |
1512 | * Rustup to *rustc 1.23.0-nightly (90ef3372e 2017-10-29)* | |
1513 | * New lints: `const_static_lifetime`, [`erasing_op`], [`fallible_impl_from`], [`println_empty_string`], [`useless_asref`] | |
1514 | ||
1515 | ## 0.0.166 | |
1516 | * Rustup to *rustc 1.22.0-nightly (b7960878b 2017-10-18)* | |
1517 | * New lints: [`explicit_write`], `identity_conversion`, [`implicit_hasher`], [`invalid_ref`], [`option_map_or_none`], | |
1518 | [`range_minus_one`], [`range_plus_one`], [`transmute_int_to_bool`], [`transmute_int_to_char`], | |
1519 | [`transmute_int_to_float`] | |
1520 | ||
1521 | ## 0.0.165 | |
1522 | * Rust upgrade to rustc 1.22.0-nightly (0e6f4cf51 2017-09-27) | |
1523 | * New lint: [`mut_range_bound`] | |
1524 | ||
1525 | ## 0.0.164 | |
1526 | * Update to *rustc 1.22.0-nightly (6c476ce46 2017-09-25)* | |
1527 | * New lint: [`int_plus_one`] | |
1528 | ||
1529 | ## 0.0.163 | |
1530 | * Update to *rustc 1.22.0-nightly (14039a42a 2017-09-22)* | |
1531 | ||
1532 | ## 0.0.162 | |
1533 | * Update to *rustc 1.22.0-nightly (0701b37d9 2017-09-18)* | |
1534 | * New lint: [`chars_last_cmp`] | |
1535 | * Improved suggestions for [`needless_borrow`], [`ptr_arg`], | |
1536 | ||
1537 | ## 0.0.161 | |
1538 | * Update to *rustc 1.22.0-nightly (539f2083d 2017-09-13)* | |
1539 | ||
1540 | ## 0.0.160 | |
1541 | * Update to *rustc 1.22.0-nightly (dd08c3070 2017-09-12)* | |
1542 | ||
1543 | ## 0.0.159 | |
1544 | * Update to *rustc 1.22.0-nightly (eba374fb2 2017-09-11)* | |
1545 | * New lint: [`clone_on_ref_ptr`] | |
1546 | ||
1547 | ## 0.0.158 | |
1548 | * New lint: [`manual_memcpy`] | |
1549 | * [`cast_lossless`] no longer has redundant parentheses in its suggestions | |
1550 | * Update to *rustc 1.22.0-nightly (dead08cb3 2017-09-08)* | |
1551 | ||
1552 | ## 0.0.157 - 2017-09-04 | |
1553 | * Update to *rustc 1.22.0-nightly (981ce7d8d 2017-09-03)* | |
1554 | * New lint: `unit_expr` | |
1555 | ||
1556 | ## 0.0.156 - 2017-09-03 | |
1557 | * Update to *rustc 1.22.0-nightly (744dd6c1d 2017-09-02)* | |
1558 | ||
1559 | ## 0.0.155 | |
1560 | * Update to *rustc 1.21.0-nightly (c11f689d2 2017-08-29)* | |
1561 | * New lint: [`infinite_iter`], [`maybe_infinite_iter`], [`cast_lossless`] | |
1562 | ||
1563 | ## 0.0.154 | |
1564 | * Update to *rustc 1.21.0-nightly (2c0558f63 2017-08-24)* | |
1565 | * Fix [`use_self`] triggering inside derives | |
1566 | * Add support for linting an entire workspace with `cargo clippy --all` | |
1567 | * New lint: [`naive_bytecount`] | |
1568 | ||
1569 | ## 0.0.153 | |
1570 | * Update to *rustc 1.21.0-nightly (8c303ed87 2017-08-20)* | |
1571 | * New lint: [`use_self`] | |
1572 | ||
1573 | ## 0.0.152 | |
1574 | * Update to *rustc 1.21.0-nightly (df511d554 2017-08-14)* | |
1575 | ||
1576 | ## 0.0.151 | |
1577 | * Update to *rustc 1.21.0-nightly (13d94d5fa 2017-08-10)* | |
1578 | ||
1579 | ## 0.0.150 | |
1580 | * Update to *rustc 1.21.0-nightly (215e0b10e 2017-08-08)* | |
1581 | ||
1582 | ## 0.0.148 | |
1583 | * Update to *rustc 1.21.0-nightly (37c7d0ebb 2017-07-31)* | |
1584 | * New lints: [`unreadable_literal`], [`inconsistent_digit_grouping`], [`large_digit_groups`] | |
1585 | ||
1586 | ## 0.0.147 | |
1587 | * Update to *rustc 1.21.0-nightly (aac223f4f 2017-07-30)* | |
1588 | ||
1589 | ## 0.0.146 | |
1590 | * Update to *rustc 1.21.0-nightly (52a330969 2017-07-27)* | |
1591 | * Fixes false positives in `inline_always` | |
1592 | * Fixes false negatives in `panic_params` | |
1593 | ||
1594 | ## 0.0.145 | |
1595 | * Update to *rustc 1.20.0-nightly (afe145d22 2017-07-23)* | |
1596 | ||
1597 | ## 0.0.144 | |
1598 | * Update to *rustc 1.20.0-nightly (086eaa78e 2017-07-15)* | |
1599 | ||
1600 | ## 0.0.143 | |
1601 | * Update to *rustc 1.20.0-nightly (d84693b93 2017-07-09)* | |
1602 | * Fix `cargo clippy` crashing on `dylib` projects | |
1603 | * Fix false positives around `nested_while_let` and `never_loop` | |
1604 | ||
1605 | ## 0.0.142 | |
1606 | * Update to *rustc 1.20.0-nightly (067971139 2017-07-02)* | |
1607 | ||
1608 | ## 0.0.141 | |
1609 | * Rewrite of the `doc_markdown` lint. | |
1610 | * Deprecated [`range_step_by_zero`] | |
1611 | * New lint: [`iterator_step_by_zero`] | |
1612 | * New lint: [`needless_borrowed_reference`] | |
1613 | * Update to *rustc 1.20.0-nightly (69c65d296 2017-06-28)* | |
1614 | ||
1615 | ## 0.0.140 - 2017-06-16 | |
1616 | * Update to *rustc 1.19.0-nightly (258ae6dd9 2017-06-15)* | |
1617 | ||
1618 | ## 0.0.139 — 2017-06-10 | |
1619 | * Update to *rustc 1.19.0-nightly (4bf5c99af 2017-06-10)* | |
1620 | * Fix bugs with for loop desugaring | |
1621 | * Check for [`AsRef`]/[`AsMut`] arguments in [`wrong_self_convention`] | |
1622 | ||
1623 | ## 0.0.138 — 2017-06-05 | |
1624 | * Update to *rustc 1.19.0-nightly (0418fa9d3 2017-06-04)* | |
1625 | ||
1626 | ## 0.0.137 — 2017-06-05 | |
1627 | * Update to *rustc 1.19.0-nightly (6684d176c 2017-06-03)* | |
1628 | ||
1629 | ## 0.0.136 — 2017—05—26 | |
1630 | * Update to *rustc 1.19.0-nightly (557967766 2017-05-26)* | |
1631 | ||
1632 | ## 0.0.135 — 2017—05—24 | |
1633 | * Update to *rustc 1.19.0-nightly (5b13bff52 2017-05-23)* | |
1634 | ||
1635 | ## 0.0.134 — 2017—05—19 | |
1636 | * Update to *rustc 1.19.0-nightly (0ed1ec9f9 2017-05-18)* | |
1637 | ||
1638 | ## 0.0.133 — 2017—05—14 | |
1639 | * Update to *rustc 1.19.0-nightly (826d8f385 2017-05-13)* | |
1640 | ||
1641 | ## 0.0.132 — 2017—05—05 | |
1642 | * Fix various bugs and some ices | |
1643 | ||
1644 | ## 0.0.131 — 2017—05—04 | |
1645 | * Update to *rustc 1.19.0-nightly (2d4ed8e0c 2017-05-03)* | |
1646 | ||
1647 | ## 0.0.130 — 2017—05—03 | |
1648 | * Update to *rustc 1.19.0-nightly (6a5fc9eec 2017-05-02)* | |
1649 | ||
1650 | ## 0.0.129 — 2017-05-01 | |
1651 | * Update to *rustc 1.19.0-nightly (06fb4d256 2017-04-30)* | |
1652 | ||
1653 | ## 0.0.128 — 2017-04-28 | |
1654 | * Update to *rustc 1.18.0-nightly (94e884b63 2017-04-27)* | |
1655 | ||
1656 | ## 0.0.127 — 2017-04-27 | |
1657 | * Update to *rustc 1.18.0-nightly (036983201 2017-04-26)* | |
1658 | * New lint: [`needless_continue`] | |
1659 | ||
1660 | ## 0.0.126 — 2017-04-24 | |
1661 | * Update to *rustc 1.18.0-nightly (2bd4b5c6d 2017-04-23)* | |
1662 | ||
1663 | ## 0.0.125 — 2017-04-19 | |
1664 | * Update to *rustc 1.18.0-nightly (9f2abadca 2017-04-18)* | |
1665 | ||
1666 | ## 0.0.124 — 2017-04-16 | |
1667 | * Update to *rustc 1.18.0-nightly (d5cf1cb64 2017-04-15)* | |
1668 | ||
1669 | ## 0.0.123 — 2017-04-07 | |
1670 | * Fix various false positives | |
1671 | ||
1672 | ## 0.0.122 — 2017-04-07 | |
1673 | * Rustup to *rustc 1.18.0-nightly (91ae22a01 2017-04-05)* | |
1674 | * New lint: [`op_ref`] | |
1675 | ||
1676 | ## 0.0.121 — 2017-03-21 | |
1677 | * Rustup to *rustc 1.17.0-nightly (134c4a0f0 2017-03-20)* | |
1678 | ||
1679 | ## 0.0.120 — 2017-03-17 | |
1680 | * Rustup to *rustc 1.17.0-nightly (0aeb9c129 2017-03-15)* | |
1681 | ||
1682 | ## 0.0.119 — 2017-03-13 | |
1683 | * Rustup to *rustc 1.17.0-nightly (824c9ebbd 2017-03-12)* | |
1684 | ||
1685 | ## 0.0.118 — 2017-03-05 | |
1686 | * Rustup to *rustc 1.17.0-nightly (b1e31766d 2017-03-03)* | |
1687 | ||
1688 | ## 0.0.117 — 2017-03-01 | |
1689 | * Rustup to *rustc 1.17.0-nightly (be760566c 2017-02-28)* | |
1690 | ||
1691 | ## 0.0.116 — 2017-02-28 | |
1692 | * Fix `cargo clippy` on 64 bit windows systems | |
1693 | ||
1694 | ## 0.0.115 — 2017-02-27 | |
1695 | * Rustup to *rustc 1.17.0-nightly (60a0edc6c 2017-02-26)* | |
1696 | * New lints: [`zero_ptr`], [`never_loop`], [`mut_from_ref`] | |
1697 | ||
1698 | ## 0.0.114 — 2017-02-08 | |
1699 | * Rustup to *rustc 1.17.0-nightly (c49d10207 2017-02-07)* | |
1700 | * Tests are now ui tests (testing the exact output of rustc) | |
1701 | ||
1702 | ## 0.0.113 — 2017-02-04 | |
1703 | * Rustup to *rustc 1.16.0-nightly (eedaa94e3 2017-02-02)* | |
1704 | * New lint: [`large_enum_variant`] | |
1705 | * `explicit_into_iter_loop` provides suggestions | |
1706 | ||
1707 | ## 0.0.112 — 2017-01-27 | |
1708 | * Rustup to *rustc 1.16.0-nightly (df8debf6d 2017-01-25)* | |
1709 | ||
1710 | ## 0.0.111 — 2017-01-21 | |
1711 | * Rustup to *rustc 1.16.0-nightly (a52da95ce 2017-01-20)* | |
1712 | ||
1713 | ## 0.0.110 — 2017-01-20 | |
1714 | * Add badges and categories to `Cargo.toml` | |
1715 | ||
1716 | ## 0.0.109 — 2017-01-19 | |
1717 | * Update to *rustc 1.16.0-nightly (c07a6ae77 2017-01-17)* | |
1718 | ||
1719 | ## 0.0.108 — 2017-01-12 | |
1720 | * Update to *rustc 1.16.0-nightly (2782e8f8f 2017-01-12)* | |
1721 | ||
1722 | ## 0.0.107 — 2017-01-11 | |
1723 | * Update regex dependency | |
1724 | * Fix FP when matching `&&mut` by `&ref` | |
1725 | * Reintroduce `for (_, x) in &mut hash_map` -> `for x in hash_map.values_mut()` | |
1726 | * New lints: [`unused_io_amount`], [`forget_ref`], [`short_circuit_statement`] | |
1727 | ||
1728 | ## 0.0.106 — 2017-01-04 | |
1729 | * Fix FP introduced by rustup in [`wrong_self_convention`] | |
1730 | ||
1731 | ## 0.0.105 — 2017-01-04 | |
1732 | * Update to *rustc 1.16.0-nightly (468227129 2017-01-03)* | |
1733 | * New lints: [`deref_addrof`], [`double_parens`], [`pub_enum_variant_names`] | |
1734 | * Fix suggestion in [`new_without_default`] | |
1735 | * FP fix in [`absurd_extreme_comparisons`] | |
1736 | ||
1737 | ## 0.0.104 — 2016-12-15 | |
1738 | * Update to *rustc 1.15.0-nightly (8f02c429a 2016-12-15)* | |
1739 | ||
1740 | ## 0.0.103 — 2016-11-25 | |
1741 | * Update to *rustc 1.15.0-nightly (d5814b03e 2016-11-23)* | |
1742 | ||
1743 | ## 0.0.102 — 2016-11-24 | |
1744 | * Update to *rustc 1.15.0-nightly (3bf2be9ce 2016-11-22)* | |
1745 | ||
1746 | ## 0.0.101 — 2016-11-23 | |
1747 | * Update to *rustc 1.15.0-nightly (7b3eeea22 2016-11-21)* | |
1748 | * New lint: [`string_extend_chars`] | |
1749 | ||
1750 | ## 0.0.100 — 2016-11-20 | |
1751 | * Update to *rustc 1.15.0-nightly (ac635aa95 2016-11-18)* | |
1752 | ||
1753 | ## 0.0.99 — 2016-11-18 | |
1754 | * Update to rustc 1.15.0-nightly (0ed951993 2016-11-14) | |
1755 | * New lint: [`get_unwrap`] | |
1756 | ||
1757 | ## 0.0.98 — 2016-11-08 | |
1758 | * Fixes an issue due to a change in how cargo handles `--sysroot`, which broke `cargo clippy` | |
1759 | ||
1760 | ## 0.0.97 — 2016-11-03 | |
1761 | * For convenience, `cargo clippy` defines a `cargo-clippy` feature. This was | |
1762 | previously added for a short time under the name `clippy` but removed for | |
1763 | compatibility. | |
1764 | * `cargo clippy --help` is more helping (and less helpful :smile:) | |
1765 | * Rustup to *rustc 1.14.0-nightly (5665bdf3e 2016-11-02)* | |
1766 | * New lints: [`if_let_redundant_pattern_matching`], [`partialeq_ne_impl`] | |
1767 | ||
1768 | ## 0.0.96 — 2016-10-22 | |
1769 | * Rustup to *rustc 1.14.0-nightly (f09420685 2016-10-20)* | |
1770 | * New lint: [`iter_skip_next`] | |
1771 | ||
1772 | ## 0.0.95 — 2016-10-06 | |
1773 | * Rustup to *rustc 1.14.0-nightly (3210fd5c2 2016-10-05)* | |
1774 | ||
1775 | ## 0.0.94 — 2016-10-04 | |
1776 | * Fixes bustage on Windows due to forbidden directory name | |
1777 | ||
1778 | ## 0.0.93 — 2016-10-03 | |
1779 | * Rustup to *rustc 1.14.0-nightly (144af3e97 2016-10-02)* | |
1780 | * `option_map_unwrap_or` and `option_map_unwrap_or_else` are now | |
1781 | allowed by default. | |
1782 | * New lint: [`explicit_into_iter_loop`] | |
1783 | ||
1784 | ## 0.0.92 — 2016-09-30 | |
1785 | * Rustup to *rustc 1.14.0-nightly (289f3a4ca 2016-09-29)* | |
1786 | ||
1787 | ## 0.0.91 — 2016-09-28 | |
1788 | * Rustup to *rustc 1.13.0-nightly (d0623cf7b 2016-09-26)* | |
1789 | ||
1790 | ## 0.0.90 — 2016-09-09 | |
1791 | * Rustup to *rustc 1.13.0-nightly (f1f40f850 2016-09-09)* | |
1792 | ||
1793 | ## 0.0.89 — 2016-09-06 | |
1794 | * Rustup to *rustc 1.13.0-nightly (cbe4de78e 2016-09-05)* | |
1795 | ||
1796 | ## 0.0.88 — 2016-09-04 | |
1797 | * Rustup to *rustc 1.13.0-nightly (70598e04f 2016-09-03)* | |
1798 | * The following lints are not new but were only usable through the `clippy` | |
1799 | lint groups: [`filter_next`], `for_loop_over_option`, | |
1800 | `for_loop_over_result` and [`match_overlapping_arm`]. You should now be | |
1801 | able to `#[allow/deny]` them individually and they are available directly | |
1802 | through `cargo clippy`. | |
1803 | ||
1804 | ## 0.0.87 — 2016-08-31 | |
1805 | * Rustup to *rustc 1.13.0-nightly (eac41469d 2016-08-30)* | |
1806 | * New lints: [`builtin_type_shadow`] | |
1807 | * Fix FP in [`zero_prefixed_literal`] and `0b`/`0o` | |
1808 | ||
1809 | ## 0.0.86 — 2016-08-28 | |
1810 | * Rustup to *rustc 1.13.0-nightly (a23064af5 2016-08-27)* | |
1811 | * New lints: [`missing_docs_in_private_items`], [`zero_prefixed_literal`] | |
1812 | ||
1813 | ## 0.0.85 — 2016-08-19 | |
1814 | * Fix ICE with [`useless_attribute`] | |
1815 | * [`useless_attribute`] ignores `unused_imports` on `use` statements | |
1816 | ||
1817 | ## 0.0.84 — 2016-08-18 | |
1818 | * Rustup to *rustc 1.13.0-nightly (aef6971ca 2016-08-17)* | |
1819 | ||
1820 | ## 0.0.83 — 2016-08-17 | |
1821 | * Rustup to *rustc 1.12.0-nightly (1bf5fa326 2016-08-16)* | |
1822 | * New lints: [`print_with_newline`], [`useless_attribute`] | |
1823 | ||
1824 | ## 0.0.82 — 2016-08-17 | |
1825 | * Rustup to *rustc 1.12.0-nightly (197be89f3 2016-08-15)* | |
1826 | * New lint: [`module_inception`] | |
1827 | ||
1828 | ## 0.0.81 — 2016-08-14 | |
1829 | * Rustup to *rustc 1.12.0-nightly (1deb02ea6 2016-08-12)* | |
1830 | * New lints: [`eval_order_dependence`], [`mixed_case_hex_literals`], [`unseparated_literal_suffix`] | |
1831 | * False positive fix in [`too_many_arguments`] | |
1832 | * Addition of functionality to [`needless_borrow`] | |
1833 | * Suggestions for [`clone_on_copy`] | |
1834 | * Bug fix in [`wrong_self_convention`] | |
1835 | * Doc improvements | |
1836 | ||
1837 | ## 0.0.80 — 2016-07-31 | |
1838 | * Rustup to *rustc 1.12.0-nightly (1225e122f 2016-07-30)* | |
1839 | * New lints: [`misrefactored_assign_op`], [`serde_api_misuse`] | |
1840 | ||
1841 | ## 0.0.79 — 2016-07-10 | |
1842 | * Rustup to *rustc 1.12.0-nightly (f93aaf84c 2016-07-09)* | |
1843 | * Major suggestions refactoring | |
1844 | ||
1845 | ## 0.0.78 — 2016-07-02 | |
1846 | * Rustup to *rustc 1.11.0-nightly (01411937f 2016-07-01)* | |
1847 | * New lints: [`wrong_transmute`], [`double_neg`], [`filter_map`] | |
1848 | * For compatibility, `cargo clippy` does not defines the `clippy` feature | |
1849 | introduced in 0.0.76 anymore | |
1850 | * [`collapsible_if`] now considers `if let` | |
1851 | ||
1852 | ## 0.0.77 — 2016-06-21 | |
1853 | * Rustup to *rustc 1.11.0-nightly (5522e678b 2016-06-20)* | |
1854 | * New lints: `stutter` and [`iter_nth`] | |
1855 | ||
1856 | ## 0.0.76 — 2016-06-10 | |
1857 | * Rustup to *rustc 1.11.0-nightly (7d2f75a95 2016-06-09)* | |
1858 | * `cargo clippy` now automatically defines the `clippy` feature | |
1859 | * New lint: [`not_unsafe_ptr_arg_deref`] | |
1860 | ||
1861 | ## 0.0.75 — 2016-06-08 | |
1862 | * Rustup to *rustc 1.11.0-nightly (763f9234b 2016-06-06)* | |
1863 | ||
1864 | ## 0.0.74 — 2016-06-07 | |
1865 | * Fix bug with `cargo-clippy` JSON parsing | |
1866 | * Add the `CLIPPY_DISABLE_DOCS_LINKS` environment variable to deactivate the | |
1867 | “for further information visit *lint-link*” message. | |
1868 | ||
1869 | ## 0.0.73 — 2016-06-05 | |
1870 | * Fix false positives in [`useless_let_if_seq`] | |
1871 | ||
1872 | ## 0.0.72 — 2016-06-04 | |
1873 | * Fix false positives in [`useless_let_if_seq`] | |
1874 | ||
1875 | ## 0.0.71 — 2016-05-31 | |
1876 | * Rustup to *rustc 1.11.0-nightly (a967611d8 2016-05-30)* | |
1877 | * New lint: [`useless_let_if_seq`] | |
1878 | ||
1879 | ## 0.0.70 — 2016-05-28 | |
1880 | * Rustup to *rustc 1.10.0-nightly (7bddce693 2016-05-27)* | |
1881 | * [`invalid_regex`] and [`trivial_regex`] can now warn on `RegexSet::new`, | |
1882 | `RegexBuilder::new` and byte regexes | |
1883 | ||
1884 | ## 0.0.69 — 2016-05-20 | |
1885 | * Rustup to *rustc 1.10.0-nightly (476fe6eef 2016-05-21)* | |
1886 | * [`used_underscore_binding`] has been made `Allow` temporarily | |
1887 | ||
1888 | ## 0.0.68 — 2016-05-17 | |
1889 | * Rustup to *rustc 1.10.0-nightly (cd6a40017 2016-05-16)* | |
1890 | * New lint: [`unnecessary_operation`] | |
1891 | ||
1892 | ## 0.0.67 — 2016-05-12 | |
1893 | * Rustup to *rustc 1.10.0-nightly (22ac88f1a 2016-05-11)* | |
1894 | ||
1895 | ## 0.0.66 — 2016-05-11 | |
1896 | * New `cargo clippy` subcommand | |
1897 | * New lints: [`assign_op_pattern`], [`assign_ops`], [`needless_borrow`] | |
1898 | ||
1899 | ## 0.0.65 — 2016-05-08 | |
1900 | * Rustup to *rustc 1.10.0-nightly (62e2b2fb7 2016-05-06)* | |
1901 | * New lints: [`float_arithmetic`], [`integer_arithmetic`] | |
1902 | ||
1903 | ## 0.0.64 — 2016-04-26 | |
1904 | * Rustup to *rustc 1.10.0-nightly (645dd013a 2016-04-24)* | |
1905 | * New lints: [`temporary_cstring_as_ptr`], [`unsafe_removed_from_name`], and [`mem_forget`] | |
1906 | ||
1907 | ## 0.0.63 — 2016-04-08 | |
1908 | * Rustup to *rustc 1.9.0-nightly (7979dd608 2016-04-07)* | |
1909 | ||
1910 | ## 0.0.62 — 2016-04-07 | |
1911 | * Rustup to *rustc 1.9.0-nightly (bf5da36f1 2016-04-06)* | |
1912 | ||
1913 | ## 0.0.61 — 2016-04-03 | |
1914 | * Rustup to *rustc 1.9.0-nightly (5ab11d72c 2016-04-02)* | |
1915 | * New lint: [`invalid_upcast_comparisons`] | |
1916 | ||
1917 | ## 0.0.60 — 2016-04-01 | |
1918 | * Rustup to *rustc 1.9.0-nightly (e1195c24b 2016-03-31)* | |
1919 | ||
1920 | ## 0.0.59 — 2016-03-31 | |
1921 | * Rustup to *rustc 1.9.0-nightly (30a3849f2 2016-03-30)* | |
1922 | * New lints: [`logic_bug`], [`nonminimal_bool`] | |
1923 | * Fixed: [`match_same_arms`] now ignores arms with guards | |
1924 | * Improved: [`useless_vec`] now warns on `for … in vec![…]` | |
1925 | ||
1926 | ## 0.0.58 — 2016-03-27 | |
1927 | * Rustup to *rustc 1.9.0-nightly (d5a91e695 2016-03-26)* | |
1928 | * New lint: [`doc_markdown`] | |
1929 | ||
1930 | ## 0.0.57 — 2016-03-27 | |
1931 | * Update to *rustc 1.9.0-nightly (a1e29daf1 2016-03-25)* | |
1932 | * Deprecated lints: [`str_to_string`], [`string_to_string`], [`unstable_as_slice`], [`unstable_as_mut_slice`] | |
1933 | * New lint: [`crosspointer_transmute`] | |
1934 | ||
1935 | ## 0.0.56 — 2016-03-23 | |
1936 | * Update to *rustc 1.9.0-nightly (0dcc413e4 2016-03-22)* | |
1937 | * New lints: [`many_single_char_names`] and [`similar_names`] | |
1938 | ||
1939 | ## 0.0.55 — 2016-03-21 | |
1940 | * Update to *rustc 1.9.0-nightly (02310fd31 2016-03-19)* | |
1941 | ||
1942 | ## 0.0.54 — 2016-03-16 | |
1943 | * Update to *rustc 1.9.0-nightly (c66d2380a 2016-03-15)* | |
1944 | ||
1945 | ## 0.0.53 — 2016-03-15 | |
1946 | * Add a [configuration file] | |
1947 | ||
1948 | ## ~~0.0.52~~ | |
1949 | ||
1950 | ## 0.0.51 — 2016-03-13 | |
1951 | * Add `str` to types considered by [`len_zero`] | |
1952 | * New lints: [`indexing_slicing`] | |
1953 | ||
1954 | ## 0.0.50 — 2016-03-11 | |
1955 | * Update to *rustc 1.9.0-nightly (c9629d61c 2016-03-10)* | |
1956 | ||
1957 | ## 0.0.49 — 2016-03-09 | |
1958 | * Update to *rustc 1.9.0-nightly (eabfc160f 2016-03-08)* | |
1959 | * New lints: [`overflow_check_conditional`], [`unused_label`], [`new_without_default`] | |
1960 | ||
1961 | ## 0.0.48 — 2016-03-07 | |
1962 | * Fixed: ICE in [`needless_range_loop`] with globals | |
1963 | ||
1964 | ## 0.0.47 — 2016-03-07 | |
1965 | * Update to *rustc 1.9.0-nightly (998a6720b 2016-03-07)* | |
1966 | * New lint: [`redundant_closure_call`] | |
1967 | ||
1968 | [`AsMut`]: https://doc.rust-lang.org/std/convert/trait.AsMut.html | |
1969 | [`AsRef`]: https://doc.rust-lang.org/std/convert/trait.AsRef.html | |
1970 | [configuration file]: ./rust-clippy#configuration | |
1971 | [pull3665]: https://github.com/rust-lang/rust-clippy/pull/3665 | |
1972 | [adding_lints]: https://github.com/rust-lang/rust-clippy/blob/master/doc/adding_lints.md | |
1973 | ||
1974 | <!-- lint disable no-unused-definitions --> | |
1975 | <!-- begin autogenerated links to lint list --> | |
1976 | [`absurd_extreme_comparisons`]: https://rust-lang.github.io/rust-clippy/master/index.html#absurd_extreme_comparisons | |
1977 | [`almost_swapped`]: https://rust-lang.github.io/rust-clippy/master/index.html#almost_swapped | |
1978 | [`approx_constant`]: https://rust-lang.github.io/rust-clippy/master/index.html#approx_constant | |
1979 | [`as_conversions`]: https://rust-lang.github.io/rust-clippy/master/index.html#as_conversions | |
1980 | [`assertions_on_constants`]: https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants | |
1981 | [`assign_op_pattern`]: https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern | |
1982 | [`assign_ops`]: https://rust-lang.github.io/rust-clippy/master/index.html#assign_ops | |
1983 | [`async_yields_async`]: https://rust-lang.github.io/rust-clippy/master/index.html#async_yields_async | |
1984 | [`await_holding_lock`]: https://rust-lang.github.io/rust-clippy/master/index.html#await_holding_lock | |
1985 | [`await_holding_refcell_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#await_holding_refcell_ref | |
1986 | [`bad_bit_mask`]: https://rust-lang.github.io/rust-clippy/master/index.html#bad_bit_mask | |
1987 | [`bind_instead_of_map`]: https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map | |
1988 | [`blacklisted_name`]: https://rust-lang.github.io/rust-clippy/master/index.html#blacklisted_name | |
1989 | [`blanket_clippy_restriction_lints`]: https://rust-lang.github.io/rust-clippy/master/index.html#blanket_clippy_restriction_lints | |
1990 | [`blocks_in_if_conditions`]: https://rust-lang.github.io/rust-clippy/master/index.html#blocks_in_if_conditions | |
1991 | [`bool_comparison`]: https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison | |
1992 | [`borrow_interior_mutable_const`]: https://rust-lang.github.io/rust-clippy/master/index.html#borrow_interior_mutable_const | |
1993 | [`borrowed_box`]: https://rust-lang.github.io/rust-clippy/master/index.html#borrowed_box | |
1994 | [`box_vec`]: https://rust-lang.github.io/rust-clippy/master/index.html#box_vec | |
1995 | [`boxed_local`]: https://rust-lang.github.io/rust-clippy/master/index.html#boxed_local | |
1996 | [`builtin_type_shadow`]: https://rust-lang.github.io/rust-clippy/master/index.html#builtin_type_shadow | |
1997 | [`bytes_nth`]: https://rust-lang.github.io/rust-clippy/master/index.html#bytes_nth | |
1998 | [`cargo_common_metadata`]: https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata | |
1999 | [`case_sensitive_file_extension_comparisons`]: https://rust-lang.github.io/rust-clippy/master/index.html#case_sensitive_file_extension_comparisons | |
2000 | [`cast_lossless`]: https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless | |
2001 | [`cast_possible_truncation`]: https://rust-lang.github.io/rust-clippy/master/index.html#cast_possible_truncation | |
2002 | [`cast_possible_wrap`]: https://rust-lang.github.io/rust-clippy/master/index.html#cast_possible_wrap | |
2003 | [`cast_precision_loss`]: https://rust-lang.github.io/rust-clippy/master/index.html#cast_precision_loss | |
2004 | [`cast_ptr_alignment`]: https://rust-lang.github.io/rust-clippy/master/index.html#cast_ptr_alignment | |
2005 | [`cast_ref_to_mut`]: https://rust-lang.github.io/rust-clippy/master/index.html#cast_ref_to_mut | |
2006 | [`cast_sign_loss`]: https://rust-lang.github.io/rust-clippy/master/index.html#cast_sign_loss | |
2007 | [`char_lit_as_u8`]: https://rust-lang.github.io/rust-clippy/master/index.html#char_lit_as_u8 | |
2008 | [`chars_last_cmp`]: https://rust-lang.github.io/rust-clippy/master/index.html#chars_last_cmp | |
2009 | [`chars_next_cmp`]: https://rust-lang.github.io/rust-clippy/master/index.html#chars_next_cmp | |
2010 | [`checked_conversions`]: https://rust-lang.github.io/rust-clippy/master/index.html#checked_conversions | |
2011 | [`clone_double_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#clone_double_ref | |
2012 | [`clone_on_copy`]: https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy | |
2013 | [`clone_on_ref_ptr`]: https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_ref_ptr | |
2014 | [`cmp_nan`]: https://rust-lang.github.io/rust-clippy/master/index.html#cmp_nan | |
2015 | [`cmp_null`]: https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null | |
2016 | [`cmp_owned`]: https://rust-lang.github.io/rust-clippy/master/index.html#cmp_owned | |
2017 | [`cognitive_complexity`]: https://rust-lang.github.io/rust-clippy/master/index.html#cognitive_complexity | |
2018 | [`collapsible_else_if`]: https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_else_if | |
2019 | [`collapsible_if`]: https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if | |
2020 | [`collapsible_match`]: https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match | |
2021 | [`comparison_chain`]: https://rust-lang.github.io/rust-clippy/master/index.html#comparison_chain | |
2022 | [`comparison_to_empty`]: https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty | |
2023 | [`copy_iterator`]: https://rust-lang.github.io/rust-clippy/master/index.html#copy_iterator | |
2024 | [`create_dir`]: https://rust-lang.github.io/rust-clippy/master/index.html#create_dir | |
2025 | [`crosspointer_transmute`]: https://rust-lang.github.io/rust-clippy/master/index.html#crosspointer_transmute | |
2026 | [`dbg_macro`]: https://rust-lang.github.io/rust-clippy/master/index.html#dbg_macro | |
2027 | [`debug_assert_with_mut_call`]: https://rust-lang.github.io/rust-clippy/master/index.html#debug_assert_with_mut_call | |
2028 | [`decimal_literal_representation`]: https://rust-lang.github.io/rust-clippy/master/index.html#decimal_literal_representation | |
2029 | [`declare_interior_mutable_const`]: https://rust-lang.github.io/rust-clippy/master/index.html#declare_interior_mutable_const | |
2030 | [`default_numeric_fallback`]: https://rust-lang.github.io/rust-clippy/master/index.html#default_numeric_fallback | |
2031 | [`default_trait_access`]: https://rust-lang.github.io/rust-clippy/master/index.html#default_trait_access | |
2032 | [`deprecated_cfg_attr`]: https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_cfg_attr | |
2033 | [`deprecated_semver`]: https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_semver | |
2034 | [`deref_addrof`]: https://rust-lang.github.io/rust-clippy/master/index.html#deref_addrof | |
2035 | [`derive_hash_xor_eq`]: https://rust-lang.github.io/rust-clippy/master/index.html#derive_hash_xor_eq | |
2036 | [`derive_ord_xor_partial_ord`]: https://rust-lang.github.io/rust-clippy/master/index.html#derive_ord_xor_partial_ord | |
2037 | [`disallowed_method`]: https://rust-lang.github.io/rust-clippy/master/index.html#disallowed_method | |
2038 | [`diverging_sub_expression`]: https://rust-lang.github.io/rust-clippy/master/index.html#diverging_sub_expression | |
2039 | [`doc_markdown`]: https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown | |
2040 | [`double_comparisons`]: https://rust-lang.github.io/rust-clippy/master/index.html#double_comparisons | |
2041 | [`double_must_use`]: https://rust-lang.github.io/rust-clippy/master/index.html#double_must_use | |
2042 | [`double_neg`]: https://rust-lang.github.io/rust-clippy/master/index.html#double_neg | |
2043 | [`double_parens`]: https://rust-lang.github.io/rust-clippy/master/index.html#double_parens | |
2044 | [`drop_bounds`]: https://rust-lang.github.io/rust-clippy/master/index.html#drop_bounds | |
2045 | [`drop_copy`]: https://rust-lang.github.io/rust-clippy/master/index.html#drop_copy | |
2046 | [`drop_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#drop_ref | |
2047 | [`duplicate_underscore_argument`]: https://rust-lang.github.io/rust-clippy/master/index.html#duplicate_underscore_argument | |
2048 | [`duration_subsec`]: https://rust-lang.github.io/rust-clippy/master/index.html#duration_subsec | |
2049 | [`else_if_without_else`]: https://rust-lang.github.io/rust-clippy/master/index.html#else_if_without_else | |
2050 | [`empty_enum`]: https://rust-lang.github.io/rust-clippy/master/index.html#empty_enum | |
2051 | [`empty_line_after_outer_attr`]: https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_outer_attr | |
2052 | [`empty_loop`]: https://rust-lang.github.io/rust-clippy/master/index.html#empty_loop | |
2053 | [`enum_clike_unportable_variant`]: https://rust-lang.github.io/rust-clippy/master/index.html#enum_clike_unportable_variant | |
2054 | [`enum_glob_use`]: https://rust-lang.github.io/rust-clippy/master/index.html#enum_glob_use | |
2055 | [`enum_variant_names`]: https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names | |
2056 | [`eq_op`]: https://rust-lang.github.io/rust-clippy/master/index.html#eq_op | |
2057 | [`erasing_op`]: https://rust-lang.github.io/rust-clippy/master/index.html#erasing_op | |
2058 | [`eval_order_dependence`]: https://rust-lang.github.io/rust-clippy/master/index.html#eval_order_dependence | |
2059 | [`excessive_precision`]: https://rust-lang.github.io/rust-clippy/master/index.html#excessive_precision | |
2060 | [`exhaustive_enums`]: https://rust-lang.github.io/rust-clippy/master/index.html#exhaustive_enums | |
2061 | [`exhaustive_structs`]: https://rust-lang.github.io/rust-clippy/master/index.html#exhaustive_structs | |
2062 | [`exit`]: https://rust-lang.github.io/rust-clippy/master/index.html#exit | |
2063 | [`expect_fun_call`]: https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call | |
2064 | [`expect_used`]: https://rust-lang.github.io/rust-clippy/master/index.html#expect_used | |
2065 | [`expl_impl_clone_on_copy`]: https://rust-lang.github.io/rust-clippy/master/index.html#expl_impl_clone_on_copy | |
2066 | [`explicit_counter_loop`]: https://rust-lang.github.io/rust-clippy/master/index.html#explicit_counter_loop | |
2067 | [`explicit_deref_methods`]: https://rust-lang.github.io/rust-clippy/master/index.html#explicit_deref_methods | |
2068 | [`explicit_into_iter_loop`]: https://rust-lang.github.io/rust-clippy/master/index.html#explicit_into_iter_loop | |
2069 | [`explicit_iter_loop`]: https://rust-lang.github.io/rust-clippy/master/index.html#explicit_iter_loop | |
2070 | [`explicit_write`]: https://rust-lang.github.io/rust-clippy/master/index.html#explicit_write | |
2071 | [`extend_from_slice`]: https://rust-lang.github.io/rust-clippy/master/index.html#extend_from_slice | |
2072 | [`extra_unused_lifetimes`]: https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes | |
2073 | [`fallible_impl_from`]: https://rust-lang.github.io/rust-clippy/master/index.html#fallible_impl_from | |
2074 | [`field_reassign_with_default`]: https://rust-lang.github.io/rust-clippy/master/index.html#field_reassign_with_default | |
2075 | [`filetype_is_file`]: https://rust-lang.github.io/rust-clippy/master/index.html#filetype_is_file | |
2076 | [`filter_map`]: https://rust-lang.github.io/rust-clippy/master/index.html#filter_map | |
2077 | [`filter_map_identity`]: https://rust-lang.github.io/rust-clippy/master/index.html#filter_map_identity | |
2078 | [`filter_map_next`]: https://rust-lang.github.io/rust-clippy/master/index.html#filter_map_next | |
2079 | [`filter_next`]: https://rust-lang.github.io/rust-clippy/master/index.html#filter_next | |
2080 | [`find_map`]: https://rust-lang.github.io/rust-clippy/master/index.html#find_map | |
2081 | [`flat_map_identity`]: https://rust-lang.github.io/rust-clippy/master/index.html#flat_map_identity | |
2082 | [`float_arithmetic`]: https://rust-lang.github.io/rust-clippy/master/index.html#float_arithmetic | |
2083 | [`float_cmp`]: https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp | |
2084 | [`float_cmp_const`]: https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp_const | |
2085 | [`float_equality_without_abs`]: https://rust-lang.github.io/rust-clippy/master/index.html#float_equality_without_abs | |
2086 | [`fn_address_comparisons`]: https://rust-lang.github.io/rust-clippy/master/index.html#fn_address_comparisons | |
2087 | [`fn_params_excessive_bools`]: https://rust-lang.github.io/rust-clippy/master/index.html#fn_params_excessive_bools | |
2088 | [`fn_to_numeric_cast`]: https://rust-lang.github.io/rust-clippy/master/index.html#fn_to_numeric_cast | |
2089 | [`fn_to_numeric_cast_with_truncation`]: https://rust-lang.github.io/rust-clippy/master/index.html#fn_to_numeric_cast_with_truncation | |
2090 | [`for_kv_map`]: https://rust-lang.github.io/rust-clippy/master/index.html#for_kv_map | |
2091 | [`for_loops_over_fallibles`]: https://rust-lang.github.io/rust-clippy/master/index.html#for_loops_over_fallibles | |
2092 | [`forget_copy`]: https://rust-lang.github.io/rust-clippy/master/index.html#forget_copy | |
2093 | [`forget_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#forget_ref | |
2094 | [`from_iter_instead_of_collect`]: https://rust-lang.github.io/rust-clippy/master/index.html#from_iter_instead_of_collect | |
2095 | [`from_over_into`]: https://rust-lang.github.io/rust-clippy/master/index.html#from_over_into | |
2096 | [`from_str_radix_10`]: https://rust-lang.github.io/rust-clippy/master/index.html#from_str_radix_10 | |
2097 | [`future_not_send`]: https://rust-lang.github.io/rust-clippy/master/index.html#future_not_send | |
2098 | [`get_last_with_len`]: https://rust-lang.github.io/rust-clippy/master/index.html#get_last_with_len | |
2099 | [`get_unwrap`]: https://rust-lang.github.io/rust-clippy/master/index.html#get_unwrap | |
2100 | [`identity_op`]: https://rust-lang.github.io/rust-clippy/master/index.html#identity_op | |
2101 | [`if_let_mutex`]: https://rust-lang.github.io/rust-clippy/master/index.html#if_let_mutex | |
2102 | [`if_let_redundant_pattern_matching`]: https://rust-lang.github.io/rust-clippy/master/index.html#if_let_redundant_pattern_matching | |
2103 | [`if_let_some_result`]: https://rust-lang.github.io/rust-clippy/master/index.html#if_let_some_result | |
2104 | [`if_not_else`]: https://rust-lang.github.io/rust-clippy/master/index.html#if_not_else | |
2105 | [`if_same_then_else`]: https://rust-lang.github.io/rust-clippy/master/index.html#if_same_then_else | |
2106 | [`ifs_same_cond`]: https://rust-lang.github.io/rust-clippy/master/index.html#ifs_same_cond | |
2107 | [`implicit_clone`]: https://rust-lang.github.io/rust-clippy/master/index.html#implicit_clone | |
2108 | [`implicit_hasher`]: https://rust-lang.github.io/rust-clippy/master/index.html#implicit_hasher | |
2109 | [`implicit_return`]: https://rust-lang.github.io/rust-clippy/master/index.html#implicit_return | |
2110 | [`implicit_saturating_sub`]: https://rust-lang.github.io/rust-clippy/master/index.html#implicit_saturating_sub | |
2111 | [`imprecise_flops`]: https://rust-lang.github.io/rust-clippy/master/index.html#imprecise_flops | |
2112 | [`inconsistent_digit_grouping`]: https://rust-lang.github.io/rust-clippy/master/index.html#inconsistent_digit_grouping | |
2113 | [`inconsistent_struct_constructor`]: https://rust-lang.github.io/rust-clippy/master/index.html#inconsistent_struct_constructor | |
2114 | [`indexing_slicing`]: https://rust-lang.github.io/rust-clippy/master/index.html#indexing_slicing | |
2115 | [`ineffective_bit_mask`]: https://rust-lang.github.io/rust-clippy/master/index.html#ineffective_bit_mask | |
2116 | [`inefficient_to_string`]: https://rust-lang.github.io/rust-clippy/master/index.html#inefficient_to_string | |
2117 | [`infallible_destructuring_match`]: https://rust-lang.github.io/rust-clippy/master/index.html#infallible_destructuring_match | |
2118 | [`infinite_iter`]: https://rust-lang.github.io/rust-clippy/master/index.html#infinite_iter | |
2119 | [`inherent_to_string`]: https://rust-lang.github.io/rust-clippy/master/index.html#inherent_to_string | |
2120 | [`inherent_to_string_shadow_display`]: https://rust-lang.github.io/rust-clippy/master/index.html#inherent_to_string_shadow_display | |
2121 | [`inline_always`]: https://rust-lang.github.io/rust-clippy/master/index.html#inline_always | |
2122 | [`inline_asm_x86_att_syntax`]: https://rust-lang.github.io/rust-clippy/master/index.html#inline_asm_x86_att_syntax | |
2123 | [`inline_asm_x86_intel_syntax`]: https://rust-lang.github.io/rust-clippy/master/index.html#inline_asm_x86_intel_syntax | |
2124 | [`inline_fn_without_body`]: https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body | |
2125 | [`inspect_for_each`]: https://rust-lang.github.io/rust-clippy/master/index.html#inspect_for_each | |
2126 | [`int_plus_one`]: https://rust-lang.github.io/rust-clippy/master/index.html#int_plus_one | |
2127 | [`integer_arithmetic`]: https://rust-lang.github.io/rust-clippy/master/index.html#integer_arithmetic | |
2128 | [`integer_division`]: https://rust-lang.github.io/rust-clippy/master/index.html#integer_division | |
2129 | [`into_iter_on_array`]: https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_array | |
2130 | [`into_iter_on_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref | |
2131 | [`invalid_atomic_ordering`]: https://rust-lang.github.io/rust-clippy/master/index.html#invalid_atomic_ordering | |
2132 | [`invalid_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#invalid_ref | |
2133 | [`invalid_regex`]: https://rust-lang.github.io/rust-clippy/master/index.html#invalid_regex | |
2134 | [`invalid_upcast_comparisons`]: https://rust-lang.github.io/rust-clippy/master/index.html#invalid_upcast_comparisons | |
2135 | [`invisible_characters`]: https://rust-lang.github.io/rust-clippy/master/index.html#invisible_characters | |
2136 | [`items_after_statements`]: https://rust-lang.github.io/rust-clippy/master/index.html#items_after_statements | |
2137 | [`iter_cloned_collect`]: https://rust-lang.github.io/rust-clippy/master/index.html#iter_cloned_collect | |
2138 | [`iter_count`]: https://rust-lang.github.io/rust-clippy/master/index.html#iter_count | |
2139 | [`iter_next_loop`]: https://rust-lang.github.io/rust-clippy/master/index.html#iter_next_loop | |
2140 | [`iter_next_slice`]: https://rust-lang.github.io/rust-clippy/master/index.html#iter_next_slice | |
2141 | [`iter_nth`]: https://rust-lang.github.io/rust-clippy/master/index.html#iter_nth | |
2142 | [`iter_nth_zero`]: https://rust-lang.github.io/rust-clippy/master/index.html#iter_nth_zero | |
2143 | [`iter_skip_next`]: https://rust-lang.github.io/rust-clippy/master/index.html#iter_skip_next | |
2144 | [`iterator_step_by_zero`]: https://rust-lang.github.io/rust-clippy/master/index.html#iterator_step_by_zero | |
2145 | [`just_underscores_and_digits`]: https://rust-lang.github.io/rust-clippy/master/index.html#just_underscores_and_digits | |
2146 | [`large_const_arrays`]: https://rust-lang.github.io/rust-clippy/master/index.html#large_const_arrays | |
2147 | [`large_digit_groups`]: https://rust-lang.github.io/rust-clippy/master/index.html#large_digit_groups | |
2148 | [`large_enum_variant`]: https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant | |
2149 | [`large_stack_arrays`]: https://rust-lang.github.io/rust-clippy/master/index.html#large_stack_arrays | |
2150 | [`large_types_passed_by_value`]: https://rust-lang.github.io/rust-clippy/master/index.html#large_types_passed_by_value | |
2151 | [`len_without_is_empty`]: https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty | |
2152 | [`len_zero`]: https://rust-lang.github.io/rust-clippy/master/index.html#len_zero | |
2153 | [`let_and_return`]: https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return | |
2154 | [`let_underscore_drop`]: https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_drop | |
2155 | [`let_underscore_lock`]: https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_lock | |
2156 | [`let_underscore_must_use`]: https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_must_use | |
2157 | [`let_unit_value`]: https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value | |
2158 | [`linkedlist`]: https://rust-lang.github.io/rust-clippy/master/index.html#linkedlist | |
2159 | [`logic_bug`]: https://rust-lang.github.io/rust-clippy/master/index.html#logic_bug | |
2160 | [`lossy_float_literal`]: https://rust-lang.github.io/rust-clippy/master/index.html#lossy_float_literal | |
2161 | [`macro_use_imports`]: https://rust-lang.github.io/rust-clippy/master/index.html#macro_use_imports | |
2162 | [`main_recursion`]: https://rust-lang.github.io/rust-clippy/master/index.html#main_recursion | |
2163 | [`manual_async_fn`]: https://rust-lang.github.io/rust-clippy/master/index.html#manual_async_fn | |
2164 | [`manual_filter_map`]: https://rust-lang.github.io/rust-clippy/master/index.html#manual_filter_map | |
2165 | [`manual_find_map`]: https://rust-lang.github.io/rust-clippy/master/index.html#manual_find_map | |
2166 | [`manual_flatten`]: https://rust-lang.github.io/rust-clippy/master/index.html#manual_flatten | |
2167 | [`manual_map`]: https://rust-lang.github.io/rust-clippy/master/index.html#manual_map | |
2168 | [`manual_memcpy`]: https://rust-lang.github.io/rust-clippy/master/index.html#manual_memcpy | |
2169 | [`manual_non_exhaustive`]: https://rust-lang.github.io/rust-clippy/master/index.html#manual_non_exhaustive | |
2170 | [`manual_ok_or`]: https://rust-lang.github.io/rust-clippy/master/index.html#manual_ok_or | |
2171 | [`manual_range_contains`]: https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains | |
2172 | [`manual_saturating_arithmetic`]: https://rust-lang.github.io/rust-clippy/master/index.html#manual_saturating_arithmetic | |
2173 | [`manual_strip`]: https://rust-lang.github.io/rust-clippy/master/index.html#manual_strip | |
2174 | [`manual_swap`]: https://rust-lang.github.io/rust-clippy/master/index.html#manual_swap | |
2175 | [`manual_unwrap_or`]: https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or | |
2176 | [`many_single_char_names`]: https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names | |
2177 | [`map_clone`]: https://rust-lang.github.io/rust-clippy/master/index.html#map_clone | |
2178 | [`map_collect_result_unit`]: https://rust-lang.github.io/rust-clippy/master/index.html#map_collect_result_unit | |
2179 | [`map_entry`]: https://rust-lang.github.io/rust-clippy/master/index.html#map_entry | |
2180 | [`map_err_ignore`]: https://rust-lang.github.io/rust-clippy/master/index.html#map_err_ignore | |
2181 | [`map_flatten`]: https://rust-lang.github.io/rust-clippy/master/index.html#map_flatten | |
2182 | [`map_identity`]: https://rust-lang.github.io/rust-clippy/master/index.html#map_identity | |
2183 | [`map_unwrap_or`]: https://rust-lang.github.io/rust-clippy/master/index.html#map_unwrap_or | |
2184 | [`match_as_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#match_as_ref | |
2185 | [`match_bool`]: https://rust-lang.github.io/rust-clippy/master/index.html#match_bool | |
2186 | [`match_like_matches_macro`]: https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro | |
2187 | [`match_on_vec_items`]: https://rust-lang.github.io/rust-clippy/master/index.html#match_on_vec_items | |
2188 | [`match_overlapping_arm`]: https://rust-lang.github.io/rust-clippy/master/index.html#match_overlapping_arm | |
2189 | [`match_ref_pats`]: https://rust-lang.github.io/rust-clippy/master/index.html#match_ref_pats | |
2190 | [`match_same_arms`]: https://rust-lang.github.io/rust-clippy/master/index.html#match_same_arms | |
2191 | [`match_single_binding`]: https://rust-lang.github.io/rust-clippy/master/index.html#match_single_binding | |
2192 | [`match_wild_err_arm`]: https://rust-lang.github.io/rust-clippy/master/index.html#match_wild_err_arm | |
2193 | [`match_wildcard_for_single_variants`]: https://rust-lang.github.io/rust-clippy/master/index.html#match_wildcard_for_single_variants | |
2194 | [`maybe_infinite_iter`]: https://rust-lang.github.io/rust-clippy/master/index.html#maybe_infinite_iter | |
2195 | [`mem_discriminant_non_enum`]: https://rust-lang.github.io/rust-clippy/master/index.html#mem_discriminant_non_enum | |
2196 | [`mem_forget`]: https://rust-lang.github.io/rust-clippy/master/index.html#mem_forget | |
2197 | [`mem_replace_option_with_none`]: https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_option_with_none | |
2198 | [`mem_replace_with_default`]: https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_with_default | |
2199 | [`mem_replace_with_uninit`]: https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_with_uninit | |
2200 | [`min_max`]: https://rust-lang.github.io/rust-clippy/master/index.html#min_max | |
2201 | [`misaligned_transmute`]: https://rust-lang.github.io/rust-clippy/master/index.html#misaligned_transmute | |
2202 | [`mismatched_target_os`]: https://rust-lang.github.io/rust-clippy/master/index.html#mismatched_target_os | |
2203 | [`misrefactored_assign_op`]: https://rust-lang.github.io/rust-clippy/master/index.html#misrefactored_assign_op | |
2204 | [`missing_const_for_fn`]: https://rust-lang.github.io/rust-clippy/master/index.html#missing_const_for_fn | |
2205 | [`missing_docs_in_private_items`]: https://rust-lang.github.io/rust-clippy/master/index.html#missing_docs_in_private_items | |
2206 | [`missing_errors_doc`]: https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc | |
2207 | [`missing_inline_in_public_items`]: https://rust-lang.github.io/rust-clippy/master/index.html#missing_inline_in_public_items | |
2208 | [`missing_panics_doc`]: https://rust-lang.github.io/rust-clippy/master/index.html#missing_panics_doc | |
2209 | [`missing_safety_doc`]: https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc | |
2210 | [`mistyped_literal_suffixes`]: https://rust-lang.github.io/rust-clippy/master/index.html#mistyped_literal_suffixes | |
2211 | [`mixed_case_hex_literals`]: https://rust-lang.github.io/rust-clippy/master/index.html#mixed_case_hex_literals | |
2212 | [`module_inception`]: https://rust-lang.github.io/rust-clippy/master/index.html#module_inception | |
2213 | [`module_name_repetitions`]: https://rust-lang.github.io/rust-clippy/master/index.html#module_name_repetitions | |
2214 | [`modulo_arithmetic`]: https://rust-lang.github.io/rust-clippy/master/index.html#modulo_arithmetic | |
2215 | [`modulo_one`]: https://rust-lang.github.io/rust-clippy/master/index.html#modulo_one | |
2216 | [`multiple_crate_versions`]: https://rust-lang.github.io/rust-clippy/master/index.html#multiple_crate_versions | |
2217 | [`multiple_inherent_impl`]: https://rust-lang.github.io/rust-clippy/master/index.html#multiple_inherent_impl | |
2218 | [`must_use_candidate`]: https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate | |
2219 | [`must_use_unit`]: https://rust-lang.github.io/rust-clippy/master/index.html#must_use_unit | |
2220 | [`mut_from_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#mut_from_ref | |
2221 | [`mut_mut`]: https://rust-lang.github.io/rust-clippy/master/index.html#mut_mut | |
2222 | [`mut_mutex_lock`]: https://rust-lang.github.io/rust-clippy/master/index.html#mut_mutex_lock | |
2223 | [`mut_range_bound`]: https://rust-lang.github.io/rust-clippy/master/index.html#mut_range_bound | |
2224 | [`mutable_key_type`]: https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type | |
2225 | [`mutex_atomic`]: https://rust-lang.github.io/rust-clippy/master/index.html#mutex_atomic | |
2226 | [`mutex_integer`]: https://rust-lang.github.io/rust-clippy/master/index.html#mutex_integer | |
2227 | [`naive_bytecount`]: https://rust-lang.github.io/rust-clippy/master/index.html#naive_bytecount | |
2228 | [`needless_arbitrary_self_type`]: https://rust-lang.github.io/rust-clippy/master/index.html#needless_arbitrary_self_type | |
2229 | [`needless_bool`]: https://rust-lang.github.io/rust-clippy/master/index.html#needless_bool | |
2230 | [`needless_borrow`]: https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow | |
2231 | [`needless_borrowed_reference`]: https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrowed_reference | |
2232 | [`needless_collect`]: https://rust-lang.github.io/rust-clippy/master/index.html#needless_collect | |
2233 | [`needless_continue`]: https://rust-lang.github.io/rust-clippy/master/index.html#needless_continue | |
2234 | [`needless_doctest_main`]: https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main | |
2235 | [`needless_lifetimes`]: https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes | |
2236 | [`needless_pass_by_value`]: https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value | |
2237 | [`needless_question_mark`]: https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark | |
2238 | [`needless_range_loop`]: https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop | |
2239 | [`needless_return`]: https://rust-lang.github.io/rust-clippy/master/index.html#needless_return | |
2240 | [`needless_update`]: https://rust-lang.github.io/rust-clippy/master/index.html#needless_update | |
2241 | [`neg_cmp_op_on_partial_ord`]: https://rust-lang.github.io/rust-clippy/master/index.html#neg_cmp_op_on_partial_ord | |
2242 | [`neg_multiply`]: https://rust-lang.github.io/rust-clippy/master/index.html#neg_multiply | |
2243 | [`never_loop`]: https://rust-lang.github.io/rust-clippy/master/index.html#never_loop | |
2244 | [`new_ret_no_self`]: https://rust-lang.github.io/rust-clippy/master/index.html#new_ret_no_self | |
2245 | [`new_without_default`]: https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default | |
2246 | [`no_effect`]: https://rust-lang.github.io/rust-clippy/master/index.html#no_effect | |
2247 | [`non_ascii_literal`]: https://rust-lang.github.io/rust-clippy/master/index.html#non_ascii_literal | |
2248 | [`nonminimal_bool`]: https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool | |
2249 | [`nonsensical_open_options`]: https://rust-lang.github.io/rust-clippy/master/index.html#nonsensical_open_options | |
2250 | [`not_unsafe_ptr_arg_deref`]: https://rust-lang.github.io/rust-clippy/master/index.html#not_unsafe_ptr_arg_deref | |
2251 | [`ok_expect`]: https://rust-lang.github.io/rust-clippy/master/index.html#ok_expect | |
2252 | [`op_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#op_ref | |
2253 | [`option_as_ref_deref`]: https://rust-lang.github.io/rust-clippy/master/index.html#option_as_ref_deref | |
2254 | [`option_env_unwrap`]: https://rust-lang.github.io/rust-clippy/master/index.html#option_env_unwrap | |
2255 | [`option_if_let_else`]: https://rust-lang.github.io/rust-clippy/master/index.html#option_if_let_else | |
2256 | [`option_map_or_none`]: https://rust-lang.github.io/rust-clippy/master/index.html#option_map_or_none | |
2257 | [`option_map_unit_fn`]: https://rust-lang.github.io/rust-clippy/master/index.html#option_map_unit_fn | |
2258 | [`option_option`]: https://rust-lang.github.io/rust-clippy/master/index.html#option_option | |
2259 | [`or_fun_call`]: https://rust-lang.github.io/rust-clippy/master/index.html#or_fun_call | |
2260 | [`out_of_bounds_indexing`]: https://rust-lang.github.io/rust-clippy/master/index.html#out_of_bounds_indexing | |
2261 | [`overflow_check_conditional`]: https://rust-lang.github.io/rust-clippy/master/index.html#overflow_check_conditional | |
2262 | [`panic`]: https://rust-lang.github.io/rust-clippy/master/index.html#panic | |
2263 | [`panic_in_result_fn`]: https://rust-lang.github.io/rust-clippy/master/index.html#panic_in_result_fn | |
2264 | [`panic_params`]: https://rust-lang.github.io/rust-clippy/master/index.html#panic_params | |
2265 | [`panicking_unwrap`]: https://rust-lang.github.io/rust-clippy/master/index.html#panicking_unwrap | |
2266 | [`partialeq_ne_impl`]: https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_ne_impl | |
2267 | [`path_buf_push_overwrite`]: https://rust-lang.github.io/rust-clippy/master/index.html#path_buf_push_overwrite | |
2268 | [`pattern_type_mismatch`]: https://rust-lang.github.io/rust-clippy/master/index.html#pattern_type_mismatch | |
2269 | [`possible_missing_comma`]: https://rust-lang.github.io/rust-clippy/master/index.html#possible_missing_comma | |
2270 | [`precedence`]: https://rust-lang.github.io/rust-clippy/master/index.html#precedence | |
2271 | [`print_literal`]: https://rust-lang.github.io/rust-clippy/master/index.html#print_literal | |
2272 | [`print_stderr`]: https://rust-lang.github.io/rust-clippy/master/index.html#print_stderr | |
2273 | [`print_stdout`]: https://rust-lang.github.io/rust-clippy/master/index.html#print_stdout | |
2274 | [`print_with_newline`]: https://rust-lang.github.io/rust-clippy/master/index.html#print_with_newline | |
2275 | [`println_empty_string`]: https://rust-lang.github.io/rust-clippy/master/index.html#println_empty_string | |
2276 | [`ptr_arg`]: https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg | |
2277 | [`ptr_as_ptr`]: https://rust-lang.github.io/rust-clippy/master/index.html#ptr_as_ptr | |
2278 | [`ptr_eq`]: https://rust-lang.github.io/rust-clippy/master/index.html#ptr_eq | |
2279 | [`ptr_offset_with_cast`]: https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast | |
2280 | [`pub_enum_variant_names`]: https://rust-lang.github.io/rust-clippy/master/index.html#pub_enum_variant_names | |
2281 | [`question_mark`]: https://rust-lang.github.io/rust-clippy/master/index.html#question_mark | |
2282 | [`range_minus_one`]: https://rust-lang.github.io/rust-clippy/master/index.html#range_minus_one | |
2283 | [`range_plus_one`]: https://rust-lang.github.io/rust-clippy/master/index.html#range_plus_one | |
2284 | [`range_step_by_zero`]: https://rust-lang.github.io/rust-clippy/master/index.html#range_step_by_zero | |
2285 | [`range_zip_with_len`]: https://rust-lang.github.io/rust-clippy/master/index.html#range_zip_with_len | |
2286 | [`rc_buffer`]: https://rust-lang.github.io/rust-clippy/master/index.html#rc_buffer | |
2287 | [`redundant_allocation`]: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_allocation | |
2288 | [`redundant_clone`]: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone | |
2289 | [`redundant_closure`]: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure | |
2290 | [`redundant_closure_call`]: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call | |
2291 | [`redundant_closure_for_method_calls`]: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_for_method_calls | |
2292 | [`redundant_else`]: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_else | |
2293 | [`redundant_field_names`]: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names | |
2294 | [`redundant_pattern`]: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern | |
2295 | [`redundant_pattern_matching`]: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching | |
2296 | [`redundant_pub_crate`]: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pub_crate | |
2297 | [`redundant_slicing`]: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing | |
2298 | [`redundant_static_lifetimes`]: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes | |
2299 | [`ref_in_deref`]: https://rust-lang.github.io/rust-clippy/master/index.html#ref_in_deref | |
2300 | [`ref_option_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#ref_option_ref | |
2301 | [`regex_macro`]: https://rust-lang.github.io/rust-clippy/master/index.html#regex_macro | |
2302 | [`repeat_once`]: https://rust-lang.github.io/rust-clippy/master/index.html#repeat_once | |
2303 | [`replace_consts`]: https://rust-lang.github.io/rust-clippy/master/index.html#replace_consts | |
2304 | [`rest_pat_in_fully_bound_structs`]: https://rust-lang.github.io/rust-clippy/master/index.html#rest_pat_in_fully_bound_structs | |
2305 | [`result_map_or_into_option`]: https://rust-lang.github.io/rust-clippy/master/index.html#result_map_or_into_option | |
2306 | [`result_map_unit_fn`]: https://rust-lang.github.io/rust-clippy/master/index.html#result_map_unit_fn | |
2307 | [`result_unit_err`]: https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err | |
2308 | [`reversed_empty_ranges`]: https://rust-lang.github.io/rust-clippy/master/index.html#reversed_empty_ranges | |
2309 | [`same_functions_in_if_condition`]: https://rust-lang.github.io/rust-clippy/master/index.html#same_functions_in_if_condition | |
2310 | [`same_item_push`]: https://rust-lang.github.io/rust-clippy/master/index.html#same_item_push | |
2311 | [`search_is_some`]: https://rust-lang.github.io/rust-clippy/master/index.html#search_is_some | |
2312 | [`self_assignment`]: https://rust-lang.github.io/rust-clippy/master/index.html#self_assignment | |
2313 | [`semicolon_if_nothing_returned`]: https://rust-lang.github.io/rust-clippy/master/index.html#semicolon_if_nothing_returned | |
2314 | [`serde_api_misuse`]: https://rust-lang.github.io/rust-clippy/master/index.html#serde_api_misuse | |
2315 | [`shadow_reuse`]: https://rust-lang.github.io/rust-clippy/master/index.html#shadow_reuse | |
2316 | [`shadow_same`]: https://rust-lang.github.io/rust-clippy/master/index.html#shadow_same | |
2317 | [`shadow_unrelated`]: https://rust-lang.github.io/rust-clippy/master/index.html#shadow_unrelated | |
2318 | [`short_circuit_statement`]: https://rust-lang.github.io/rust-clippy/master/index.html#short_circuit_statement | |
2319 | [`should_assert_eq`]: https://rust-lang.github.io/rust-clippy/master/index.html#should_assert_eq | |
2320 | [`should_implement_trait`]: https://rust-lang.github.io/rust-clippy/master/index.html#should_implement_trait | |
2321 | [`similar_names`]: https://rust-lang.github.io/rust-clippy/master/index.html#similar_names | |
2322 | [`single_char_add_str`]: https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str | |
2323 | [`single_char_pattern`]: https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern | |
2324 | [`single_component_path_imports`]: https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports | |
2325 | [`single_element_loop`]: https://rust-lang.github.io/rust-clippy/master/index.html#single_element_loop | |
2326 | [`single_match`]: https://rust-lang.github.io/rust-clippy/master/index.html#single_match | |
2327 | [`single_match_else`]: https://rust-lang.github.io/rust-clippy/master/index.html#single_match_else | |
2328 | [`size_of_in_element_count`]: https://rust-lang.github.io/rust-clippy/master/index.html#size_of_in_element_count | |
2329 | [`skip_while_next`]: https://rust-lang.github.io/rust-clippy/master/index.html#skip_while_next | |
2330 | [`slow_vector_initialization`]: https://rust-lang.github.io/rust-clippy/master/index.html#slow_vector_initialization | |
2331 | [`stable_sort_primitive`]: https://rust-lang.github.io/rust-clippy/master/index.html#stable_sort_primitive | |
2332 | [`str_to_string`]: https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
2333 | [`string_add`]: https://rust-lang.github.io/rust-clippy/master/index.html#string_add | |
2334 | [`string_add_assign`]: https://rust-lang.github.io/rust-clippy/master/index.html#string_add_assign | |
2335 | [`string_extend_chars`]: https://rust-lang.github.io/rust-clippy/master/index.html#string_extend_chars | |
2336 | [`string_from_utf8_as_bytes`]: https://rust-lang.github.io/rust-clippy/master/index.html#string_from_utf8_as_bytes | |
2337 | [`string_lit_as_bytes`]: https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes | |
2338 | [`string_to_string`]: https://rust-lang.github.io/rust-clippy/master/index.html#string_to_string | |
2339 | [`struct_excessive_bools`]: https://rust-lang.github.io/rust-clippy/master/index.html#struct_excessive_bools | |
2340 | [`suboptimal_flops`]: https://rust-lang.github.io/rust-clippy/master/index.html#suboptimal_flops | |
2341 | [`suspicious_arithmetic_impl`]: https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_arithmetic_impl | |
2342 | [`suspicious_assignment_formatting`]: https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_assignment_formatting | |
2343 | [`suspicious_else_formatting`]: https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_else_formatting | |
2344 | [`suspicious_map`]: https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_map | |
2345 | [`suspicious_op_assign_impl`]: https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_op_assign_impl | |
2346 | [`suspicious_operation_groupings`]: https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_operation_groupings | |
2347 | [`suspicious_unary_op_formatting`]: https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_unary_op_formatting | |
2348 | [`tabs_in_doc_comments`]: https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments | |
2349 | [`temporary_assignment`]: https://rust-lang.github.io/rust-clippy/master/index.html#temporary_assignment | |
2350 | [`temporary_cstring_as_ptr`]: https://rust-lang.github.io/rust-clippy/master/index.html#temporary_cstring_as_ptr | |
2351 | [`to_digit_is_some`]: https://rust-lang.github.io/rust-clippy/master/index.html#to_digit_is_some | |
2352 | [`to_string_in_display`]: https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_display | |
2353 | [`todo`]: https://rust-lang.github.io/rust-clippy/master/index.html#todo | |
2354 | [`too_many_arguments`]: https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments | |
2355 | [`too_many_lines`]: https://rust-lang.github.io/rust-clippy/master/index.html#too_many_lines | |
2356 | [`toplevel_ref_arg`]: https://rust-lang.github.io/rust-clippy/master/index.html#toplevel_ref_arg | |
2357 | [`trait_duplication_in_bounds`]: https://rust-lang.github.io/rust-clippy/master/index.html#trait_duplication_in_bounds | |
2358 | [`transmute_bytes_to_str`]: https://rust-lang.github.io/rust-clippy/master/index.html#transmute_bytes_to_str | |
2359 | [`transmute_float_to_int`]: https://rust-lang.github.io/rust-clippy/master/index.html#transmute_float_to_int | |
2360 | [`transmute_int_to_bool`]: https://rust-lang.github.io/rust-clippy/master/index.html#transmute_int_to_bool | |
2361 | [`transmute_int_to_char`]: https://rust-lang.github.io/rust-clippy/master/index.html#transmute_int_to_char | |
2362 | [`transmute_int_to_float`]: https://rust-lang.github.io/rust-clippy/master/index.html#transmute_int_to_float | |
2363 | [`transmute_ptr_to_ptr`]: https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ptr | |
2364 | [`transmute_ptr_to_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref | |
2365 | [`transmutes_expressible_as_ptr_casts`]: https://rust-lang.github.io/rust-clippy/master/index.html#transmutes_expressible_as_ptr_casts | |
2366 | [`transmuting_null`]: https://rust-lang.github.io/rust-clippy/master/index.html#transmuting_null | |
2367 | [`trivial_regex`]: https://rust-lang.github.io/rust-clippy/master/index.html#trivial_regex | |
2368 | [`trivially_copy_pass_by_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref | |
2369 | [`try_err`]: https://rust-lang.github.io/rust-clippy/master/index.html#try_err | |
2370 | [`type_complexity`]: https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity | |
2371 | [`type_repetition_in_bounds`]: https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds | |
2372 | [`undropped_manually_drops`]: https://rust-lang.github.io/rust-clippy/master/index.html#undropped_manually_drops | |
2373 | [`unicode_not_nfc`]: https://rust-lang.github.io/rust-clippy/master/index.html#unicode_not_nfc | |
2374 | [`unimplemented`]: https://rust-lang.github.io/rust-clippy/master/index.html#unimplemented | |
2375 | [`uninit_assumed_init`]: https://rust-lang.github.io/rust-clippy/master/index.html#uninit_assumed_init | |
2376 | [`unit_arg`]: https://rust-lang.github.io/rust-clippy/master/index.html#unit_arg | |
2377 | [`unit_cmp`]: https://rust-lang.github.io/rust-clippy/master/index.html#unit_cmp | |
2378 | [`unit_return_expecting_ord`]: https://rust-lang.github.io/rust-clippy/master/index.html#unit_return_expecting_ord | |
2379 | [`unknown_clippy_lints`]: https://rust-lang.github.io/rust-clippy/master/index.html#unknown_clippy_lints | |
2380 | [`unnecessary_cast`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast | |
2381 | [`unnecessary_filter_map`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_filter_map | |
2382 | [`unnecessary_fold`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fold | |
2383 | [`unnecessary_lazy_evaluations`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations | |
2384 | [`unnecessary_mut_passed`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_mut_passed | |
2385 | [`unnecessary_operation`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_operation | |
2386 | [`unnecessary_sort_by`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_sort_by | |
2387 | [`unnecessary_unwrap`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap | |
2388 | [`unnecessary_wraps`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_wraps | |
2389 | [`unneeded_field_pattern`]: https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern | |
2390 | [`unneeded_wildcard_pattern`]: https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_wildcard_pattern | |
2391 | [`unnested_or_patterns`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnested_or_patterns | |
2392 | [`unreachable`]: https://rust-lang.github.io/rust-clippy/master/index.html#unreachable | |
2393 | [`unreadable_literal`]: https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal | |
2394 | [`unsafe_derive_deserialize`]: https://rust-lang.github.io/rust-clippy/master/index.html#unsafe_derive_deserialize | |
2395 | [`unsafe_removed_from_name`]: https://rust-lang.github.io/rust-clippy/master/index.html#unsafe_removed_from_name | |
2396 | [`unsafe_vector_initialization`]: https://rust-lang.github.io/rust-clippy/master/index.html#unsafe_vector_initialization | |
2397 | [`unseparated_literal_suffix`]: https://rust-lang.github.io/rust-clippy/master/index.html#unseparated_literal_suffix | |
2398 | [`unsound_collection_transmute`]: https://rust-lang.github.io/rust-clippy/master/index.html#unsound_collection_transmute | |
2399 | [`unstable_as_mut_slice`]: https://rust-lang.github.io/rust-clippy/master/index.html#unstable_as_mut_slice | |
2400 | [`unstable_as_slice`]: https://rust-lang.github.io/rust-clippy/master/index.html#unstable_as_slice | |
2401 | [`unused_collect`]: https://rust-lang.github.io/rust-clippy/master/index.html#unused_collect | |
2402 | [`unused_io_amount`]: https://rust-lang.github.io/rust-clippy/master/index.html#unused_io_amount | |
2403 | [`unused_label`]: https://rust-lang.github.io/rust-clippy/master/index.html#unused_label | |
2404 | [`unused_self`]: https://rust-lang.github.io/rust-clippy/master/index.html#unused_self | |
2405 | [`unused_unit`]: https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit | |
2406 | [`unusual_byte_groupings`]: https://rust-lang.github.io/rust-clippy/master/index.html#unusual_byte_groupings | |
2407 | [`unwrap_in_result`]: https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_in_result | |
2408 | [`unwrap_used`]: https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used | |
2409 | [`upper_case_acronyms`]: https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms | |
2410 | [`use_debug`]: https://rust-lang.github.io/rust-clippy/master/index.html#use_debug | |
2411 | [`use_self`]: https://rust-lang.github.io/rust-clippy/master/index.html#use_self | |
2412 | [`used_underscore_binding`]: https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_binding | |
2413 | [`useless_asref`]: https://rust-lang.github.io/rust-clippy/master/index.html#useless_asref | |
2414 | [`useless_attribute`]: https://rust-lang.github.io/rust-clippy/master/index.html#useless_attribute | |
2415 | [`useless_conversion`]: https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion | |
2416 | [`useless_format`]: https://rust-lang.github.io/rust-clippy/master/index.html#useless_format | |
2417 | [`useless_let_if_seq`]: https://rust-lang.github.io/rust-clippy/master/index.html#useless_let_if_seq | |
2418 | [`useless_transmute`]: https://rust-lang.github.io/rust-clippy/master/index.html#useless_transmute | |
2419 | [`useless_vec`]: https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec | |
2420 | [`vec_box`]: https://rust-lang.github.io/rust-clippy/master/index.html#vec_box | |
2421 | [`vec_init_then_push`]: https://rust-lang.github.io/rust-clippy/master/index.html#vec_init_then_push | |
2422 | [`vec_resize_to_zero`]: https://rust-lang.github.io/rust-clippy/master/index.html#vec_resize_to_zero | |
2423 | [`verbose_bit_mask`]: https://rust-lang.github.io/rust-clippy/master/index.html#verbose_bit_mask | |
2424 | [`verbose_file_reads`]: https://rust-lang.github.io/rust-clippy/master/index.html#verbose_file_reads | |
2425 | [`vtable_address_comparisons`]: https://rust-lang.github.io/rust-clippy/master/index.html#vtable_address_comparisons | |
2426 | [`while_immutable_condition`]: https://rust-lang.github.io/rust-clippy/master/index.html#while_immutable_condition | |
2427 | [`while_let_loop`]: https://rust-lang.github.io/rust-clippy/master/index.html#while_let_loop | |
2428 | [`while_let_on_iterator`]: https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator | |
2429 | [`wildcard_dependencies`]: https://rust-lang.github.io/rust-clippy/master/index.html#wildcard_dependencies | |
2430 | [`wildcard_enum_match_arm`]: https://rust-lang.github.io/rust-clippy/master/index.html#wildcard_enum_match_arm | |
2431 | [`wildcard_imports`]: https://rust-lang.github.io/rust-clippy/master/index.html#wildcard_imports | |
2432 | [`wildcard_in_or_patterns`]: https://rust-lang.github.io/rust-clippy/master/index.html#wildcard_in_or_patterns | |
2433 | [`write_literal`]: https://rust-lang.github.io/rust-clippy/master/index.html#write_literal | |
2434 | [`write_with_newline`]: https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline | |
2435 | [`writeln_empty_string`]: https://rust-lang.github.io/rust-clippy/master/index.html#writeln_empty_string | |
2436 | [`wrong_pub_self_convention`]: https://rust-lang.github.io/rust-clippy/master/index.html#wrong_pub_self_convention | |
2437 | [`wrong_self_convention`]: https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention | |
2438 | [`wrong_transmute`]: https://rust-lang.github.io/rust-clippy/master/index.html#wrong_transmute | |
2439 | [`zero_divided_by_zero`]: https://rust-lang.github.io/rust-clippy/master/index.html#zero_divided_by_zero | |
2440 | [`zero_prefixed_literal`]: https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal | |
2441 | [`zero_ptr`]: https://rust-lang.github.io/rust-clippy/master/index.html#zero_ptr | |
2442 | [`zero_sized_map_values`]: https://rust-lang.github.io/rust-clippy/master/index.html#zero_sized_map_values | |
2443 | [`zst_offset`]: https://rust-lang.github.io/rust-clippy/master/index.html#zst_offset | |
2444 | <!-- end autogenerated links to lint list --> |