@@ -6,15 +6,136 @@ document.
6
6
7
7
## Unreleased / In Rust Beta or Nightly
8
8
9
- [ 69f99e7...master] ( https://github.com/rust-lang/rust-clippy/compare/69f99e7...master )
9
+ [ 329923e...master] ( https://github.com/rust-lang/rust-clippy/compare/329923e...master )
10
+
11
+ ## Rust 1.43
12
+
13
+ Current beta, release 2020-04-23
14
+
15
+ [ 4ee1206...329923e] ( https://github.com/rust-lang/rust-clippy/compare/4ee1206...329923e )
16
+
17
+ ### New lints
18
+
19
+ * [ ` imprecise_flops ` ] [ #4897 ] ( https://github.com/rust-lang/rust-clippy/pull/4897 )
20
+ * [ ` suboptimal_flops ` ] [ #4897 ] ( https://github.com/rust-lang/rust-clippy/pull/4897 )
21
+ * [ ` wildcard_imports ` ] [ #5029 ] ( https://github.com/rust-lang/rust-clippy/pull/5029 )
22
+ * [ ` single_component_path_imports ` ] [ #5058 ] ( https://github.com/rust-lang/rust-clippy/pull/5058 )
23
+ * [ ` match_single_binding ` ] [ #5061 ] ( https://github.com/rust-lang/rust-clippy/pull/5061 )
24
+ * [ ` let_underscore_lock ` ] [ #5101 ] ( https://github.com/rust-lang/rust-clippy/pull/5101 )
25
+ * [ ` struct_excessive_bools ` ] [ #5125 ] ( https://github.com/rust-lang/rust-clippy/pull/5125 )
26
+ * [ ` fn_params_excessive_bools ` ] [ #5125 ] ( https://github.com/rust-lang/rust-clippy/pull/5125 )
27
+ * [ ` option_env_unwrap ` ] [ #5148 ] ( https://github.com/rust-lang/rust-clippy/pull/5148 )
28
+ * [ ` lossy_float_literal ` ] [ #5202 ] ( https://github.com/rust-lang/rust-clippy/pull/5202 )
29
+ * [ ` rest_pat_in_fully_bound_structs ` ] [ #5258 ] ( https://github.com/rust-lang/rust-clippy/pull/5258 )
30
+
31
+ ### Moves and Deprecations
32
+
33
+ * Move [ ` unneeded_field_pattern ` ] to pedantic group [ #5200 ] ( https://github.com/rust-lang/rust-clippy/pull/5200 )
34
+
35
+ ### Enhancements
36
+
37
+ * Make [ ` missing_errors_doc ` ] lint also trigger on ` async ` functions
38
+ [ #5181 ] ( https://github.com/rust-lang/rust-clippy/pull/5181 )
39
+ * Add more constants to [ ` approx_constant ` ] [ #5193 ] ( https://github.com/rust-lang/rust-clippy/pull/5193 )
40
+ * Extend [ ` question_mark ` ] lint [ #5266 ] ( https://github.com/rust-lang/rust-clippy/pull/5266 )
41
+
42
+ ### False Positive Fixes
43
+
44
+ * [ ` use_debug ` ] [ #5047 ] ( https://github.com/rust-lang/rust-clippy/pull/5047 )
45
+ * [ ` unnecessary_unwrap ` ] [ #5132 ] ( https://github.com/rust-lang/rust-clippy/pull/5132 )
46
+ * [ ` zero_prefixed_literal ` ] [ #5170 ] ( https://github.com/rust-lang/rust-clippy/pull/5170 )
47
+ * [ ` missing_const_for_fn ` ] [ #5216 ] ( https://github.com/rust-lang/rust-clippy/pull/5216 )
48
+
49
+ ### Suggestion Improvements
50
+
51
+ * Improve suggestion when blocks of code are suggested [ #5134 ] ( https://github.com/rust-lang/rust-clippy/pull/5134 )
52
+
53
+ ### ICE Fixes
54
+
55
+ * ` misc_early ` lints [ #5129 ] ( https://github.com/rust-lang/rust-clippy/pull/5129 )
56
+ * [ ` missing_errors_doc ` ] [ #5213 ] ( https://github.com/rust-lang/rust-clippy/pull/5213 )
57
+ * Fix ICE when evaluating ` usize ` s [ #5256 ] ( https://github.com/rust-lang/rust-clippy/pull/5256 )
58
+
59
+ ### Documentation
60
+
61
+ * Improve documentation of [ ` iter_nth_zero ` ]
62
+ * Add documentation pages for stable releases [ #5171 ] ( https://github.com/rust-lang/rust-clippy/pull/5171 )
63
+
64
+ ### Others
65
+
66
+ * Clippy now completely runs on GitHub Actions [ #5190 ] ( https://github.com/rust-lang/rust-clippy/pull/5190 )
67
+
10
68
11
69
## Rust 1.42
12
70
13
- Current Beta
71
+ Current stable, released 2020-03-12
72
+
73
+ [ 69f99e7...4ee1206] ( https://github.com/rust-lang/rust-clippy/compare/69f99e7...4ee1206 )
74
+
75
+ ### New lints
76
+
77
+ * [ ` filetype_is_file ` ] [ #4543 ] ( https://github.com/rust-lang/rust-clippy/pull/4543 )
78
+ * [ ` let_underscore_must_use ` ] [ #4823 ] ( https://github.com/rust-lang/rust-clippy/pull/4823 )
79
+ * [ ` modulo_arithmetic ` ] [ #4867 ] ( https://github.com/rust-lang/rust-clippy/pull/4867 )
80
+ * [ ` mem_replace_with_default ` ] [ #4881 ] ( https://github.com/rust-lang/rust-clippy/pull/4881 )
81
+ * [ ` mutable_key_type ` ] [ #4885 ] ( https://github.com/rust-lang/rust-clippy/pull/4885 )
82
+ * [ ` option_as_ref_deref ` ] [ #4945 ] ( https://github.com/rust-lang/rust-clippy/pull/4945 )
83
+ * [ ` wildcard_in_or_patterns ` ] [ #4960 ] ( https://github.com/rust-lang/rust-clippy/pull/4960 )
84
+ * [ ` iter_nth_zero ` ] [ #4966 ] ( https://github.com/rust-lang/rust-clippy/pull/4966 )
85
+ * [ ` invalid_atomic_ordering ` ] [ #4999 ] ( https://github.com/rust-lang/rust-clippy/pull/4999 )
86
+ * [ ` skip_while_next ` ] [ #5067 ] ( https://github.com/rust-lang/rust-clippy/pull/5067 )
87
+
88
+ ### Moves and Deprecations
89
+
90
+ * Move [ ` transmute_float_to_int ` ] from nursery to complexity group
91
+ [ #5015 ] ( https://github.com/rust-lang/rust-clippy/pull/5015 )
92
+ * Move [ ` range_plus_one ` ] to pedantic group [ #5057 ] ( https://github.com/rust-lang/rust-clippy/pull/5057 )
93
+ * Move [ ` debug_assert_with_mut_call ` ] to nursery group [ #5106 ] ( https://github.com/rust-lang/rust-clippy/pull/5106 )
94
+ * Deprecate [ ` unused_label ` ] [ #4930 ] ( https://github.com/rust-lang/rust-clippy/pull/4930 )
95
+
96
+ ### Enhancements
97
+
98
+ * Lint vectored IO in [ ` unused_io_amount ` ] [ #5027 ] ( https://github.com/rust-lang/rust-clippy/pull/5027 )
99
+ * Make [ ` vec_box ` ] configurable by adding a size threshold [ #5081 ] ( https://github.com/rust-lang/rust-clippy/pull/5081 )
100
+ * Also lint constants in [ ` cmp_nan ` ] [ #4910 ] ( https://github.com/rust-lang/rust-clippy/pull/4910 )
101
+ * Fix false negative in [ ` expect_fun_call ` ] [ #4915 ] ( https://github.com/rust-lang/rust-clippy/pull/4915 )
102
+ * Fix false negative in [ ` redundant_clone ` ] [ #5017 ] ( https://github.com/rust-lang/rust-clippy/pull/5017 )
103
+
104
+ ### False Positive Fixes
105
+
106
+ * [ ` map_clone ` ] [ #4937 ] ( https://github.com/rust-lang/rust-clippy/pull/4937 )
107
+ * [ ` replace_consts ` ] [ #4977 ] ( https://github.com/rust-lang/rust-clippy/pull/4977 )
108
+ * [ ` let_and_return ` ] [ #5008 ] ( https://github.com/rust-lang/rust-clippy/pull/5008 )
109
+ * [ ` eq_op ` ] [ #5079 ] ( https://github.com/rust-lang/rust-clippy/pull/5079 )
110
+ * [ ` possible_missing_comma ` ] [ #5083 ] ( https://github.com/rust-lang/rust-clippy/pull/5083 )
111
+ * [ ` debug_assert_with_mut_call ` ] [ #5106 ] ( https://github.com/rust-lang/rust-clippy/pull/5106 )
112
+ * Don't trigger [ ` let_underscore_must_use ` ] in external macros
113
+ [ #5082 ] ( https://github.com/rust-lang/rust-clippy/pull/5082 )
114
+ * Don't trigger [ ` empty_loop ` ] in ` no_std ` crates [ #5086 ] ( https://github.com/rust-lang/rust-clippy/pull/5086 )
115
+
116
+ ### Suggestion Improvements
117
+
118
+ * [ ` option_map_unwrap_or ` ] [ #4634 ] ( https://github.com/rust-lang/rust-clippy/pull/4634 )
119
+ * [ ` wildcard_enum_match_arm ` ] [ #4934 ] ( https://github.com/rust-lang/rust-clippy/pull/4934 )
120
+ * [ ` cognitive_complexity ` ] [ #4935 ] ( https://github.com/rust-lang/rust-clippy/pull/4935 )
121
+ * [ ` decimal_literal_representation ` ] [ #4956 ] ( https://github.com/rust-lang/rust-clippy/pull/4956 )
122
+ * [ ` unknown_clippy_lints ` ] [ #4963 ] ( https://github.com/rust-lang/rust-clippy/pull/4963 )
123
+ * [ ` explicit_into_iter_loop ` ] [ #4978 ] ( https://github.com/rust-lang/rust-clippy/pull/4978 )
124
+ * [ ` useless_attribute ` ] [ #5022 ] ( https://github.com/rust-lang/rust-clippy/pull/5022 )
125
+ * [ ` if_let_some_result ` ] [ #5032 ] ( https://github.com/rust-lang/rust-clippy/pull/5032 )
126
+
127
+ ### ICE fixes
128
+
129
+ * [ ` unsound_collection_transmute ` ] [ #4975 ] ( https://github.com/rust-lang/rust-clippy/pull/4975 )
130
+
131
+ ### Documentation
132
+
133
+ * Improve documentation of [ ` empty_enum ` ] , [ ` replace_consts ` ] , [ ` redundant_clone ` ] , and [ ` iterator_step_by_zero ` ]
134
+
14
135
15
136
## Rust 1.41
16
137
17
- Current stable, released 2020-01-30
138
+ Released 2020-01-30
18
139
19
140
[ c8e3cfb...69f99e7] ( https://github.com/rust-lang/rust-clippy/compare/c8e3cfb...69f99e7 )
20
141
@@ -1150,6 +1271,7 @@ Released 2018-09-13
1150
1271
[ `float_arithmetic` ] : https://rust-lang.github.io/rust-clippy/master/index.html#float_arithmetic
1151
1272
[ `float_cmp` ] : https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp
1152
1273
[ `float_cmp_const` ] : https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp_const
1274
+ [ `fn_address_comparisons` ] : https://rust-lang.github.io/rust-clippy/master/index.html#fn_address_comparisons
1153
1275
[ `fn_params_excessive_bools` ] : https://rust-lang.github.io/rust-clippy/master/index.html#fn_params_excessive_bools
1154
1276
[ `fn_to_numeric_cast` ] : https://rust-lang.github.io/rust-clippy/master/index.html#fn_to_numeric_cast
1155
1277
[ `fn_to_numeric_cast_with_truncation` ] : https://rust-lang.github.io/rust-clippy/master/index.html#fn_to_numeric_cast_with_truncation
@@ -1319,6 +1441,7 @@ Released 2018-09-13
1319
1441
[ `redundant_field_names` ] : https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
1320
1442
[ `redundant_pattern` ] : https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern
1321
1443
[ `redundant_pattern_matching` ] : https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching
1444
+ [ `redundant_pub_crate` ] : https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pub_crate
1322
1445
[ `redundant_static_lifetimes` ] : https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes
1323
1446
[ `ref_in_deref` ] : https://rust-lang.github.io/rust-clippy/master/index.html#ref_in_deref
1324
1447
[ `regex_macro` ] : https://rust-lang.github.io/rust-clippy/master/index.html#regex_macro
@@ -1418,6 +1541,8 @@ Released 2018-09-13
1418
1541
[ `useless_vec` ] : https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
1419
1542
[ `vec_box` ] : https://rust-lang.github.io/rust-clippy/master/index.html#vec_box
1420
1543
[ `verbose_bit_mask` ] : https://rust-lang.github.io/rust-clippy/master/index.html#verbose_bit_mask
1544
+ [ `verbose_file_reads` ] : https://rust-lang.github.io/rust-clippy/master/index.html#verbose_file_reads
1545
+ [ `vtable_address_comparisons` ] : https://rust-lang.github.io/rust-clippy/master/index.html#vtable_address_comparisons
1421
1546
[ `while_immutable_condition` ] : https://rust-lang.github.io/rust-clippy/master/index.html#while_immutable_condition
1422
1547
[ `while_let_loop` ] : https://rust-lang.github.io/rust-clippy/master/index.html#while_let_loop
1423
1548
[ `while_let_on_iterator` ] : https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator
0 commit comments