@@ -198,7 +198,7 @@ Released 2020-03-12
198
198
199
199
### Suggestion Improvements
200
200
201
- * [ ` option_map_unwrap_or ` ] [ #4634 ] ( https://github.com/rust-lang/rust-clippy/pull/4634 )
201
+ * ` option_map_unwrap_or ` [ #4634 ] ( https://github.com/rust-lang/rust-clippy/pull/4634 )
202
202
* [ ` wildcard_enum_match_arm ` ] [ #4934 ] ( https://github.com/rust-lang/rust-clippy/pull/4934 )
203
203
* [ ` cognitive_complexity ` ] [ #4935 ] ( https://github.com/rust-lang/rust-clippy/pull/4935 )
204
204
* [ ` decimal_literal_representation ` ] [ #4956 ] ( https://github.com/rust-lang/rust-clippy/pull/4956 )
@@ -282,8 +282,8 @@ Released 2019-12-19
282
282
* [ ` panic ` ] [ #4657 ] ( https://github.com/rust-lang/rust-clippy/pull/4657 )
283
283
* [ ` unreachable ` ] [ #4657 ] ( https://github.com/rust-lang/rust-clippy/pull/4657 )
284
284
* [ ` todo ` ] [ #4657 ] ( https://github.com/rust-lang/rust-clippy/pull/4657 )
285
- * [ ` option_expect_used ` ] [ #4657 ] ( https://github.com/rust-lang/rust-clippy/pull/4657 )
286
- * [ ` result_expect_used ` ] [ #4657 ] ( https://github.com/rust-lang/rust-clippy/pull/4657 )
285
+ * ` option_expect_used ` [ #4657 ] ( https://github.com/rust-lang/rust-clippy/pull/4657 )
286
+ * ` result_expect_used ` [ #4657 ] ( https://github.com/rust-lang/rust-clippy/pull/4657 )
287
287
* Move ` redundant_clone ` to perf group [ #4509 ] ( https://github.com/rust-lang/rust-clippy/pull/4509 )
288
288
* Move ` manual_mul_add ` to nursery group [ #4736 ] ( https://github.com/rust-lang/rust-clippy/pull/4736 )
289
289
* Expand ` unit_cmp ` to also work with ` assert_eq! ` , ` debug_assert_eq! ` , ` assert_ne! ` and ` debug_assert_ne! ` [ #4613 ] ( https://github.com/rust-lang/rust-clippy/pull/4613 )
@@ -315,7 +315,7 @@ Released 2019-11-07
315
315
* [ ` missing_safety_doc ` ] [ #4535 ] ( https://github.com/rust-lang/rust-clippy/pull/4535 )
316
316
* [ ` mem_replace_with_uninit ` ] [ #4511 ] ( https://github.com/rust-lang/rust-clippy/pull/4511 )
317
317
* [ ` suspicious_map ` ] [ #4394 ] ( https://github.com/rust-lang/rust-clippy/pull/4394 )
318
- * [ ` option_and_then_some ` ] [ #4386 ] ( https://github.com/rust-lang/rust-clippy/pull/4386 )
318
+ * ` option_and_then_some ` [ #4386 ] ( https://github.com/rust-lang/rust-clippy/pull/4386 )
319
319
* [ ` manual_saturating_arithmetic ` ] [ #4498 ] ( https://github.com/rust-lang/rust-clippy/pull/4498 )
320
320
* Deprecate ` unused_collect ` lint. This is fully covered by rustc's ` #[must_use] ` on ` collect ` [ #4348 ] ( https://github.com/rust-lang/rust-clippy/pull/4348 )
321
321
* Move ` type_repetition_in_bounds ` to pedantic group [ #4403 ] ( https://github.com/rust-lang/rust-clippy/pull/4403 )
@@ -395,7 +395,7 @@ Released 2019-08-15
395
395
* Fix false positive in [ ` useless_attribute ` ] [ #4107 ] ( https://github.com/rust-lang/rust-clippy/pull/4107 )
396
396
* Fix incorrect suggestion for [ ` float_cmp ` ] [ #4214 ] ( https://github.com/rust-lang/rust-clippy/pull/4214 )
397
397
* Add suggestions for [ ` print_with_newline ` ] and [ ` write_with_newline ` ] [ #4136 ] ( https://github.com/rust-lang/rust-clippy/pull/4136 )
398
- * Improve suggestions for [ ` option_map_unwrap_or_else ` ] and [ ` result_map_unwrap_or_else ` ] [ #4164 ] ( https://github.com/rust-lang/rust-clippy/pull/4164 )
398
+ * Improve suggestions for ` option_map_unwrap_or_else ` and ` result_map_unwrap_or_else ` [ #4164 ] ( https://github.com/rust-lang/rust-clippy/pull/4164 )
399
399
* Improve suggestions for [ ` non_ascii_literal ` ] [ #4119 ] ( https://github.com/rust-lang/rust-clippy/pull/4119 )
400
400
* Improve diagnostics for [ ` let_and_return ` ] [ #4137 ] ( https://github.com/rust-lang/rust-clippy/pull/4137 )
401
401
* Improve diagnostics for [ ` trivially_copy_pass_by_ref ` ] [ #4071 ] ( https://github.com/rust-lang/rust-clippy/pull/4071 )
@@ -448,7 +448,7 @@ Released 2019-05-20
448
448
* Fix false positive in [ ` needless_range_loop ` ] pertaining to structs without a ` .iter() `
449
449
* Fix false positive in [ ` bool_comparison ` ] pertaining to non-bool types
450
450
* Fix false positive in [ ` redundant_closure ` ] pertaining to differences in borrows
451
- * Fix false positive in [ ` option_map_unwrap_or ` ] on non-copy types
451
+ * Fix false positive in ` option_map_unwrap_or ` on non-copy types
452
452
* Fix false positives in [ ` missing_const_for_fn ` ] pertaining to macros and trait method impls
453
453
* Fix false positive in [ ` needless_pass_by_value ` ] pertaining to procedural macros
454
454
* Fix false positive in [ ` needless_continue ` ] pertaining to loop labels
@@ -794,7 +794,7 @@ Released 2018-09-13
794
794
795
795
## 0.0.169
796
796
* Rustup to * rustc 1.23.0-nightly (3b82e4c74 2017-11-05)*
797
- * New lints: [ ` just_underscores_and_digits ` ] , [ ` result_map_unwrap_or_else ` ] , [ ` transmute_bytes_to_str ` ]
797
+ * New lints: [ ` just_underscores_and_digits ` ] , ` result_map_unwrap_or_else ` , [ ` transmute_bytes_to_str ` ]
798
798
799
799
## 0.0.168
800
800
* Rustup to * rustc 1.23.0-nightly (f0fe716db 2017-10-30)*
@@ -805,7 +805,7 @@ Released 2018-09-13
805
805
806
806
## 0.0.166
807
807
* Rustup to * rustc 1.22.0-nightly (b7960878b 2017-10-18)*
808
- * New lints: [ ` explicit_write ` ] , [ ` identity_conversion ` ] , [ ` implicit_hasher ` ] , [ ` invalid_ref ` ] , [ ` option_map_or_none ` ] ,
808
+ * New lints: [ ` explicit_write ` ] , ` identity_conversion ` , [ ` implicit_hasher ` ] , [ ` invalid_ref ` ] , [ ` option_map_or_none ` ] ,
809
809
[ ` range_minus_one ` ] , [ ` range_plus_one ` ] , [ ` transmute_int_to_bool ` ] , [ ` transmute_int_to_char ` ] ,
810
810
[ ` transmute_int_to_float ` ]
811
811
@@ -1068,7 +1068,7 @@ Released 2018-09-13
1068
1068
1069
1069
## 0.0.93 — 2016-10-03
1070
1070
* Rustup to * rustc 1.14.0-nightly (144af3e97 2016-10-02)*
1071
- * [ ` option_map_unwrap_or ` ] and [ ` option_map_unwrap_or_else ` ] are now
1071
+ * ` option_map_unwrap_or ` and ` option_map_unwrap_or_else ` are now
1072
1072
allowed by default.
1073
1073
* New lint: [ ` explicit_into_iter_loop ` ]
1074
1074
@@ -1087,8 +1087,8 @@ Released 2018-09-13
1087
1087
## 0.0.88 — 2016-09-04
1088
1088
* Rustup to * rustc 1.13.0-nightly (70598e04f 2016-09-03)*
1089
1089
* The following lints are not new but were only usable through the ` clippy `
1090
- lint groups: [ ` filter_next ` ] , [ ` for_loop_over_option ` ] ,
1091
- [ ` for_loop_over_result ` ] and [ ` match_overlapping_arm ` ] . You should now be
1090
+ lint groups: [ ` filter_next ` ] , ` for_loop_over_option ` ,
1091
+ ` for_loop_over_result ` and [ ` match_overlapping_arm ` ] . You should now be
1092
1092
able to ` #[allow/deny] ` them individually and they are available directly
1093
1093
through ` cargo clippy ` .
1094
1094
@@ -1273,9 +1273,9 @@ Released 2018-09-13
1273
1273
[ `assign_ops` ] : https://rust-lang.github.io/rust-clippy/master/index.html#assign_ops
1274
1274
[ `await_holding_lock` ] : https://rust-lang.github.io/rust-clippy/master/index.html#await_holding_lock
1275
1275
[ `bad_bit_mask` ] : https://rust-lang.github.io/rust-clippy/master/index.html#bad_bit_mask
1276
+ [ `bind_instead_of_map` ] : https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map
1276
1277
[ `blacklisted_name` ] : https://rust-lang.github.io/rust-clippy/master/index.html#blacklisted_name
1277
- [ `block_in_if_condition_expr` ] : https://rust-lang.github.io/rust-clippy/master/index.html#block_in_if_condition_expr
1278
- [ `block_in_if_condition_stmt` ] : https://rust-lang.github.io/rust-clippy/master/index.html#block_in_if_condition_stmt
1278
+ [ `blocks_in_if_conditions` ] : https://rust-lang.github.io/rust-clippy/master/index.html#blocks_in_if_conditions
1279
1279
[ `bool_comparison` ] : https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison
1280
1280
[ `borrow_interior_mutable_const` ] : https://rust-lang.github.io/rust-clippy/master/index.html#borrow_interior_mutable_const
1281
1281
[ `borrowed_box` ] : https://rust-lang.github.io/rust-clippy/master/index.html#borrowed_box
@@ -1338,6 +1338,7 @@ Released 2018-09-13
1338
1338
[ `excessive_precision` ] : https://rust-lang.github.io/rust-clippy/master/index.html#excessive_precision
1339
1339
[ `exit` ] : https://rust-lang.github.io/rust-clippy/master/index.html#exit
1340
1340
[ `expect_fun_call` ] : https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call
1341
+ [ `expect_used` ] : https://rust-lang.github.io/rust-clippy/master/index.html#expect_used
1341
1342
[ `expl_impl_clone_on_copy` ] : https://rust-lang.github.io/rust-clippy/master/index.html#expl_impl_clone_on_copy
1342
1343
[ `explicit_counter_loop` ] : https://rust-lang.github.io/rust-clippy/master/index.html#explicit_counter_loop
1343
1344
[ `explicit_deref_methods` ] : https://rust-lang.github.io/rust-clippy/master/index.html#explicit_deref_methods
@@ -1361,14 +1362,12 @@ Released 2018-09-13
1361
1362
[ `fn_to_numeric_cast` ] : https://rust-lang.github.io/rust-clippy/master/index.html#fn_to_numeric_cast
1362
1363
[ `fn_to_numeric_cast_with_truncation` ] : https://rust-lang.github.io/rust-clippy/master/index.html#fn_to_numeric_cast_with_truncation
1363
1364
[ `for_kv_map` ] : https://rust-lang.github.io/rust-clippy/master/index.html#for_kv_map
1364
- [ `for_loop_over_option` ] : https://rust-lang.github.io/rust-clippy/master/index.html#for_loop_over_option
1365
- [ `for_loop_over_result` ] : https://rust-lang.github.io/rust-clippy/master/index.html#for_loop_over_result
1365
+ [ `for_loops_over_fallibles` ] : https://rust-lang.github.io/rust-clippy/master/index.html#for_loops_over_fallibles
1366
1366
[ `forget_copy` ] : https://rust-lang.github.io/rust-clippy/master/index.html#forget_copy
1367
1367
[ `forget_ref` ] : https://rust-lang.github.io/rust-clippy/master/index.html#forget_ref
1368
1368
[ `future_not_send` ] : https://rust-lang.github.io/rust-clippy/master/index.html#future_not_send
1369
1369
[ `get_last_with_len` ] : https://rust-lang.github.io/rust-clippy/master/index.html#get_last_with_len
1370
1370
[ `get_unwrap` ] : https://rust-lang.github.io/rust-clippy/master/index.html#get_unwrap
1371
- [ `identity_conversion` ] : https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion
1372
1371
[ `identity_op` ] : https://rust-lang.github.io/rust-clippy/master/index.html#identity_op
1373
1372
[ `if_let_mutex` ] : https://rust-lang.github.io/rust-clippy/master/index.html#if_let_mutex
1374
1373
[ `if_let_redundant_pattern_matching` ] : https://rust-lang.github.io/rust-clippy/master/index.html#if_let_redundant_pattern_matching
@@ -1431,6 +1430,7 @@ Released 2018-09-13
1431
1430
[ `map_clone` ] : https://rust-lang.github.io/rust-clippy/master/index.html#map_clone
1432
1431
[ `map_entry` ] : https://rust-lang.github.io/rust-clippy/master/index.html#map_entry
1433
1432
[ `map_flatten` ] : https://rust-lang.github.io/rust-clippy/master/index.html#map_flatten
1433
+ [ `map_unwrap_or` ] : https://rust-lang.github.io/rust-clippy/master/index.html#map_unwrap_or
1434
1434
[ `match_as_ref` ] : https://rust-lang.github.io/rust-clippy/master/index.html#match_as_ref
1435
1435
[ `match_bool` ] : https://rust-lang.github.io/rust-clippy/master/index.html#match_bool
1436
1436
[ `match_on_vec_items` ] : https://rust-lang.github.io/rust-clippy/master/index.html#match_on_vec_items
@@ -1494,16 +1494,11 @@ Released 2018-09-13
1494
1494
[ `not_unsafe_ptr_arg_deref` ] : https://rust-lang.github.io/rust-clippy/master/index.html#not_unsafe_ptr_arg_deref
1495
1495
[ `ok_expect` ] : https://rust-lang.github.io/rust-clippy/master/index.html#ok_expect
1496
1496
[ `op_ref` ] : https://rust-lang.github.io/rust-clippy/master/index.html#op_ref
1497
- [ `option_and_then_some` ] : https://rust-lang.github.io/rust-clippy/master/index.html#option_and_then_some
1498
1497
[ `option_as_ref_deref` ] : https://rust-lang.github.io/rust-clippy/master/index.html#option_as_ref_deref
1499
1498
[ `option_env_unwrap` ] : https://rust-lang.github.io/rust-clippy/master/index.html#option_env_unwrap
1500
- [ `option_expect_used` ] : https://rust-lang.github.io/rust-clippy/master/index.html#option_expect_used
1501
1499
[ `option_map_or_none` ] : https://rust-lang.github.io/rust-clippy/master/index.html#option_map_or_none
1502
1500
[ `option_map_unit_fn` ] : https://rust-lang.github.io/rust-clippy/master/index.html#option_map_unit_fn
1503
- [ `option_map_unwrap_or` ] : https://rust-lang.github.io/rust-clippy/master/index.html#option_map_unwrap_or
1504
- [ `option_map_unwrap_or_else` ] : https://rust-lang.github.io/rust-clippy/master/index.html#option_map_unwrap_or_else
1505
1501
[ `option_option` ] : https://rust-lang.github.io/rust-clippy/master/index.html#option_option
1506
- [ `option_unwrap_used` ] : https://rust-lang.github.io/rust-clippy/master/index.html#option_unwrap_used
1507
1502
[ `or_fun_call` ] : https://rust-lang.github.io/rust-clippy/master/index.html#or_fun_call
1508
1503
[ `out_of_bounds_indexing` ] : https://rust-lang.github.io/rust-clippy/master/index.html#out_of_bounds_indexing
1509
1504
[ `overflow_check_conditional` ] : https://rust-lang.github.io/rust-clippy/master/index.html#overflow_check_conditional
@@ -1540,12 +1535,9 @@ Released 2018-09-13
1540
1535
[ `regex_macro` ] : https://rust-lang.github.io/rust-clippy/master/index.html#regex_macro
1541
1536
[ `replace_consts` ] : https://rust-lang.github.io/rust-clippy/master/index.html#replace_consts
1542
1537
[ `rest_pat_in_fully_bound_structs` ] : https://rust-lang.github.io/rust-clippy/master/index.html#rest_pat_in_fully_bound_structs
1543
- [ `result_expect_used` ] : https://rust-lang.github.io/rust-clippy/master/index.html#result_expect_used
1544
1538
[ `result_map_or_into_option` ] : https://rust-lang.github.io/rust-clippy/master/index.html#result_map_or_into_option
1545
1539
[ `result_map_unit_fn` ] : https://rust-lang.github.io/rust-clippy/master/index.html#result_map_unit_fn
1546
- [ `result_map_unwrap_or_else` ] : https://rust-lang.github.io/rust-clippy/master/index.html#result_map_unwrap_or_else
1547
- [ `result_unwrap_used` ] : https://rust-lang.github.io/rust-clippy/master/index.html#result_unwrap_used
1548
- [ `reverse_range_loop` ] : https://rust-lang.github.io/rust-clippy/master/index.html#reverse_range_loop
1540
+ [ `reversed_empty_ranges` ] : https://rust-lang.github.io/rust-clippy/master/index.html#reversed_empty_ranges
1549
1541
[ `same_functions_in_if_condition` ] : https://rust-lang.github.io/rust-clippy/master/index.html#same_functions_in_if_condition
1550
1542
[ `search_is_some` ] : https://rust-lang.github.io/rust-clippy/master/index.html#search_is_some
1551
1543
[ `serde_api_misuse` ] : https://rust-lang.github.io/rust-clippy/master/index.html#serde_api_misuse
@@ -1625,11 +1617,13 @@ Released 2018-09-13
1625
1617
[ `unused_label` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unused_label
1626
1618
[ `unused_self` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unused_self
1627
1619
[ `unused_unit` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
1620
+ [ `unwrap_used` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
1628
1621
[ `use_debug` ] : https://rust-lang.github.io/rust-clippy/master/index.html#use_debug
1629
1622
[ `use_self` ] : https://rust-lang.github.io/rust-clippy/master/index.html#use_self
1630
1623
[ `used_underscore_binding` ] : https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_binding
1631
1624
[ `useless_asref` ] : https://rust-lang.github.io/rust-clippy/master/index.html#useless_asref
1632
1625
[ `useless_attribute` ] : https://rust-lang.github.io/rust-clippy/master/index.html#useless_attribute
1626
+ [ `useless_conversion` ] : https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
1633
1627
[ `useless_format` ] : https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
1634
1628
[ `useless_let_if_seq` ] : https://rust-lang.github.io/rust-clippy/master/index.html#useless_let_if_seq
1635
1629
[ `useless_transmute` ] : https://rust-lang.github.io/rust-clippy/master/index.html#useless_transmute
0 commit comments