@@ -6,11 +6,73 @@ document.
6
6
7
7
## Unreleased / In Rust Nightly
8
8
9
- [ 7ea7cd1...master] ( https://github.com/rust-lang/rust-clippy/compare/7ea7cd1...master )
9
+ [ c2c07fa...master] ( https://github.com/rust-lang/rust-clippy/compare/7ea7cd1...master )
10
+
11
+ ## Rust 1.46
12
+
13
+ Current beta, release 2020-08-27
14
+
15
+ [ 7ea7cd1...c2c07fa] ( https://github.com/rust-lang/rust-clippy/compare/7ea7cd1...master )
16
+
17
+ ### New lints
18
+
19
+ * [ ` unnested_or_patterns ` ] [ #5378 ] ( https://github.com/rust-lang/rust-clippy/pull/5378 )
20
+ * [ ` iter_next_slice ` ] [ #5597 ] ( https://github.com/rust-lang/rust-clippy/pull/5597 )
21
+ * [ ` unnecessary_sort_by ` ] [ #5623 ] ( https://github.com/rust-lang/rust-clippy/pull/5623 )
22
+ * [ ` vec_resize_to_zero ` ] [ #5637 ] ( https://github.com/rust-lang/rust-clippy/pull/5637 )
23
+
24
+ ### Moves and Deprecations
25
+
26
+ * Move [ ` cast_ptr_alignment ` ] to pedantic [ #5667 ] ( https://github.com/rust-lang/rust-clippy/pull/5667 )
27
+
28
+ ### Enhancements
29
+
30
+ * Improve [ ` mem_replace_with_uninit ` ] lint [ #5695 ] ( https://github.com/rust-lang/rust-clippy/pull/5695 )
31
+
32
+ ### False Positive Fixes
33
+
34
+ * [ ` len_zero ` ] : Avoid linting ranges when the ` range_is_empty ` feature is not enabled
35
+ [ #5656 ] ( https://github.com/rust-lang/rust-clippy/pull/5656 )
36
+ * [ ` let_and_return ` ] : Don't lint if a temporary borrow is involved
37
+ [ #5680 ] ( https://github.com/rust-lang/rust-clippy/pull/5680 )
38
+ * [ ` reversed_empty_ranges ` ] : Avoid linting ` N..N ` in for loop arguments in
39
+ [ #5692 ] ( https://github.com/rust-lang/rust-clippy/pull/5692 )
40
+ * [ ` if_same_then_else ` ] : Don't assume multiplication is always commutative
41
+ [ #5702 ] ( https://github.com/rust-lang/rust-clippy/pull/5702 )
42
+ * [ ` blacklisted_name ` ] : Remove ` bar ` from the default configuration
43
+ [ #5712 ] ( https://github.com/rust-lang/rust-clippy/pull/5712 )
44
+ * [ ` redundant_pattern_matching ` ] : Avoid suggesting non-` const fn ` calls in const contexts
45
+ [ #5724 ] ( https://github.com/rust-lang/rust-clippy/pull/5724 )
46
+
47
+ ### Suggestion Fixes/Improvements
48
+
49
+ * Fix suggestion of [ ` unit_arg ` ] lint, so that it suggest semantic equivalent code
50
+ [ #4455 ] ( https://github.com/rust-lang/rust-clippy/pull/4455 )
51
+ * Add auto applicable suggestion to [ ` macro_use_imports ` ]
52
+ [ #5279 ] ( https://github.com/rust-lang/rust-clippy/pull/5279 )
53
+
54
+ ### ICE Fixes
55
+
56
+ * Fix ICE in the ` consts ` module of Clippy [ #5709 ] ( https://github.com/rust-lang/rust-clippy/pull/5709 )
57
+
58
+ ### Documentation Improvements
59
+
60
+ * Improve code examples across multiple lints [ #5664 ] ( https://github.com/rust-lang/rust-clippy/pull/5664 )
61
+
62
+ ### Others
63
+
64
+ * Introduce a ` --rustc ` flag to ` clippy-driver ` , which turns ` clippy-driver `
65
+ into ` rustc ` and passes all the given arguments to ` rustc ` . This is especially
66
+ useful for tools that need the ` rustc ` version Clippy was compiled with,
67
+ instead of the Clippy version. E.g. ` clippy-driver --rustc --version ` will
68
+ print the output of ` rustc --version ` .
69
+ [ #5178 ] ( https://github.com/rust-lang/rust-clippy/pull/5178 )
70
+ * New issue templates now make it easier to complain if Clippy is too annoying
71
+ or not annoying enough! [ #5735 ] ( https://github.com/rust-lang/rust-clippy/pull/5735 )
10
72
11
73
## Rust 1.45
12
74
13
- Current beta, release 2020-07-16
75
+ Current stable, released 2020-07-16
14
76
15
77
[ 891e1a8...7ea7cd1] ( https://github.com/rust-lang/rust-clippy/compare/891e1a8...7ea7cd1 )
16
78
@@ -87,7 +149,7 @@ and [`similar_names`]. [#5651](https://github.com/rust-lang/rust-clippy/pull/565
87
149
88
150
## Rust 1.44
89
151
90
- Current stable, released 2020-06-04
152
+ Released 2020-06-04
91
153
92
154
[ 204bb9b...891e1a8] ( https://github.com/rust-lang/rust-clippy/compare/204bb9b...891e1a8 )
93
155
0 commit comments