Skip to content

File tree

7 files changed

+213
-126
lines changed

7 files changed

+213
-126
lines changed

CHANGELOG.md

Lines changed: 54 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -203,29 +203,29 @@ Released 2019-07-04
203203

204204
[eb9f9b1...082cfa7](https://github.com/rust-lang/rust-clippy/compare/eb9f9b1...082cfa7)
205205

206-
* New lints: [`find_map`], [`filter_map_next`] [#4039](https://github.com/rust-lang/rust-clippy/pull/4039)
207-
* New lint: [`path_buf_push_overwrite`] [#3954](https://github.com/rust-lang/rust-clippy/pull/3954)
208-
* Move `path_buf_push_overwrite` to the nursery [#4013](https://github.com/rust-lang/rust-clippy/pull/4013)
209-
* Split [`redundant_closure`] into [`redundant_closure`] and [`redundant_closure_for_method_calls`] [#4110](https://github.com/rust-lang/rust-clippy/pull/4101)
210-
* Allow allowing of [`toplevel_ref_arg`] lint [#4007](https://github.com/rust-lang/rust-clippy/pull/4007)
211-
* Fix false negative in [`or_fun_call`] pertaining to nested constructors [#4084](https://github.com/rust-lang/rust-clippy/pull/4084)
212-
* Fix false positive in [`or_fn_call`] pertaining to enum variant constructors [#4018](https://github.com/rust-lang/rust-clippy/pull/4018)
213-
* Fix false positive in [`useless_let_if_seq`] pertaining to interior mutability [#4035](https://github.com/rust-lang/rust-clippy/pull/4035)
214-
* Fix false positive in [`redundant_closure`] pertaining to non-function types [#4008](https://github.com/rust-lang/rust-clippy/pull/4008)
215-
* Fix false positive in [`let_and_return`] pertaining to attributes on `let`s [#4024](https://github.com/rust-lang/rust-clippy/pull/4024)
216-
* Fix false positive in [`module_name_repetitions`] lint pertaining to attributes [#4006](https://github.com/rust-lang/rust-clippy/pull/4006)
217-
* Fix false positive on [`assertions_on_constants`] pertaining to `debug_assert!` [#3989](https://github.com/rust-lang/rust-clippy/pull/3989)
218-
* 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)
219-
* Improve suggestion for [`search_is_some`] [#4049](https://github.com/rust-lang/rust-clippy/pull/4049)
220-
* Improve suggestion applicability for [`naive_bytecount`] [#3984](https://github.com/rust-lang/rust-clippy/pull/3984)
221-
* Improve suggestion applicability for [`while_let_loop`] [#3975](https://github.com/rust-lang/rust-clippy/pull/3975)
222-
* Improve diagnostics for [`too_many_arguments`] [#4053](https://github.com/rust-lang/rust-clippy/pull/4053)
223-
* Improve diagnostics for [`cast_lossless`] [#4021](https://github.com/rust-lang/rust-clippy/pull/4021)
224-
* Deal with macro checks in desugarings better [#4082](https://github.com/rust-lang/rust-clippy/pull/4082)
225-
* Add macro check for [`unnecessary_cast`] [#4026](https://github.com/rust-lang/rust-clippy/pull/4026)
226-
* Remove [`approx_constant`]'s documentation's "Known problems" section. [#4027](https://github.com/rust-lang/rust-clippy/pull/4027)
227-
* Fix ICE in [`suspicious_else_formatting`] [#3960](https://github.com/rust-lang/rust-clippy/pull/3960)
228-
* Fix ICE in [`decimal_literal_representation`] [#3931](https://github.com/rust-lang/rust-clippy/pull/3931)
206+
* New lints: [`find_map`], [`filter_map_next`] [#4039](https://github.com/rust-lang/rust-clippy/pull/4039)
207+
* New lint: [`path_buf_push_overwrite`] [#3954](https://github.com/rust-lang/rust-clippy/pull/3954)
208+
* Move `path_buf_push_overwrite` to the nursery [#4013](https://github.com/rust-lang/rust-clippy/pull/4013)
209+
* Split [`redundant_closure`] into [`redundant_closure`] and [`redundant_closure_for_method_calls`] [#4110](https://github.com/rust-lang/rust-clippy/pull/4101)
210+
* Allow allowing of [`toplevel_ref_arg`] lint [#4007](https://github.com/rust-lang/rust-clippy/pull/4007)
211+
* Fix false negative in [`or_fun_call`] pertaining to nested constructors [#4084](https://github.com/rust-lang/rust-clippy/pull/4084)
212+
* Fix false positive in [`or_fun_call`] pertaining to enum variant constructors [#4018](https://github.com/rust-lang/rust-clippy/pull/4018)
213+
* Fix false positive in [`useless_let_if_seq`] pertaining to interior mutability [#4035](https://github.com/rust-lang/rust-clippy/pull/4035)
214+
* Fix false positive in [`redundant_closure`] pertaining to non-function types [#4008](https://github.com/rust-lang/rust-clippy/pull/4008)
215+
* Fix false positive in [`let_and_return`] pertaining to attributes on `let`s [#4024](https://github.com/rust-lang/rust-clippy/pull/4024)
216+
* Fix false positive in [`module_name_repetitions`] lint pertaining to attributes [#4006](https://github.com/rust-lang/rust-clippy/pull/4006)
217+
* Fix false positive on [`assertions_on_constants`] pertaining to `debug_assert!` [#3989](https://github.com/rust-lang/rust-clippy/pull/3989)
218+
* 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)
219+
* Improve suggestion for [`search_is_some`] [#4049](https://github.com/rust-lang/rust-clippy/pull/4049)
220+
* Improve suggestion applicability for [`naive_bytecount`] [#3984](https://github.com/rust-lang/rust-clippy/pull/3984)
221+
* Improve suggestion applicability for [`while_let_loop`] [#3975](https://github.com/rust-lang/rust-clippy/pull/3975)
222+
* Improve diagnostics for [`too_many_arguments`] [#4053](https://github.com/rust-lang/rust-clippy/pull/4053)
223+
* Improve diagnostics for [`cast_lossless`] [#4021](https://github.com/rust-lang/rust-clippy/pull/4021)
224+
* Deal with macro checks in desugarings better [#4082](https://github.com/rust-lang/rust-clippy/pull/4082)
225+
* Add macro check for [`unnecessary_cast`] [#4026](https://github.com/rust-lang/rust-clippy/pull/4026)
226+
* Remove [`approx_constant`]'s documentation's "Known problems" section. [#4027](https://github.com/rust-lang/rust-clippy/pull/4027)
227+
* Fix ICE in [`suspicious_else_formatting`] [#3960](https://github.com/rust-lang/rust-clippy/pull/3960)
228+
* Fix ICE in [`decimal_literal_representation`] [#3931](https://github.com/rust-lang/rust-clippy/pull/3931)
229229

230230

231231
## Rust 1.35
@@ -234,27 +234,27 @@ Released 2019-05-20
234234

235235
[1fac380..37f5c1e](https://github.com/rust-lang/rust-clippy/compare/1fac380...37f5c1e)
236236

237-
* New lint: [`drop_bounds`] to detect `T: Drop` bounds
238-
* Split [`redundant_closure`] into [`redundant_closure`] and [`redundant_closure_for_method_calls`] [#4110](https://github.com/rust-lang/rust-clippy/pull/4101)
239-
* Rename `cyclomatic_complexity` to [`cognitive_complexity`], start work on making lint more practical for Rust code
240-
* Move [`get_unwrap`] to the restriction category
241-
* Improve suggestions for [`iter_cloned_collect`]
242-
* Improve suggestions for [`cast_lossless`] to suggest suffixed literals
243-
* Fix false positives in [`print_with_newline`] and [`write_with_newline`] pertaining to raw strings
244-
* Fix false positive in [`needless_range_loop`] pertaining to structs without a `.iter()`
245-
* Fix false positive in [`bool_comparison`] pertaining to non-bool types
246-
* Fix false positive in [`redundant_closure`] pertaining to differences in borrows
247-
* Fix false positive in [`option_map_unwrap_or`] on non-copy types
248-
* Fix false positives in [`missing_const_for_fn`] pertaining to macros and trait method impls
249-
* Fix false positive in [`needless_pass_by_value`] pertaining to procedural macros
250-
* Fix false positive in [`needless_continue`] pertaining to loop labels
251-
* Fix false positive for [`boxed_local`] pertaining to arguments moved into closures
252-
* Fix false positive for [`use_self`] in nested functions
253-
* Fix suggestion for [`expect_fun_call`] (https://github.com/rust-lang/rust-clippy/pull/3846)
254-
* Fix suggestion for [`explicit_counter_loop`] to deal with parenthesizing range variables
255-
* Fix suggestion for [`single_char_pattern`] to correctly escape single quotes
256-
* Avoid triggering [`redundant_closure`] in macros
257-
* 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)
237+
* New lint: [`drop_bounds`] to detect `T: Drop` bounds
238+
* Split [`redundant_closure`] into [`redundant_closure`] and [`redundant_closure_for_method_calls`] [#4110](https://github.com/rust-lang/rust-clippy/pull/4101)
239+
* Rename `cyclomatic_complexity` to [`cognitive_complexity`], start work on making lint more practical for Rust code
240+
* Move [`get_unwrap`] to the restriction category
241+
* Improve suggestions for [`iter_cloned_collect`]
242+
* Improve suggestions for [`cast_lossless`] to suggest suffixed literals
243+
* Fix false positives in [`print_with_newline`] and [`write_with_newline`] pertaining to raw strings
244+
* Fix false positive in [`needless_range_loop`] pertaining to structs without a `.iter()`
245+
* Fix false positive in [`bool_comparison`] pertaining to non-bool types
246+
* Fix false positive in [`redundant_closure`] pertaining to differences in borrows
247+
* Fix false positive in [`option_map_unwrap_or`] on non-copy types
248+
* Fix false positives in [`missing_const_for_fn`] pertaining to macros and trait method impls
249+
* Fix false positive in [`needless_pass_by_value`] pertaining to procedural macros
250+
* Fix false positive in [`needless_continue`] pertaining to loop labels
251+
* Fix false positive for [`boxed_local`] pertaining to arguments moved into closures
252+
* Fix false positive for [`use_self`] in nested functions
253+
* Fix suggestion for [`expect_fun_call`] (https://github.com/rust-lang/rust-clippy/pull/3846)
254+
* Fix suggestion for [`explicit_counter_loop`] to deal with parenthesizing range variables
255+
* Fix suggestion for [`single_char_pattern`] to correctly escape single quotes
256+
* Avoid triggering [`redundant_closure`] in macros
257+
* 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)
258258

259259
## Rust 1.34
260260

@@ -551,7 +551,7 @@ Released 2018-09-13
551551
## 0.0.181
552552
* Rustup to *rustc 1.25.0-nightly (97520ccb1 2018-01-21)*
553553
* New lints: [`else_if_without_else`], [`option_option`], [`unit_arg`], [`unnecessary_fold`]
554-
* Removed [`unit_expr`]
554+
* Removed `unit_expr`
555555
* Various false positive fixes for [`needless_pass_by_value`]
556556

557557
## 0.0.180
@@ -597,11 +597,13 @@ Released 2018-09-13
597597

598598
## 0.0.167
599599
* Rustup to *rustc 1.23.0-nightly (90ef3372e 2017-10-29)*
600-
* New lints: [`const_static_lifetime`], [`erasing_op`], [`fallible_impl_from`], [`println_empty_string`], [`useless_asref`]
600+
* New lints: `const_static_lifetime`, [`erasing_op`], [`fallible_impl_from`], [`println_empty_string`], [`useless_asref`]
601601

602602
## 0.0.166
603603
* Rustup to *rustc 1.22.0-nightly (b7960878b 2017-10-18)*
604-
* New lints: [`explicit_write`], [`identity_conversion`], [`implicit_hasher`], [`invalid_ref`], [`option_map_or_none`], [`range_minus_one`], [`range_plus_one`], [`transmute_int_to_bool`], [`transmute_int_to_char`], [`transmute_int_to_float`]
604+
* New lints: [`explicit_write`], [`identity_conversion`], [`implicit_hasher`], [`invalid_ref`], [`option_map_or_none`],
605+
[`range_minus_one`], [`range_plus_one`], [`transmute_int_to_bool`], [`transmute_int_to_char`],
606+
[`transmute_int_to_float`]
605607

606608
## 0.0.165
607609
* Rust upgrade to rustc 1.22.0-nightly (0e6f4cf51 2017-09-27)
@@ -636,7 +638,7 @@ Released 2018-09-13
636638

637639
## 0.0.157 - 2017-09-04
638640
* Update to *rustc 1.22.0-nightly (981ce7d8d 2017-09-03)*
639-
* New lint: [`unit_expr`]
641+
* New lint: `unit_expr`
640642

641643
## 0.0.156 - 2017-09-03
642644
* Update to *rustc 1.22.0-nightly (744dd6c1d 2017-09-02)*
@@ -884,7 +886,7 @@ Released 2018-09-13
884886
lint groups: [`filter_next`], [`for_loop_over_option`],
885887
[`for_loop_over_result`] and [`match_overlapping_arm`]. You should now be
886888
able to `#[allow/deny]` them individually and they are available directly
887-
through [`cargo clippy`].
889+
through `cargo clippy`.
888890

889891
## 0.0.87 — 2016-08-31
890892
* Rustup to *rustc 1.13.0-nightly (eac41469d 2016-08-30)*
@@ -897,7 +899,7 @@ Released 2018-09-13
897899

898900
## 0.0.85 — 2016-08-19
899901
* Fix ICE with [`useless_attribute`]
900-
* [`useless_attribute`] ignores [`unused_imports`] on `use` statements
902+
* [`useless_attribute`] ignores `unused_imports` on `use` statements
901903

902904
## 0.0.84 — 2016-08-18
903905
* Rustup to *rustc 1.13.0-nightly (aef6971ca 2016-08-17)*
@@ -936,7 +938,7 @@ Released 2018-09-13
936938

937939
## 0.0.77 — 2016-06-21
938940
* Rustup to *rustc 1.11.0-nightly (5522e678b 2016-06-20)*
939-
* New lints: [`stutter`] and [`iter_nth`]
941+
* New lints: `stutter` and [`iter_nth`]
940942

941943
## 0.0.76 — 2016-06-10
942944
* Rustup to *rustc 1.11.0-nightly (7d2f75a95 2016-06-09)*
@@ -1056,6 +1058,7 @@ Released 2018-09-13
10561058
[pull3665]: https://github.com/rust-lang/rust-clippy/pull/3665
10571059
[adding_lints]: https://github.com/rust-lang/rust-clippy/blob/master/doc/adding_lints.md
10581060

1061+
<!-- lint disable no-unused-definitions -->
10591062
<!-- begin autogenerated links to lint list -->
10601063
[`absurd_extreme_comparisons`]: https://rust-lang.github.io/rust-clippy/master/index.html#absurd_extreme_comparisons
10611064
[`almost_swapped`]: https://rust-lang.github.io/rust-clippy/master/index.html#almost_swapped

0 commit comments

Comments
 (0)