@@ -6,11 +6,53 @@ document.
6
6
7
7
## Unreleased / Beta / In Rust Nightly
8
8
9
- [ ca3b3937...master] ( https://github.com/rust-lang/rust-clippy/compare/ca3b3937...master )
9
+ [ c9139bd5...master] ( https://github.com/rust-lang/rust-clippy/compare/c9139bd5...master )
10
+
11
+ ## Rust 1.80
12
+
13
+ Current stable, released 2024-07-25
14
+
15
+ [ View all 68 merged pull requests] ( https://github.com/rust-lang/rust-clippy/pulls?q=merged%3A2024-04-18T22%3A50%3A22Z..2024-05-30T08%3A26%3A18Z+base%3Amaster )
16
+
17
+ ### New Lints
18
+
19
+ * Added [ ` while_float ` ] to ` nursery `
20
+ [ #12765 ] ( https://github.com/rust-lang/rust-clippy/pull/12765 )
21
+ * Added [ ` macro_metavars_in_unsafe ` ] to ` suspicious `
22
+ [ #12107 ] ( https://github.com/rust-lang/rust-clippy/pull/12107 )
23
+ * Added [ ` renamed_function_params ` ] to ` restriction `
24
+ [ #11540 ] ( https://github.com/rust-lang/rust-clippy/pull/11540 )
25
+ * Added [ ` doc_lazy_continuation ` ] to ` style `
26
+ [ #12770 ] ( https://github.com/rust-lang/rust-clippy/pull/12770 )
27
+
28
+ ### Moves and Deprecations
29
+
30
+ * Moved [ ` assigning_clones ` ] to ` pedantic ` (From ` perf ` now allow-by-default)
31
+ [ #12779 ] ( https://github.com/rust-lang/rust-clippy/pull/12779 )
32
+ * Moved [ ` single_char_pattern ` ] to ` pedantic ` (From ` perf ` now allow-by-default)
33
+ [ #11852 ] ( https://github.com/rust-lang/rust-clippy/pull/11852 )
34
+
35
+ ### Enhancements
36
+
37
+ * [ ` panic ` ] : Added [ ` allow-panic-in-tests ` ] configuration to allow the lint in tests
38
+ [ #12803 ] ( https://github.com/rust-lang/rust-clippy/pull/12803 )
39
+ * [ ` missing_const_for_fn ` ] : Now respects the [ ` msrv ` ] configuration
40
+ [ #12713 ] ( https://github.com/rust-lang/rust-clippy/pull/12713 )
41
+ * [ ` missing_panics_doc ` ] : No longer lints on compile-time panics
42
+ [ #12790 ] ( https://github.com/rust-lang/rust-clippy/pull/12790 )
43
+ * [ ` collapsible_match ` ] : Now considers the [ ` msrv ` ] configuration for the suggestion
44
+ [ #12745 ] ( https://github.com/rust-lang/rust-clippy/pull/12745 )
45
+ * [ ` useless_vec ` ] : Added [ ` allow-useless-vec-in-tests ` ] configuration to allow the lint in tests
46
+ [ #12725 ] ( https://github.com/rust-lang/rust-clippy/pull/12725 )
47
+
48
+ ### Suggestion Fixes/Improvements
49
+
50
+ * [ ` single_match ` ] , [ ` single_match_else ` ] : Suggestions are now machine-applicable
51
+ [ #12726 ] ( https://github.com/rust-lang/rust-clippy/pull/12726 )
10
52
11
53
## Rust 1.79
12
54
13
- Current stable, released 2024-06-13
55
+ Released 2024-06-13
14
56
15
57
[ View all 102 merged pull requests] ( https://github.com/rust-lang/rust-clippy/pulls?q=merged%3A2024-03-08T11%3A13%3A58Z..2024-04-18T15%3A50%3A50Z+base%3Amaster )
16
58
@@ -5236,6 +5278,7 @@ Released 2018-09-13
5236
5278
[ `boxed_local` ] : https://rust-lang.github.io/rust-clippy/master/index.html#boxed_local
5237
5279
[ `branches_sharing_code` ] : https://rust-lang.github.io/rust-clippy/master/index.html#branches_sharing_code
5238
5280
[ `builtin_type_shadow` ] : https://rust-lang.github.io/rust-clippy/master/index.html#builtin_type_shadow
5281
+ [ `byte_char_slices` ] : https://rust-lang.github.io/rust-clippy/master/index.html#byte_char_slices
5239
5282
[ `bytes_count_to_len` ] : https://rust-lang.github.io/rust-clippy/master/index.html#bytes_count_to_len
5240
5283
[ `bytes_nth` ] : https://rust-lang.github.io/rust-clippy/master/index.html#bytes_nth
5241
5284
[ `cargo_common_metadata` ] : https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
@@ -5253,6 +5296,7 @@ Released 2018-09-13
5253
5296
[ `cast_sign_loss` ] : https://rust-lang.github.io/rust-clippy/master/index.html#cast_sign_loss
5254
5297
[ `cast_slice_different_sizes` ] : https://rust-lang.github.io/rust-clippy/master/index.html#cast_slice_different_sizes
5255
5298
[ `cast_slice_from_raw_parts` ] : https://rust-lang.github.io/rust-clippy/master/index.html#cast_slice_from_raw_parts
5299
+ [ `cfg_not_test` ] : https://rust-lang.github.io/rust-clippy/master/index.html#cfg_not_test
5256
5300
[ `char_lit_as_u8` ] : https://rust-lang.github.io/rust-clippy/master/index.html#char_lit_as_u8
5257
5301
[ `chars_last_cmp` ] : https://rust-lang.github.io/rust-clippy/master/index.html#chars_last_cmp
5258
5302
[ `chars_next_cmp` ] : https://rust-lang.github.io/rust-clippy/master/index.html#chars_next_cmp
@@ -5589,6 +5633,7 @@ Released 2018-09-13
5589
5633
[ `missing_assert_message` ] : https://rust-lang.github.io/rust-clippy/master/index.html#missing_assert_message
5590
5634
[ `missing_asserts_for_indexing` ] : https://rust-lang.github.io/rust-clippy/master/index.html#missing_asserts_for_indexing
5591
5635
[ `missing_const_for_fn` ] : https://rust-lang.github.io/rust-clippy/master/index.html#missing_const_for_fn
5636
+ [ `missing_const_for_thread_local` ] : https://rust-lang.github.io/rust-clippy/master/index.html#missing_const_for_thread_local
5592
5637
[ `missing_docs_in_private_items` ] : https://rust-lang.github.io/rust-clippy/master/index.html#missing_docs_in_private_items
5593
5638
[ `missing_enforced_import_renames` ] : https://rust-lang.github.io/rust-clippy/master/index.html#missing_enforced_import_renames
5594
5639
[ `missing_errors_doc` ] : https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
@@ -5703,12 +5748,14 @@ Released 2018-09-13
5703
5748
[ `panic` ] : https://rust-lang.github.io/rust-clippy/master/index.html#panic
5704
5749
[ `panic_in_result_fn` ] : https://rust-lang.github.io/rust-clippy/master/index.html#panic_in_result_fn
5705
5750
[ `panic_params` ] : https://rust-lang.github.io/rust-clippy/master/index.html#panic_params
5751
+ [ `panicking_overflow_checks` ] : https://rust-lang.github.io/rust-clippy/master/index.html#panicking_overflow_checks
5706
5752
[ `panicking_unwrap` ] : https://rust-lang.github.io/rust-clippy/master/index.html#panicking_unwrap
5707
5753
[ `partial_pub_fields` ] : https://rust-lang.github.io/rust-clippy/master/index.html#partial_pub_fields
5708
5754
[ `partialeq_ne_impl` ] : https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_ne_impl
5709
5755
[ `partialeq_to_none` ] : https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_to_none
5710
5756
[ `path_buf_push_overwrite` ] : https://rust-lang.github.io/rust-clippy/master/index.html#path_buf_push_overwrite
5711
5757
[ `path_ends_with_ext` ] : https://rust-lang.github.io/rust-clippy/master/index.html#path_ends_with_ext
5758
+ [ `pathbuf_init_then_push` ] : https://rust-lang.github.io/rust-clippy/master/index.html#pathbuf_init_then_push
5712
5759
[ `pattern_type_mismatch` ] : https://rust-lang.github.io/rust-clippy/master/index.html#pattern_type_mismatch
5713
5760
[ `permissions_set_readonly_false` ] : https://rust-lang.github.io/rust-clippy/master/index.html#permissions_set_readonly_false
5714
5761
[ `positional_named_format_parameters` ] : https://rust-lang.github.io/rust-clippy/master/index.html#positional_named_format_parameters
@@ -5784,6 +5831,7 @@ Released 2018-09-13
5784
5831
[ `result_unit_err` ] : https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err
5785
5832
[ `result_unwrap_used` ] : https://rust-lang.github.io/rust-clippy/master/index.html#result_unwrap_used
5786
5833
[ `return_self_not_must_use` ] : https://rust-lang.github.io/rust-clippy/master/index.html#return_self_not_must_use
5834
+ [ `reverse_range_loop` ] : https://rust-lang.github.io/rust-clippy/master/index.html#reverse_range_loop
5787
5835
[ `reversed_empty_ranges` ] : https://rust-lang.github.io/rust-clippy/master/index.html#reversed_empty_ranges
5788
5836
[ `same_functions_in_if_condition` ] : https://rust-lang.github.io/rust-clippy/master/index.html#same_functions_in_if_condition
5789
5837
[ `same_item_push` ] : https://rust-lang.github.io/rust-clippy/master/index.html#same_item_push
@@ -5952,6 +6000,7 @@ Released 2018-09-13
5952
6000
[ `unused_io_amount` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unused_io_amount
5953
6001
[ `unused_label` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unused_label
5954
6002
[ `unused_peekable` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unused_peekable
6003
+ [ `unused_result_ok` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unused_result_ok
5955
6004
[ `unused_rounding` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unused_rounding
5956
6005
[ `unused_self` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unused_self
5957
6006
[ `unused_unit` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
0 commit comments