Skip to content

Commit a609a9e

Browse files
committed
Auto merge of #5498 - phansch:update_changelog, r=flip1995
Update CHANGELOG.md for Rust 1.43 and 1.44 [Rendered](https://github.com/phansch/rust-clippy/blob/update_changelog/CHANGELOG.md) changelog: none
2 parents d01a498 + 30c28a7 commit a609a9e

File tree

1 file changed

+88
-5
lines changed

1 file changed

+88
-5
lines changed

CHANGELOG.md

+88-5
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,98 @@ All notable changes to this project will be documented in this file.
44
See [Changelog Update](doc/changelog_update.md) if you want to update this
55
document.
66

7-
## Unreleased / In Rust Beta or Nightly
7+
## Unreleased / In Rust Nightly
88

9-
[329923e...master](https://github.com/rust-lang/rust-clippy/compare/329923e...master)
9+
[891e1a8...master](https://github.com/rust-lang/rust-clippy/compare/891e1a8...master)
10+
11+
## Rust 1.44
12+
13+
Current beta, release 2020-06-04
14+
15+
[204bb9b...891e1a8](https://github.com/rust-lang/rust-clippy/compare/204bb9b...891e1a8)
16+
17+
### New lints
18+
19+
* [`explicit_deref_methods`] [#5226](https://github.com/rust-lang/rust-clippy/pull/5226)
20+
* [`implicit_saturating_sub`] [#5427](https://github.com/rust-lang/rust-clippy/pull/5427)
21+
* [`macro_use_imports`] [#5230](https://github.com/rust-lang/rust-clippy/pull/5230)
22+
* [`verbose_file_reads`] [#5272](https://github.com/rust-lang/rust-clippy/pull/5272)
23+
* [`future_not_send`] [#5423](https://github.com/rust-lang/rust-clippy/pull/5423)
24+
* [`redundant_pub_crate`] [#5319](https://github.com/rust-lang/rust-clippy/pull/5319)
25+
* [`large_const_arrays`] [#5248](https://github.com/rust-lang/rust-clippy/pull/5248)
26+
* [`result_map_or_into_option`] [#5415](https://github.com/rust-lang/rust-clippy/pull/5415)
27+
* [`redundant_allocation`] [#5349](https://github.com/rust-lang/rust-clippy/pull/5349)
28+
* [`fn_address_comparisons`] [#5294](https://github.com/rust-lang/rust-clippy/pull/5294)
29+
* [`vtable_address_comparisons`] [#5294](https://github.com/rust-lang/rust-clippy/pull/5294)
30+
31+
32+
### Moves and Deprecations
33+
34+
* Deprecate [`replace_consts`] lint [#5380](https://github.com/rust-lang/rust-clippy/pull/5380)
35+
* Move [`cognitive_complexity`] to nursery [#5428](https://github.com/rust-lang/rust-clippy/pull/5428)
36+
* Move [`useless_transmute`] to nursery [#5364](https://github.com/rust-lang/rust-clippy/pull/5364)
37+
* Downgrade [`inefficient_to_string`] to pedantic [#5412](https://github.com/rust-lang/rust-clippy/pull/5412)
38+
* Downgrade [`option_option`] to pedantic [#5401](https://github.com/rust-lang/rust-clippy/pull/5401)
39+
* Downgrade [`unreadable_literal`] to pedantic [#5419](https://github.com/rust-lang/rust-clippy/pull/5419)
40+
* Downgrade [`let_unit_value`] to pedantic [#5409](https://github.com/rust-lang/rust-clippy/pull/5409)
41+
* Downgrade [`trivially_copy_pass_by_ref`] to pedantic [#5410](https://github.com/rust-lang/rust-clippy/pull/5410)
42+
* Downgrade [`implicit_hasher`] to pedantic [#5411](https://github.com/rust-lang/rust-clippy/pull/5411)
43+
44+
### Enhancements
45+
46+
* On _nightly_ you can now use `cargo clippy --fix -Z unstable-options` to
47+
auto-fix lints that support this [#5363](https://github.com/rust-lang/rust-clippy/pull/5363)
48+
* Make [`redundant_clone`] also trigger on cases where the cloned value is not
49+
consumed. [#5304](https://github.com/rust-lang/rust-clippy/pull/5304)
50+
* Expand [`integer_arithmetic`] to also disallow bit-shifting [#5430](https://github.com/rust-lang/rust-clippy/pull/5430)
51+
* [`option_as_ref_deref`] now detects more deref cases [#5425](https://github.com/rust-lang/rust-clippy/pull/5425)
52+
* [`large_enum_variant`] now report the sizes of the largest and second-largest variants [#5466](https://github.com/rust-lang/rust-clippy/pull/5466)
53+
* [`bool_comparison`] now also checks for inequality comparisons that can be
54+
written more concisely [#5365](https://github.com/rust-lang/rust-clippy/pull/5365)
55+
* Expand [`clone_on_copy`] to work in method call arguments as well [#5441](https://github.com/rust-lang/rust-clippy/pull/5441)
56+
* [`redundant_pattern_matching`] now also handles `while let` [#5483](https://github.com/rust-lang/rust-clippy/pull/5483)
57+
* [`integer_arithmetic`] now also lints references of integers [#5329](https://github.com/rust-lang/rust-clippy/pull/5329)
58+
* Expand [`float_cmp_const`] to also work on arrays [#5345](https://github.com/rust-lang/rust-clippy/pull/5345)
59+
* Trigger [`map_flatten`] when map is called on an `Option` [#5473](https://github.com/rust-lang/rust-clippy/pull/5473)
60+
61+
### False Positive Fixes
62+
63+
* [`many_single_char_names`] [#5468](https://github.com/rust-lang/rust-clippy/pull/5468)
64+
* [`should_implement_trait`] [#5437](https://github.com/rust-lang/rust-clippy/pull/5437)
65+
* [`unused_self`] [#5387](https://github.com/rust-lang/rust-clippy/pull/5387)
66+
* [`redundant_clone`] [#5453](https://github.com/rust-lang/rust-clippy/pull/5453)
67+
* [`precedence`] [#5445](https://github.com/rust-lang/rust-clippy/pull/5445)
68+
* [`suspicious_op_assign_impl`] [#5424](https://github.com/rust-lang/rust-clippy/pull/5424)
69+
* [`needless_lifetimes`] [#5293](https://github.com/rust-lang/rust-clippy/pull/5293)
70+
* [`redundant_pattern`] [#5287](https://github.com/rust-lang/rust-clippy/pull/5287)
71+
* [`inconsistent_digit_grouping`] [#5451](https://github.com/rust-lang/rust-clippy/pull/5451)
72+
73+
74+
### Suggestion Improvements
75+
76+
* Improved [`question_mark`] lint suggestion so that it doesn't add redundant `as_ref()` [#5481](https://github.com/rust-lang/rust-clippy/pull/5481)
77+
* Improve the suggested placeholder in [`option_map_unit_fn`] [#5292](https://github.com/rust-lang/rust-clippy/pull/5292)
78+
* Improve suggestion for [`match_single_binding`] when triggered inside a closure [#5350](https://github.com/rust-lang/rust-clippy/pull/5350)
79+
80+
### ICE Fixes
81+
82+
* Handle the unstable `trivial_bounds` feature [#5296](https://github.com/rust-lang/rust-clippy/pull/5296)
83+
* `shadow_*` lints [#5297](https://github.com/rust-lang/rust-clippy/pull/5297)
84+
85+
### Documentation
86+
87+
* Fix documentation generation for configurable lints [#5353](https://github.com/rust-lang/rust-clippy/pull/5353)
88+
* Update documentation for [`new_ret_no_self`] [#5448](https://github.com/rust-lang/rust-clippy/pull/5448)
89+
* The documentation for [`option_option`] now suggest using a tri-state enum [#5403](https://github.com/rust-lang/rust-clippy/pull/5403)
90+
* Fix bit mask example in [`verbose_bit_mask`] documentation [#5454](https://github.com/rust-lang/rust-clippy/pull/5454)
91+
* [`wildcard_imports`] documentation now mentions that `use ...::prelude::*` is
92+
not linted [#5312](https://github.com/rust-lang/rust-clippy/pull/5312)
1093

1194
## Rust 1.43
1295

13-
Current beta, release 2020-04-23
96+
Current stable, released 2020-04-23
1497

15-
[4ee1206...329923e](https://github.com/rust-lang/rust-clippy/compare/4ee1206...329923e)
98+
[4ee1206...204bb9b](https://github.com/rust-lang/rust-clippy/compare/4ee1206...204bb9b)
1699

17100
### New lints
18101

@@ -68,7 +151,7 @@ Current beta, release 2020-04-23
68151

69152
## Rust 1.42
70153

71-
Current stable, released 2020-03-12
154+
Released 2020-03-12
72155

73156
[69f99e7...4ee1206](https://github.com/rust-lang/rust-clippy/compare/69f99e7...4ee1206)
74157

0 commit comments

Comments
 (0)