@@ -179,7 +179,7 @@ Current stable, released 2021-03-25
179
179
180
180
* Replace [ ` find_map ` ] with [ ` manual_find_map ` ]
181
181
[ #6591 ] ( https://github.com/rust-lang/rust-clippy/pull/6591 )
182
- * [ ` unknown_clippy_lints ` ] Now integrated in the ` unknown_lints ` rustc lint
182
+ * ` unknown_clippy_lints ` Now integrated in the ` unknown_lints ` rustc lint
183
183
[ #6653 ] ( https://github.com/rust-lang/rust-clippy/pull/6653 )
184
184
185
185
### Enhancements
@@ -280,7 +280,7 @@ Released 2021-02-11
280
280
281
281
* Previously deprecated [ ` str_to_string ` ] and [ ` string_to_string ` ] have been un-deprecated
282
282
as ` restriction ` lints [ #6333 ] ( https://github.com/rust-lang/rust-clippy/pull/6333 )
283
- * Deprecate [ ` panic_params ` ] lint. This is now available in rustc as ` panic_fmt `
283
+ * Deprecate ` panic_params ` lint. This is now available in rustc as ` non_fmt_panic `
284
284
[ #6351 ] ( https://github.com/rust-lang/rust-clippy/pull/6351 )
285
285
* Move [ ` map_err_ignore ` ] to ` restriction `
286
286
[ #6416 ] ( https://github.com/rust-lang/rust-clippy/pull/6416 )
@@ -419,7 +419,7 @@ Released 2020-12-31
419
419
[ #6037 ] ( https://github.com/rust-lang/rust-clippy/pull/6037 )
420
420
* Rename ` zero_width_space ` to [ ` invisible_characters ` ]
421
421
[ #6105 ] ( https://github.com/rust-lang/rust-clippy/pull/6105 )
422
- * Deprecate [ ` drop_bounds ` ] (uplifted)
422
+ * Deprecate ` drop_bounds ` (uplifted)
423
423
[ #6111 ] ( https://github.com/rust-lang/rust-clippy/pull/6111 )
424
424
* Move [ ` string_lit_as_bytes ` ] to ` nursery `
425
425
[ #6117 ] ( https://github.com/rust-lang/rust-clippy/pull/6117 )
@@ -1018,7 +1018,7 @@ Released 2020-03-12
1018
1018
[ #5015 ] ( https://github.com/rust-lang/rust-clippy/pull/5015 )
1019
1019
* Move [ ` range_plus_one ` ] to pedantic group [ #5057 ] ( https://github.com/rust-lang/rust-clippy/pull/5057 )
1020
1020
* Move [ ` debug_assert_with_mut_call ` ] to nursery group [ #5106 ] ( https://github.com/rust-lang/rust-clippy/pull/5106 )
1021
- * Deprecate [ ` unused_label ` ] [ #4930 ] ( https://github.com/rust-lang/rust-clippy/pull/4930 )
1021
+ * Deprecate ` unused_label ` [ #4930 ] ( https://github.com/rust-lang/rust-clippy/pull/4930 )
1022
1022
1023
1023
### Enhancements
1024
1024
@@ -1046,7 +1046,7 @@ Released 2020-03-12
1046
1046
* [ ` wildcard_enum_match_arm ` ] [ #4934 ] ( https://github.com/rust-lang/rust-clippy/pull/4934 )
1047
1047
* [ ` cognitive_complexity ` ] [ #4935 ] ( https://github.com/rust-lang/rust-clippy/pull/4935 )
1048
1048
* [ ` decimal_literal_representation ` ] [ #4956 ] ( https://github.com/rust-lang/rust-clippy/pull/4956 )
1049
- * [ ` unknown_clippy_lints ` ] [ #4963 ] ( https://github.com/rust-lang/rust-clippy/pull/4963 )
1049
+ * ` unknown_clippy_lints ` [ #4963 ] ( https://github.com/rust-lang/rust-clippy/pull/4963 )
1050
1050
* [ ` explicit_into_iter_loop ` ] [ #4978 ] ( https://github.com/rust-lang/rust-clippy/pull/4978 )
1051
1051
* [ ` useless_attribute ` ] [ #5022 ] ( https://github.com/rust-lang/rust-clippy/pull/5022 )
1052
1052
* [ ` if_let_some_result ` ] [ #5032 ] ( https://github.com/rust-lang/rust-clippy/pull/5032 )
@@ -1080,7 +1080,7 @@ Released 2020-01-30
1080
1080
[ Inside Rust Blog] ( https://blog.rust-lang.org/inside-rust/2019/11/04/Clippy-removes-plugin-interface.html ) for
1081
1081
details [ #4714 ] ( https://github.com/rust-lang/rust-clippy/pull/4714 )
1082
1082
* Move [ ` use_self ` ] to nursery group [ #4863 ] ( https://github.com/rust-lang/rust-clippy/pull/4863 )
1083
- * Deprecate [ ` into_iter_on_array ` ] [ #4788 ] ( https://github.com/rust-lang/rust-clippy/pull/4788 )
1083
+ * Deprecate ` into_iter_on_array ` [ #4788 ] ( https://github.com/rust-lang/rust-clippy/pull/4788 )
1084
1084
* Expand [ ` string_lit_as_bytes ` ] to also trigger when literal has escapes
1085
1085
[ #4808 ] ( https://github.com/rust-lang/rust-clippy/pull/4808 )
1086
1086
* Fix false positive in ` comparison_chain ` [ #4842 ] ( https://github.com/rust-lang/rust-clippy/pull/4842 )
@@ -1282,7 +1282,7 @@ Released 2019-05-20
1282
1282
1283
1283
[ 1fac380..37f5c1e] ( https://github.com/rust-lang/rust-clippy/compare/1fac380...37f5c1e )
1284
1284
1285
- * New lint: [ ` drop_bounds ` ] to detect ` T: Drop ` bounds
1285
+ * New lint: ` drop_bounds ` to detect ` T: Drop ` bounds
1286
1286
* Split [ ` redundant_closure ` ] into [ ` redundant_closure ` ] and [ ` redundant_closure_for_method_calls ` ] [ #4110 ] ( https://github.com/rust-lang/rust-clippy/pull/4101 )
1287
1287
* Rename ` cyclomatic_complexity ` to [ ` cognitive_complexity ` ] , start work on making lint more practical for Rust code
1288
1288
* Move [ ` get_unwrap ` ] to the restriction category
@@ -1375,7 +1375,7 @@ Released 2019-01-17
1375
1375
1376
1376
* New lints: [ ` slow_vector_initialization ` ] , [ ` mem_discriminant_non_enum ` ] ,
1377
1377
[ ` redundant_clone ` ] , [ ` wildcard_dependencies ` ] ,
1378
- [ ` into_iter_on_ref ` ] , [ ` into_iter_on_array ` ] , [ ` deprecated_cfg_attr ` ] ,
1378
+ [ ` into_iter_on_ref ` ] , ` into_iter_on_array ` , [ ` deprecated_cfg_attr ` ] ,
1379
1379
[ ` mem_discriminant_non_enum ` ] , [ ` cargo_common_metadata ` ]
1380
1380
* Add support for ` u128 ` and ` i128 ` to integer related lints
1381
1381
* Add float support to ` mistyped_literal_suffixes `
@@ -1649,7 +1649,7 @@ Released 2018-09-13
1649
1649
1650
1650
## 0.0.166
1651
1651
* Rustup to * rustc 1.22.0-nightly (b7960878b 2017-10-18)*
1652
- * New lints: [ ` explicit_write ` ] , ` identity_conversion ` , [ ` implicit_hasher ` ] , [ ` invalid_ref ` ] , [ ` option_map_or_none ` ] ,
1652
+ * New lints: [ ` explicit_write ` ] , ` identity_conversion ` , [ ` implicit_hasher ` ] , ` invalid_ref ` , [ ` option_map_or_none ` ] ,
1653
1653
[ ` range_minus_one ` ] , [ ` range_plus_one ` ] , [ ` transmute_int_to_bool ` ] , [ ` transmute_int_to_char ` ] ,
1654
1654
[ ` transmute_int_to_float ` ]
1655
1655
@@ -2037,7 +2037,7 @@ Released 2018-09-13
2037
2037
2038
2038
## 0.0.64 — 2016-04-26
2039
2039
* Rustup to * rustc 1.10.0-nightly (645dd013a 2016-04-24)*
2040
- * New lints: [ ` temporary_cstring_as_ptr ` ] , [ ` unsafe_removed_from_name ` ] , and [ ` mem_forget ` ]
2040
+ * New lints: ` temporary_cstring_as_ptr ` , [ ` unsafe_removed_from_name ` ] , and [ ` mem_forget ` ]
2041
2041
2042
2042
## 0.0.63 — 2016-04-08
2043
2043
* Rustup to * rustc 1.9.0-nightly (7979dd608 2016-04-07)*
@@ -2091,7 +2091,7 @@ Released 2018-09-13
2091
2091
2092
2092
## 0.0.49 — 2016-03-09
2093
2093
* Update to * rustc 1.9.0-nightly (eabfc160f 2016-03-08)*
2094
- * New lints: [ ` overflow_check_conditional ` ] , [ ` unused_label ` ] , [ ` new_without_default ` ]
2094
+ * New lints: [ ` overflow_check_conditional ` ] , ` unused_label ` , [ ` new_without_default ` ]
2095
2095
2096
2096
## 0.0.48 — 2016-03-07
2097
2097
* Fixed: ICE in [ ` needless_range_loop ` ] with globals
@@ -2124,6 +2124,7 @@ Released 2018-09-13
2124
2124
[ `blacklisted_name` ] : https://rust-lang.github.io/rust-clippy/master/index.html#blacklisted_name
2125
2125
[ `blanket_clippy_restriction_lints` ] : https://rust-lang.github.io/rust-clippy/master/index.html#blanket_clippy_restriction_lints
2126
2126
[ `blocks_in_if_conditions` ] : https://rust-lang.github.io/rust-clippy/master/index.html#blocks_in_if_conditions
2127
+ [ `bool_assert_comparison` ] : https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison
2127
2128
[ `bool_comparison` ] : https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison
2128
2129
[ `borrow_interior_mutable_const` ] : https://rust-lang.github.io/rust-clippy/master/index.html#borrow_interior_mutable_const
2129
2130
[ `borrowed_box` ] : https://rust-lang.github.io/rust-clippy/master/index.html#borrowed_box
@@ -2148,6 +2149,7 @@ Released 2018-09-13
2148
2149
[ `clone_double_ref` ] : https://rust-lang.github.io/rust-clippy/master/index.html#clone_double_ref
2149
2150
[ `clone_on_copy` ] : https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
2150
2151
[ `clone_on_ref_ptr` ] : https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_ref_ptr
2152
+ [ `cloned_instead_of_copied` ] : https://rust-lang.github.io/rust-clippy/master/index.html#cloned_instead_of_copied
2151
2153
[ `cmp_nan` ] : https://rust-lang.github.io/rust-clippy/master/index.html#cmp_nan
2152
2154
[ `cmp_null` ] : https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null
2153
2155
[ `cmp_owned` ] : https://rust-lang.github.io/rust-clippy/master/index.html#cmp_owned
@@ -2178,7 +2180,6 @@ Released 2018-09-13
2178
2180
[ `double_must_use` ] : https://rust-lang.github.io/rust-clippy/master/index.html#double_must_use
2179
2181
[ `double_neg` ] : https://rust-lang.github.io/rust-clippy/master/index.html#double_neg
2180
2182
[ `double_parens` ] : https://rust-lang.github.io/rust-clippy/master/index.html#double_parens
2181
- [ `drop_bounds` ] : https://rust-lang.github.io/rust-clippy/master/index.html#drop_bounds
2182
2183
[ `drop_copy` ] : https://rust-lang.github.io/rust-clippy/master/index.html#drop_copy
2183
2184
[ `drop_ref` ] : https://rust-lang.github.io/rust-clippy/master/index.html#drop_ref
2184
2185
[ `duplicate_underscore_argument` ] : https://rust-lang.github.io/rust-clippy/master/index.html#duplicate_underscore_argument
@@ -2216,6 +2217,7 @@ Released 2018-09-13
2216
2217
[ `filter_next` ] : https://rust-lang.github.io/rust-clippy/master/index.html#filter_next
2217
2218
[ `find_map` ] : https://rust-lang.github.io/rust-clippy/master/index.html#find_map
2218
2219
[ `flat_map_identity` ] : https://rust-lang.github.io/rust-clippy/master/index.html#flat_map_identity
2220
+ [ `flat_map_option` ] : https://rust-lang.github.io/rust-clippy/master/index.html#flat_map_option
2219
2221
[ `float_arithmetic` ] : https://rust-lang.github.io/rust-clippy/master/index.html#float_arithmetic
2220
2222
[ `float_cmp` ] : https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp
2221
2223
[ `float_cmp_const` ] : https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp_const
@@ -2264,10 +2266,9 @@ Released 2018-09-13
2264
2266
[ `int_plus_one` ] : https://rust-lang.github.io/rust-clippy/master/index.html#int_plus_one
2265
2267
[ `integer_arithmetic` ] : https://rust-lang.github.io/rust-clippy/master/index.html#integer_arithmetic
2266
2268
[ `integer_division` ] : https://rust-lang.github.io/rust-clippy/master/index.html#integer_division
2267
- [ `into_iter_on_array` ] : https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_array
2268
2269
[ `into_iter_on_ref` ] : https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref
2269
2270
[ `invalid_atomic_ordering` ] : https://rust-lang.github.io/rust-clippy/master/index.html#invalid_atomic_ordering
2270
- [ `invalid_ref ` ] : https://rust-lang.github.io/rust-clippy/master/index.html#invalid_ref
2271
+ [ `invalid_null_ptr_usage ` ] : https://rust-lang.github.io/rust-clippy/master/index.html#invalid_null_ptr_usage
2271
2272
[ `invalid_regex` ] : https://rust-lang.github.io/rust-clippy/master/index.html#invalid_regex
2272
2273
[ `invalid_upcast_comparisons` ] : https://rust-lang.github.io/rust-clippy/master/index.html#invalid_upcast_comparisons
2273
2274
[ `invisible_characters` ] : https://rust-lang.github.io/rust-clippy/master/index.html#invisible_characters
@@ -2402,7 +2403,6 @@ Released 2018-09-13
2402
2403
[ `overflow_check_conditional` ] : https://rust-lang.github.io/rust-clippy/master/index.html#overflow_check_conditional
2403
2404
[ `panic` ] : https://rust-lang.github.io/rust-clippy/master/index.html#panic
2404
2405
[ `panic_in_result_fn` ] : https://rust-lang.github.io/rust-clippy/master/index.html#panic_in_result_fn
2405
- [ `panic_params` ] : https://rust-lang.github.io/rust-clippy/master/index.html#panic_params
2406
2406
[ `panicking_unwrap` ] : https://rust-lang.github.io/rust-clippy/master/index.html#panicking_unwrap
2407
2407
[ `partialeq_ne_impl` ] : https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_ne_impl
2408
2408
[ `path_buf_push_overwrite` ] : https://rust-lang.github.io/rust-clippy/master/index.html#path_buf_push_overwrite
@@ -2488,7 +2488,6 @@ Released 2018-09-13
2488
2488
[ `suspicious_unary_op_formatting` ] : https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_unary_op_formatting
2489
2489
[ `tabs_in_doc_comments` ] : https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
2490
2490
[ `temporary_assignment` ] : https://rust-lang.github.io/rust-clippy/master/index.html#temporary_assignment
2491
- [ `temporary_cstring_as_ptr` ] : https://rust-lang.github.io/rust-clippy/master/index.html#temporary_cstring_as_ptr
2492
2491
[ `to_digit_is_some` ] : https://rust-lang.github.io/rust-clippy/master/index.html#to_digit_is_some
2493
2492
[ `to_string_in_display` ] : https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_display
2494
2493
[ `todo` ] : https://rust-lang.github.io/rust-clippy/master/index.html#todo
@@ -2517,13 +2516,13 @@ Released 2018-09-13
2517
2516
[ `unit_arg` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unit_arg
2518
2517
[ `unit_cmp` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unit_cmp
2519
2518
[ `unit_return_expecting_ord` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unit_return_expecting_ord
2520
- [ `unknown_clippy_lints` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unknown_clippy_lints
2521
2519
[ `unnecessary_cast` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
2522
2520
[ `unnecessary_filter_map` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_filter_map
2523
2521
[ `unnecessary_fold` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fold
2524
2522
[ `unnecessary_lazy_evaluations` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations
2525
2523
[ `unnecessary_mut_passed` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_mut_passed
2526
2524
[ `unnecessary_operation` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_operation
2525
+ [ `unnecessary_self_imports` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_self_imports
2527
2526
[ `unnecessary_sort_by` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_sort_by
2528
2527
[ `unnecessary_unwrap` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap
2529
2528
[ `unnecessary_wraps` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_wraps
@@ -2541,7 +2540,6 @@ Released 2018-09-13
2541
2540
[ `unstable_as_slice` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unstable_as_slice
2542
2541
[ `unused_collect` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unused_collect
2543
2542
[ `unused_io_amount` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unused_io_amount
2544
- [ `unused_label` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unused_label
2545
2543
[ `unused_self` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unused_self
2546
2544
[ `unused_unit` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
2547
2545
[ `unusual_byte_groupings` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unusual_byte_groupings
0 commit comments