@@ -6,11 +6,79 @@ 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+ * Reworked Clippy's
63+ [ website] ( https://rust-lang.github.io/rust-clippy/master/index.html )
64+ [ #7279 ] ( https://github.com/rust-lang/rust-clippy/pull/7279 ) :
65+ * Added applicability information about lints
66+ * Added a link to jump to the specific lint implementation
67+ * Adapted some styling and improved loading time
68+ * ` cargo clippy --help ` now also explains the ` --fix ` and ` --no-deps ` flag
69+ [ #7492 ] ( https://github.com/rust-lang/rust-clippy/pull/7492 )
70+ * [ ` unnested_or_patterns ` ] removed ` or_patterns ` feature gate in the code
71+ example [ #7507 ] ( https://github.com/rust-lang/rust-clippy/pull/7507 )
72+
73+ ### Others
74+
75+ * Clippy now uses a lint to generate its lint documentation. [ Lints all the way
76+ down] ( https://en.wikipedia.org/wiki/Turtles_all_the_way_down ) .
77+ [ #7502 ] ( https://github.com/rust-lang/rust-clippy/pull/7502 )
1078
1179## Rust 1.55
1280
13- Current beta, release 2021-09-09
81+ Current stable, released 2021-09-09
1482
1583[ 3ae8faf...74d1561] ( https://github.com/rust-lang/rust-clippy/compare/3ae8faf...74d1561 )
1684
@@ -140,7 +208,7 @@ Current beta, release 2021-09-09
140208
141209## Rust 1.54
142210
143- Current stable, released 2021-07-29
211+ Released 2021-07-29
144212
145213[ 7c7683c...3ae8faf] ( https://github.com/rust-lang/rust-clippy/compare/7c7683c...3ae8faf )
146214
0 commit comments