@@ -14,72 +14,95 @@ Current Beta
14
14
15
15
[ 69f99e7...329923e] ( https://github.com/rust-lang/rust-clippy/compare/69f99e7...329923e )
16
16
17
- * New Lints:
18
- * [ ` filetype_is_file ` ] [ #4543 ] ( https://github.com/rust-lang/rust-clippy/pull/4543 )
19
- * [ ` let_underscore_must_use ` ] [ #4823 ] ( https://github.com/rust-lang/rust-clippy/pull/4823 )
20
- * [ ` modulo_arithmetic ` ] [ #4867 ] ( https://github.com/rust-lang/rust-clippy/pull/4867 )
21
- * [ ` mem_replace_with_default ` ] [ #4881 ] ( https://github.com/rust-lang/rust-clippy/pull/4881 )
22
- * [ ` mutable_key_type ` ] [ #4885 ] ( https://github.com/rust-lang/rust-clippy/pull/4885 )
23
- * [ ` imprecise_flops ` ] [ #4897 ] ( https://github.com/rust-lang/rust-clippy/pull/4897 )
24
- * [ ` suboptimal_flops ` ] [ #4897 ] ( https://github.com/rust-lang/rust-clippy/pull/4897 )
25
- * [ ` option_as_ref_deref ` ] [ #4945 ] ( https://github.com/rust-lang/rust-clippy/pull/4945 )
26
- * [ ` wildcard_in_or_patterns ` ] [ #4960 ] ( https://github.com/rust-lang/rust-clippy/pull/4960 )
27
- * [ ` iter_nth_zero ` ] [ #4966 ] ( https://github.com/rust-lang/rust-clippy/pull/4966 )
28
- * [ ` invalid_atomic_ordering ` ] [ #4999 ] ( https://github.com/rust-lang/rust-clippy/pull/4999 )
29
- * [ ` wildcard_imports ` ] [ #5029 ] ( https://github.com/rust-lang/rust-clippy/pull/5029 )
30
- * [ ` single_component_path_imports ` ] [ #5058 ] ( https://github.com/rust-lang/rust-clippy/pull/5058 )
31
- * [ ` match_single_binding ` ] [ #5061 ] ( https://github.com/rust-lang/rust-clippy/pull/5061 )
32
- * [ ` skip_while_next ` ] [ #5067 ] ( https://github.com/rust-lang/rust-clippy/pull/5067 )
33
- * [ ` let_underscore_lock ` ] [ #5101 ] ( https://github.com/rust-lang/rust-clippy/pull/5101 )
34
- * [ ` struct_excessive_bools ` ] [ #5125 ] ( https://github.com/rust-lang/rust-clippy/pull/5125 )
35
- * [ ` fn_params_excessive_bools ` ] [ #5125 ] ( https://github.com/rust-lang/rust-clippy/pull/5125 )
36
- * [ ` option_env_unwrap ` ] [ #5148 ] ( https://github.com/rust-lang/rust-clippy/pull/5148 )
37
- * [ ` lossy_float_literal ` ] [ #5202 ] ( https://github.com/rust-lang/rust-clippy/pull/5202 )
38
- * [ ` rest_pat_in_fully_bound_structs ` ] [ #5258 ] ( https://github.com/rust-lang/rust-clippy/pull/5258 )
17
+ ### New lints
18
+
19
+ * [ ` filetype_is_file ` ] [ #4543 ] ( https://github.com/rust-lang/rust-clippy/pull/4543 )
20
+ * [ ` let_underscore_must_use ` ] [ #4823 ] ( https://github.com/rust-lang/rust-clippy/pull/4823 )
21
+ * [ ` modulo_arithmetic ` ] [ #4867 ] ( https://github.com/rust-lang/rust-clippy/pull/4867 )
22
+ * [ ` mem_replace_with_default ` ] [ #4881 ] ( https://github.com/rust-lang/rust-clippy/pull/4881 )
23
+ * [ ` mutable_key_type ` ] [ #4885 ] ( https://github.com/rust-lang/rust-clippy/pull/4885 )
24
+ * [ ` imprecise_flops ` ] [ #4897 ] ( https://github.com/rust-lang/rust-clippy/pull/4897 )
25
+ * [ ` suboptimal_flops ` ] [ #4897 ] ( https://github.com/rust-lang/rust-clippy/pull/4897 )
26
+ * [ ` option_as_ref_deref ` ] [ #4945 ] ( https://github.com/rust-lang/rust-clippy/pull/4945 )
27
+ * [ ` wildcard_in_or_patterns ` ] [ #4960 ] ( https://github.com/rust-lang/rust-clippy/pull/4960 )
28
+ * [ ` iter_nth_zero ` ] [ #4966 ] ( https://github.com/rust-lang/rust-clippy/pull/4966 )
29
+ * [ ` invalid_atomic_ordering ` ] [ #4999 ] ( https://github.com/rust-lang/rust-clippy/pull/4999 )
30
+ * [ ` wildcard_imports ` ] [ #5029 ] ( https://github.com/rust-lang/rust-clippy/pull/5029 )
31
+ * [ ` single_component_path_imports ` ] [ #5058 ] ( https://github.com/rust-lang/rust-clippy/pull/5058 )
32
+ * [ ` match_single_binding ` ] [ #5061 ] ( https://github.com/rust-lang/rust-clippy/pull/5061 )
33
+ * [ ` skip_while_next ` ] [ #5067 ] ( https://github.com/rust-lang/rust-clippy/pull/5067 )
34
+ * [ ` let_underscore_lock ` ] [ #5101 ] ( https://github.com/rust-lang/rust-clippy/pull/5101 )
35
+ * [ ` struct_excessive_bools ` ] [ #5125 ] ( https://github.com/rust-lang/rust-clippy/pull/5125 )
36
+ * [ ` fn_params_excessive_bools ` ] [ #5125 ] ( https://github.com/rust-lang/rust-clippy/pull/5125 )
37
+ * [ ` option_env_unwrap ` ] [ #5148 ] ( https://github.com/rust-lang/rust-clippy/pull/5148 )
38
+ * [ ` lossy_float_literal ` ] [ #5202 ] ( https://github.com/rust-lang/rust-clippy/pull/5202 )
39
+ * [ ` rest_pat_in_fully_bound_structs ` ] [ #5258 ] ( https://github.com/rust-lang/rust-clippy/pull/5258 )
40
+
41
+ ### Moves and Deprecations
42
+
39
43
* Move [ ` transmute_float_to_int ` ] from nursery to complexity group
40
44
[ #5015 ] ( https://github.com/rust-lang/rust-clippy/pull/5015 )
41
45
* Move [ ` range_plus_one ` ] to pedantic group [ #5057 ] ( https://github.com/rust-lang/rust-clippy/pull/5057 )
42
46
* Move [ ` unneeded_field_pattern ` ] to pedantic group [ #5200 ] ( https://github.com/rust-lang/rust-clippy/pull/5200 )
43
47
* Move [ ` debug_assert_with_mut_call ` ] to nursery group [ #5106 ] ( https://github.com/rust-lang/rust-clippy/pull/5106 )
44
48
* Deprecate [ ` unused_label ` ] [ #4930 ] ( https://github.com/rust-lang/rust-clippy/pull/4930 )
45
- * Lint vectored IO in ` unused_io_amount ` [ #5027 ] ( https://github.com/rust-lang/rust-clippy/pull/5027 )
46
- * Make ` vec_box ` configurable by adding a size threshold [ #5081 ] ( https://github.com/rust-lang/rust-clippy/pull/5081 )
47
- * Make ` missing_errors_doc ` lint also trigger an ` async ` functions
49
+
50
+ ### Enhancements
51
+
52
+ * Lint vectored IO in [ ` unused_io_amount ` ] [ #5027 ] ( https://github.com/rust-lang/rust-clippy/pull/5027 )
53
+ * Make [ ` vec_box ` ] configurable by adding a size threshold [ #5081 ] ( https://github.com/rust-lang/rust-clippy/pull/5081 )
54
+ * Make [ ` missing_errors_doc ` ] lint also trigger an ` async ` functions
48
55
[ #5181 ] ( https://github.com/rust-lang/rust-clippy/pull/5181 )
49
- * Add more constants to ` approx_constant ` [ #5193 ] ( https://github.com/rust-lang/rust-clippy/pull/5193 )
50
- * Extend ` question_mark ` lint [ #5266 ] ( https://github.com/rust-lang/rust-clippy/pull/5266 )
51
- * Also lint constants in ` cmp_nan ` [ #4910 ] ( https://github.com/rust-lang/rust-clippy/pull/4910 )
52
- * Fix false negative in ` expect_fun_call ` [ #4915 ] ( https://github.com/rust-lang/rust-clippy/pull/4915 )
53
- * Fix false negative in ` redundant_clone ` [ #5017 ] ( https://github.com/rust-lang/rust-clippy/pull/5017 )
54
- * Fix false positive in ` map_clone ` [ #4937 ] ( https://github.com/rust-lang/rust-clippy/pull/4937 )
55
- * Fix false positive in ` replace_consts ` [ #4977 ] ( https://github.com/rust-lang/rust-clippy/pull/4977 )
56
- * Fix false positive in ` let_and_return ` [ #5008 ] ( https://github.com/rust-lang/rust-clippy/pull/5008 )
57
- * Fix false positive in ` use_debug ` [ #5047 ] ( https://github.com/rust-lang/rust-clippy/pull/5047 )
58
- * Fix false positive in ` eq_op ` [ #5079 ] ( https://github.com/rust-lang/rust-clippy/pull/5079 )
59
- * Fix false positive in ` possible_missing_comma ` [ #5083 ] ( https://github.com/rust-lang/rust-clippy/pull/5083 )
60
- * Fix false positive in ` debug_assert_with_mut_call ` [ #5106 ] ( https://github.com/rust-lang/rust-clippy/pull/5106 )
61
- * Fix false positive in ` unnecessary_unwrap ` [ #5132 ] ( https://github.com/rust-lang/rust-clippy/pull/5132 )
62
- * Fix false positive in ` zero_prefixed_literal ` [ #5170 ] ( https://github.com/rust-lang/rust-clippy/pull/5170 )
63
- * Fix false positive in ` missing_const_for_fn ` [ #5216 ] ( https://github.com/rust-lang/rust-clippy/pull/5216 )
64
- * Don't trigger ` let_underscore_must_use ` in external macros
56
+ * Add more constants to [ ` approx_constant ` ] [ #5193 ] ( https://github.com/rust-lang/rust-clippy/pull/5193 )
57
+ * Extend [ ` question_mark ` ] lint [ #5266 ] ( https://github.com/rust-lang/rust-clippy/pull/5266 )
58
+ * Also lint constants in [ ` cmp_nan ` ] [ #4910 ] ( https://github.com/rust-lang/rust-clippy/pull/4910 )
59
+ * Fix false negative in [ ` expect_fun_call ` ] [ #4915 ] ( https://github.com/rust-lang/rust-clippy/pull/4915 )
60
+ * Fix false negative in [ ` redundant_clone ` ] [ #5017 ] ( https://github.com/rust-lang/rust-clippy/pull/5017 )
61
+
62
+ ### False Positive Fixes
63
+
64
+ * [ ` map_clone ` ] [ #4937 ] ( https://github.com/rust-lang/rust-clippy/pull/4937 )
65
+ * [ ` replace_consts ` ] [ #4977 ] ( https://github.com/rust-lang/rust-clippy/pull/4977 )
66
+ * [ ` let_and_return ` ] [ #5008 ] ( https://github.com/rust-lang/rust-clippy/pull/5008 )
67
+ * [ ` use_debug ` ] [ #5047 ] ( https://github.com/rust-lang/rust-clippy/pull/5047 )
68
+ * [ ` eq_op ` ] [ #5079 ] ( https://github.com/rust-lang/rust-clippy/pull/5079 )
69
+ * [ ` possible_missing_comma ` ] [ #5083 ] ( https://github.com/rust-lang/rust-clippy/pull/5083 )
70
+ * [ ` debug_assert_with_mut_call ` ] [ #5106 ] ( https://github.com/rust-lang/rust-clippy/pull/5106 )
71
+ * [ ` unnecessary_unwrap ` ] [ #5132 ] ( https://github.com/rust-lang/rust-clippy/pull/5132 )
72
+ * [ ` zero_prefixed_literal ` ] [ #5170 ] ( https://github.com/rust-lang/rust-clippy/pull/5170 )
73
+ * [ ` missing_const_for_fn ` ] [ #5216 ] ( https://github.com/rust-lang/rust-clippy/pull/5216 )
74
+ * Don't trigger [ ` let_underscore_must_use ` ] in external macros
65
75
[ #5082 ] ( https://github.com/rust-lang/rust-clippy/pull/5082 )
66
- * Don't trigger ` empty_loop ` in ` no_std ` crates [ #5086 ] ( https://github.com/rust-lang/rust-clippy/pull/5086 )
67
- * Improve suggestion for ` option_map_unwrap_or ` [ #4634 ] ( https://github.com/rust-lang/rust-clippy/pull/4634 )
68
- * Improve suggestion for ` wildcard_enum_match_arm ` [ #4934 ] ( https://github.com/rust-lang/rust-clippy/pull/4934 )
69
- * Improve suggestion for ` cognitive_complexity ` [ #4935 ] ( https://github.com/rust-lang/rust-clippy/pull/4935 )
70
- * Improve suggestion for ` decimal_literal_representation ` [ #4956 ] ( https://github.com/rust-lang/rust-clippy/pull/4956 )
71
- * Improve suggestion for ` unknown_clippy_lints ` [ #4963 ] ( https://github.com/rust-lang/rust-clippy/pull/4963 )
72
- * Improve suggestion for ` explicit_into_iter_loop ` [ #4978 ] ( https://github.com/rust-lang/rust-clippy/pull/4978 )
73
- * Improve suggestion for ` useless_attribute ` [ #5022 ] ( https://github.com/rust-lang/rust-clippy/pull/5022 )
74
- * Improve suggestion for ` if_let_some_result ` [ #5032 ] ( https://github.com/rust-lang/rust-clippy/pull/5032 )
76
+ * Don't trigger [ ` empty_loop ` ] in ` no_std ` crates [ #5086 ] ( https://github.com/rust-lang/rust-clippy/pull/5086 )
77
+
78
+ ### Suggestion Improvements
79
+
80
+ * [ ` option_map_unwrap_or ` ] [ #4634 ] ( https://github.com/rust-lang/rust-clippy/pull/4634 )
81
+ * [ ` wildcard_enum_match_arm ` ] [ #4934 ] ( https://github.com/rust-lang/rust-clippy/pull/4934 )
82
+ * [ ` cognitive_complexity ` ] [ #4935 ] ( https://github.com/rust-lang/rust-clippy/pull/4935 )
83
+ * [ ` decimal_literal_representation ` ] [ #4956 ] ( https://github.com/rust-lang/rust-clippy/pull/4956 )
84
+ * [ ` unknown_clippy_lints ` ] [ #4963 ] ( https://github.com/rust-lang/rust-clippy/pull/4963 )
85
+ * [ ` explicit_into_iter_loop ` ] [ #4978 ] ( https://github.com/rust-lang/rust-clippy/pull/4978 )
86
+ * [ ` useless_attribute ` ] [ #5022 ] ( https://github.com/rust-lang/rust-clippy/pull/5022 )
87
+ * [ ` if_let_some_result ` ] [ #5032 ] ( https://github.com/rust-lang/rust-clippy/pull/5032 )
75
88
* Improve suggestion when blocks of code are suggested [ #5134 ] ( https://github.com/rust-lang/rust-clippy/pull/5134 )
76
- * Fix ICE in ` unsound_collection_transmute ` [ #4975 ] ( https://github.com/rust-lang/rust-clippy/pull/4975 )
77
- * Fix ICE in ` misc_early ` lints [ #5129 ] ( https://github.com/rust-lang/rust-clippy/pull/5129 )
78
- * Fix ICE in ` missing_errors_doc ` [ #5213 ] ( https://github.com/rust-lang/rust-clippy/pull/5213 )
89
+
90
+ ### ICE fixes
91
+
92
+ * [ ` unsound_collection_transmute ` ] [ #4975 ] ( https://github.com/rust-lang/rust-clippy/pull/4975 )
93
+ * ` misc_early ` lints [ #5129 ] ( https://github.com/rust-lang/rust-clippy/pull/5129 )
94
+ * [ ` missing_errors_doc ` ] [ #5213 ] ( https://github.com/rust-lang/rust-clippy/pull/5213 )
79
95
* Fix ICE when evaluating ` usize ` s [ #5256 ] ( https://github.com/rust-lang/rust-clippy/pull/5256 )
96
+
97
+ ### Documentation
98
+
80
99
* Improve documentation of ` empty_enum ` , ` replace_consts ` , ` redundant_clone ` , and ` iterator_step_by_zero `
81
100
* Add documentation pages for stable releases [ #5171 ] ( https://github.com/rust-lang/rust-clippy/pull/5171 )
82
- * Clippy now runs completely on GitHub Actions [ #5190 ] ( https://github.com/rust-lang/rust-clippy/pull/5190 )
101
+
102
+ ### Others
103
+
104
+ * Clippy now completely runs on GitHub Actions [ #5190 ] ( https://github.com/rust-lang/rust-clippy/pull/5190 )
105
+
83
106
84
107
## Rust 1.41
85
108
0 commit comments