@@ -6,15 +6,81 @@ document.
66
77## Unreleased / In Rust Nightly
88
9- [ 74d1561...master] ( https://github.com/rust-lang/rust-clippy/compare/74d1561...master )
9+ [ 7bfc26e...master] ( https://github.com/rust-lang/rust-clippy/compare/7bfc26e...master )
10+
11+ ## Rust 1.56
12+
13+ Current beta, release 2021-10-21
14+
15+ [ 74d1561...7bfc26e] ( https://github.com/rust-lang/rust-clippy/compare/74d1561...7bfc26e )
16+
17+ ### New Lints
18+
19+ * [ ` unwrap_or_else_default ` ]
20+ [ #7516 ] ( https://github.com/rust-lang/rust-clippy/pull/7516 )
21+
22+ ### Enhancements
23+
24+ * [ ` needless_continue ` ] : Now also lints in ` loop { continue; } ` case
25+ [ #7477 ] ( https://github.com/rust-lang/rust-clippy/pull/7477 )
26+ * [ ` disallowed_type ` ] : Now also primitive types can be disallowed
27+ [ #7488 ] ( https://github.com/rust-lang/rust-clippy/pull/7488 )
28+ * [ ` manual_swap ` ] : Now also lints on xor swaps
29+ [ #7506 ] ( https://github.com/rust-lang/rust-clippy/pull/7506 )
30+ * [ ` map_flatten ` ] : Now also lints on the ` Result ` type
31+ [ #7522 ] ( https://github.com/rust-lang/rust-clippy/pull/7522 )
32+ * [ ` no_effect ` ] : Now also lints on inclusive ranges
33+ [ #7556 ] ( https://github.com/rust-lang/rust-clippy/pull/7556 )
34+
35+ ### False Positive Fixes
36+
37+ * [ ` nonstandard_macro_braces ` ] : No longer lints on similar named nested macros
38+ [ #7478 ] ( https://github.com/rust-lang/rust-clippy/pull/7478 )
39+ * [ ` too_many_lines ` ] : No longer lints in closures to avoid duplicated diagnostics
40+ [ #7534 ] ( https://github.com/rust-lang/rust-clippy/pull/7534 )
41+ * [ ` similar_names ` ] : No longer complains about ` iter ` and ` item ` being too
42+ similar [ #7546 ] ( https://github.com/rust-lang/rust-clippy/pull/7546 )
43+
44+ ### Suggestion Fixes/Improvements
45+
46+ * [ ` similar_names ` ] : No longer suggests to insert or add an underscore as a fix
47+ [ #7221 ] ( https://github.com/rust-lang/rust-clippy/pull/7221 )
48+ * [ ` new_without_default ` ] : No longer shows the full qualified type path when
49+ suggesting adding a ` Default ` implementation
50+ [ #7493 ] ( https://github.com/rust-lang/rust-clippy/pull/7493 )
51+ * [ ` while_let_on_iterator ` ] : Now suggests re-borrowing mutable references
52+ [ #7520 ] ( https://github.com/rust-lang/rust-clippy/pull/7520 )
53+ * [ ` extend_with_drain ` ] : Improve code suggestion for mutable and immutable
54+ references [ #7533 ] ( https://github.com/rust-lang/rust-clippy/pull/7533 )
55+ * [ ` trivially_copy_pass_by_ref ` ] : Now properly handles ` Self ` type
56+ [ #7535 ] ( https://github.com/rust-lang/rust-clippy/pull/7535 )
57+ * [ ` never_loop ` ] : Now suggests using ` if let ` instead of a ` for ` loop when
58+ applicable [ #7541 ] ( https://github.com/rust-lang/rust-clippy/pull/7541 )
59+
60+ ### Documentation Improvements
61+
62+ * Clippy now uses a lint to generate its lint documentation. [ Lints all the way
63+ down] ( https://en.wikipedia.org/wiki/Turtles_all_the_way_down ) .
64+ [ #7502 ] ( https://github.com/rust-lang/rust-clippy/pull/7502 )
65+ * Reworked Clippy's website:
66+ [ #7172 ] ( https://github.com/rust-lang/rust-clippy/issues/7172 )
67+ [ #7279 ] ( https://github.com/rust-lang/rust-clippy/pull/7279 )
68+ * Added applicability information about lints
69+ * Added a link to jump into the implementation
70+ * Improved loading times
71+ * Adapted some styling
72+ * ` cargo clippy --help ` now also explains the ` --fix ` and ` --no-deps ` flag
73+ [ #7492 ] ( https://github.com/rust-lang/rust-clippy/pull/7492 )
74+ * [ ` unnested_or_patterns ` ] : Removed ` or_patterns ` feature gate in the code
75+ example [ #7507 ] ( https://github.com/rust-lang/rust-clippy/pull/7507 )
1076
1177### New Lints
1278
1379* Renamed Lint: ` if_let_some_result ` is now called [ ` match_result_ok ` ] . Now also handles ` while let ` case.
1480
1581## Rust 1.55
1682
17- Current beta, release 2021-09-09
83+ Current stable, released 2021-09-09
1884
1985[ 3ae8faf...74d1561] ( https://github.com/rust-lang/rust-clippy/compare/3ae8faf...74d1561 )
2086
@@ -130,21 +196,9 @@ Current beta, release 2021-09-09
130196* [ ` use_self ` ]
131197 [ #7428 ] ( https://github.com/rust-lang/rust-clippy/pull/7428 )
132198
133- ### Documentation Improvements
134-
135- * Reworked Clippy's website:
136- [ #7279 ] ( https://github.com/rust-lang/rust-clippy/pull/7279 )
137- [ #7172 ] ( https://github.com/rust-lang/rust-clippy/issues/7172 )
138- * Added applicability information about lints
139- * Added a link to jump into the implementation
140- * Improved loading times
141- * Adapted some styling
142- * Clippy now uses a lint to generate its documentation
143- [ #7298 ] ( https://github.com/rust-lang/rust-clippy/pull/7298 )
144-
145199## Rust 1.54
146200
147- Current stable, released 2021-07-29
201+ Released 2021-07-29
148202
149203[ 7c7683c...3ae8faf] ( https://github.com/rust-lang/rust-clippy/compare/7c7683c...3ae8faf )
150204
0 commit comments