@@ -6,18 +6,105 @@ document.
6
6
7
7
## Unreleased / Beta / In Rust Nightly
8
8
9
- [ 435a8ad8 ...master] ( https://github.com/rust-lang/rust-clippy/compare/435a8ad8 ...master )
9
+ [ 37f4c172 ...master] ( https://github.com/rust-lang/rust-clippy/compare/37f4c172 ...master )
10
10
11
- ## Rust 1.71
11
+ ## Rust 1.72
12
+
13
+ Current stable, released 2023-08-24
14
+
15
+ [ View all 131 merged pull requests] ( https://github.com/rust-lang/rust-clippy/pulls?q=merged%3A2023-05-22T14%3A53%3A59Z..2023-07-01T22%3A57%3A20Z+base%3Amaster )
16
+
17
+ ### New Lints
18
+
19
+ * [ ` manual_try_fold ` ]
20
+ [ #11012 ] ( https://github.com/rust-lang/rust-clippy/pull/11012 )
21
+ * [ ` tuple_array_conversions ` ]
22
+ [ #11020 ] ( https://github.com/rust-lang/rust-clippy/pull/11020 )
23
+ * [ ` redundant_at_rest_pattern ` ]
24
+ [ #11013 ] ( https://github.com/rust-lang/rust-clippy/pull/11013 )
25
+ * [ ` needless_pub_self ` ]
26
+ [ #10967 ] ( https://github.com/rust-lang/rust-clippy/pull/10967 )
27
+ * [ ` pub_with_shorthand ` ]
28
+ [ #10967 ] ( https://github.com/rust-lang/rust-clippy/pull/10967 )
29
+ * [ ` pub_without_shorthand ` ]
30
+ [ #10967 ] ( https://github.com/rust-lang/rust-clippy/pull/10967 )
31
+ * [ ` manual_range_patterns ` ]
32
+ [ #10968 ] ( https://github.com/rust-lang/rust-clippy/pull/10968 )
33
+ * [ ` needless_raw_string_hashes ` ]
34
+ [ #10884 ] ( https://github.com/rust-lang/rust-clippy/pull/10884 )
35
+ * [ ` needless_raw_strings ` ]
36
+ [ #10884 ] ( https://github.com/rust-lang/rust-clippy/pull/10884 )
37
+ * [ ` incorrect_clone_impl_on_copy_type ` ]
38
+ [ #10925 ] ( https://github.com/rust-lang/rust-clippy/pull/10925 )
39
+ * [ ` drain_collect ` ]
40
+ [ #10835 ] ( https://github.com/rust-lang/rust-clippy/pull/10835 )
41
+ * [ ` single_range_in_vec_init ` ]
42
+ [ #10934 ] ( https://github.com/rust-lang/rust-clippy/pull/10934 )
43
+ * [ ` unnecessary_literal_unwrap ` ]
44
+ [ #10358 ] ( https://github.com/rust-lang/rust-clippy/pull/10358 )
45
+ * [ ` large_stack_frames ` ]
46
+ [ #10827 ] ( https://github.com/rust-lang/rust-clippy/pull/10827 )
47
+ * [ ` min_ident_chars ` ]
48
+ [ #10916 ] ( https://github.com/rust-lang/rust-clippy/pull/10916 )
49
+ * [ ` needless_if ` ]
50
+ [ #10921 ] ( https://github.com/rust-lang/rust-clippy/pull/10921 )
51
+ * [ ` excessive_nesting ` ]
52
+ [ #10672 ] ( https://github.com/rust-lang/rust-clippy/pull/10672 )
53
+ * [ ` arc_with_non_send_sync ` ]
54
+ [ #10898 ] ( https://github.com/rust-lang/rust-clippy/pull/10898 )
55
+ * [ ` redundant_type_annotations ` ]
56
+ [ #10570 ] ( https://github.com/rust-lang/rust-clippy/pull/10570 )
57
+ * [ ` host_endian_bytes ` ]
58
+ [ #10826 ] ( https://github.com/rust-lang/rust-clippy/pull/10826 )
59
+ * [ ` little_endian_bytes ` ]
60
+ [ #10826 ] ( https://github.com/rust-lang/rust-clippy/pull/10826 )
61
+ * [ ` big_endian_bytes ` ]
62
+ [ #10826 ] ( https://github.com/rust-lang/rust-clippy/pull/10826 )
63
+ * [ ` ptr_cast_constness ` ]
64
+ [ #10779 ] ( https://github.com/rust-lang/rust-clippy/pull/10779 )
65
+ * [ ` needless_else ` ]
66
+ [ #10810 ] ( https://github.com/rust-lang/rust-clippy/pull/10810 )
67
+
68
+ ### Moves and Deprecations
69
+
70
+ * Moved [ ` redundant_clone ` ] to ` nursery ` (Now allow-by-default)
71
+ [ #10873 ] ( https://github.com/rust-lang/rust-clippy/pull/10873 )
72
+
73
+ ### Enhancements
74
+
75
+ * [ ` undocumented_unsafe_blocks ` ] : Added [ ` accept-comment-above-attributes ` ] configuration
76
+ [ #10986 ] ( https://github.com/rust-lang/rust-clippy/pull/10986 )
77
+ * [ ` undocumented_unsafe_blocks ` ] : Added [ ` accept-comment-above-statement ` ] configuration.
78
+ [ #10886 ] ( https://github.com/rust-lang/rust-clippy/pull/10886 )
79
+ * [ ` missing_panics_doc ` ] : No longer lints on ` todo!() `
80
+ [ #10976 ] ( https://github.com/rust-lang/rust-clippy/pull/10976 )
81
+ * [ ` module_inception ` ] : Added ` allow-private-module-inception ` configuration.
82
+ [ #10917 ] ( https://github.com/rust-lang/rust-clippy/pull/10917 )
83
+ * Errors and warnings generated while parsing ` clippy.toml ` now point to the location in the TOML
84
+ file the error/warning occurred in.
85
+ [ #10607 ] ( https://github.com/rust-lang/rust-clippy/pull/10607 )
86
+
87
+ ### False Positive Fixes
88
+
89
+ * [ ` excessive_precision ` ] : No longer lints overflowing literals
90
+ [ #10952 ] ( https://github.com/rust-lang/rust-clippy/pull/10952 )
91
+
92
+ ### Suggestion Fixes/Improvements
93
+
94
+ * [ ` option_map_unwrap_or ` ] : The suggestion now considers the set [ ` msrv ` ] config value
95
+ [ #11030 ] ( https://github.com/rust-lang/rust-clippy/pull/11030 )
96
+
97
+ ### Documentation Improvements
98
+
99
+ * [ Clippy's lint list] now stores filter parameters in the URL, to allow easy sharing
100
+ [ #10834 ] ( https://github.com/rust-lang/rust-clippy/pull/10834 )
12
101
13
- Current stable, released 2023-07-13
102
+ ## Rust 1.71
14
103
15
- <!-- FIXME: Remove the request for feedback, with the next changelog -->
104
+ Released 2023-07-13
16
105
17
- We're trying out a new shorter changelog format, that only contains significant changes.
18
- You can check out the list of merged pull requests for a list of all changes.
19
- If you have any feedback related to the new format, please share it in
20
- [ #10847 ] ( https://github.com/rust-lang/rust-clippy/issues/10847 )
106
+ Note: Clippy will use a shorter changelog format from now on, if you want a detailed list of
107
+ all changes, please check out the list of merged pull requests.
21
108
22
109
[ View all 78 merged pull requests] ( https://github.com/rust-lang/rust-clippy/pulls?q=merged%3A2023-04-11T20%3A05%3A26Z..2023-05-20T13%3A48%3A17Z+base%3Amaster )
23
110
@@ -4677,6 +4764,7 @@ Released 2018-09-13
4677
4764
[ pull3665 ] : https://github.com/rust-lang/rust-clippy/pull/3665
4678
4765
[ adding_lints ] : https://github.com/rust-lang/rust-clippy/blob/master/book/src/development/adding_lints.md
4679
4766
[ `README.md` ] : https://github.com/rust-lang/rust-clippy/blob/master/README.md
4767
+ [ Clippy's lint list ] : https://rust-lang.github.io/rust-clippy/master/index.html
4680
4768
4681
4769
<!-- lint disable no-unused-definitions -->
4682
4770
<!-- begin autogenerated links to lint list -->
@@ -4897,6 +4985,7 @@ Released 2018-09-13
4897
4985
[ `implicit_return` ] : https://rust-lang.github.io/rust-clippy/master/index.html#implicit_return
4898
4986
[ `implicit_saturating_add` ] : https://rust-lang.github.io/rust-clippy/master/index.html#implicit_saturating_add
4899
4987
[ `implicit_saturating_sub` ] : https://rust-lang.github.io/rust-clippy/master/index.html#implicit_saturating_sub
4988
+ [ `implied_bounds_in_impls` ] : https://rust-lang.github.io/rust-clippy/master/index.html#implied_bounds_in_impls
4900
4989
[ `impossible_comparisons` ] : https://rust-lang.github.io/rust-clippy/master/index.html#impossible_comparisons
4901
4990
[ `imprecise_flops` ] : https://rust-lang.github.io/rust-clippy/master/index.html#imprecise_flops
4902
4991
[ `inconsistent_digit_grouping` ] : https://rust-lang.github.io/rust-clippy/master/index.html#inconsistent_digit_grouping
@@ -5211,6 +5300,7 @@ Released 2018-09-13
5211
5300
[ `regex_macro` ] : https://rust-lang.github.io/rust-clippy/master/index.html#regex_macro
5212
5301
[ `repeat_once` ] : https://rust-lang.github.io/rust-clippy/master/index.html#repeat_once
5213
5302
[ `replace_consts` ] : https://rust-lang.github.io/rust-clippy/master/index.html#replace_consts
5303
+ [ `reserve_after_initialization` ] : https://rust-lang.github.io/rust-clippy/master/index.html#reserve_after_initialization
5214
5304
[ `rest_pat_in_fully_bound_structs` ] : https://rust-lang.github.io/rust-clippy/master/index.html#rest_pat_in_fully_bound_structs
5215
5305
[ `result_expect_used` ] : https://rust-lang.github.io/rust-clippy/master/index.html#result_expect_used
5216
5306
[ `result_large_err` ] : https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
@@ -5241,6 +5331,7 @@ Released 2018-09-13
5241
5331
[ `short_circuit_statement` ] : https://rust-lang.github.io/rust-clippy/master/index.html#short_circuit_statement
5242
5332
[ `should_assert_eq` ] : https://rust-lang.github.io/rust-clippy/master/index.html#should_assert_eq
5243
5333
[ `should_implement_trait` ] : https://rust-lang.github.io/rust-clippy/master/index.html#should_implement_trait
5334
+ [ `should_panic_without_expect` ] : https://rust-lang.github.io/rust-clippy/master/index.html#should_panic_without_expect
5244
5335
[ `significant_drop_in_scrutinee` ] : https://rust-lang.github.io/rust-clippy/master/index.html#significant_drop_in_scrutinee
5245
5336
[ `significant_drop_tightening` ] : https://rust-lang.github.io/rust-clippy/master/index.html#significant_drop_tightening
5246
5337
[ `similar_names` ] : https://rust-lang.github.io/rust-clippy/master/index.html#similar_names
0 commit comments