@@ -6,11 +6,53 @@ document.
6
6
7
7
## Unreleased / Beta / In Rust Nightly
8
8
9
- [ 786fbd6d...master] ( https://github.com/rust-lang/rust-clippy/compare/786fbd6d...master )
9
+ [ 609cd310...master] ( https://github.com/rust-lang/rust-clippy/compare/609cd310...master )
10
+
11
+ ## Rust 1.85
12
+
13
+ Current stable, released 2025-02-20
14
+
15
+ [ View all 72 merged pull requests] ( https://github.com/rust-lang/rust-clippy/pulls?q=merged%3A2024-11-15T19%3A31%3A08Z..2024-12-26T13%3A59%3A48Z+base%3Amaster )
16
+
17
+ ### New Lints
18
+
19
+ * Added [ ` repr_packed_without_abi ` ] to ` suspicious `
20
+ [ #13398 ] ( https://github.com/rust-lang/rust-clippy/pull/13398 )
21
+ * Added [ ` as_pointer_underscore ` ] to ` restriction `
22
+ [ #13251 ] ( https://github.com/rust-lang/rust-clippy/pull/13251 )
23
+ * Added [ ` doc_nested_refdefs ` ] to ` suspicious `
24
+ [ #13707 ] ( https://github.com/rust-lang/rust-clippy/pull/13707 )
25
+ * Added [ ` literal_string_with_formatting_args ` ] to ` nursery `
26
+ [ #13410 ] ( https://github.com/rust-lang/rust-clippy/pull/13410 )
27
+ * Added [ ` doc_include_without_cfg ` ] to ` restriction `
28
+ [ #13625 ] ( https://github.com/rust-lang/rust-clippy/pull/13625 )
29
+
30
+ ### Enhancements
31
+
32
+ * [ ` indexing_slicing ` ] : Can now be allowed in tests using the [ ` allow-indexing-slicing-in-tests ` ]
33
+ configuration
34
+ [ #13854 ] ( https://github.com/rust-lang/rust-clippy/pull/13854 )
35
+ * [ ` if_let_mutex ` ] : disable lint from Edition 2024 since
36
+ [ if_let_rescope] ( https://github.com/rust-lang/rust/issues/131154 ) was stabilized
37
+ [ #13695 ] ( https://github.com/rust-lang/rust-clippy/pull/13695 )
38
+ * [ ` format_in_format_args ` ] , [ ` recursive_format_impl ` ] , [ ` to_string_in_format_args ` ] ,
39
+ [ ` uninlined_format_args ` ] , [ ` unused_format_specs ` ] : Can now support 3rd party format macros
40
+ if they're marked with the ` #[clippy::format_args] ` attribute
41
+ [ #9948 ] ( https://github.com/rust-lang/rust-clippy/pull/9948 )
42
+
43
+ ### ICE Fixes
44
+
45
+ * [ ` trait_duplication_in_bounds ` ] : fix ICE on duplicate type or constant bound
46
+ [ #13722 ] ( https://github.com/rust-lang/rust-clippy/pull/13722 )
47
+
48
+ ### Others
49
+
50
+ * ` clippy_utils ` is now published to crates.io. Note that this crate is and will remain unstable.
51
+ [ #13700 ] ( https://github.com/rust-lang/rust-clippy/pull/13700 )
10
52
11
53
## Rust 1.84
12
54
13
- Current stable, released 2025-01-09
55
+ Released 2025-01-09
14
56
15
57
[ View all 84 merged pull requests] ( https://github.com/rust-lang/rust-clippy/pulls?q=merged%3A2024-10-03T21%3A23%3A58Z..2024-11-14T17%3A41%3A37Z+base%3Amaster )
16
58
@@ -5550,6 +5592,7 @@ Released 2018-09-13
5550
5592
[ `duplicated_attributes` ] : https://rust-lang.github.io/rust-clippy/master/index.html#duplicated_attributes
5551
5593
[ `duration_subsec` ] : https://rust-lang.github.io/rust-clippy/master/index.html#duration_subsec
5552
5594
[ `eager_transmute` ] : https://rust-lang.github.io/rust-clippy/master/index.html#eager_transmute
5595
+ [ `elidable_lifetime_names` ] : https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
5553
5596
[ `else_if_without_else` ] : https://rust-lang.github.io/rust-clippy/master/index.html#else_if_without_else
5554
5597
[ `empty_docs` ] : https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
5555
5598
[ `empty_drop` ] : https://rust-lang.github.io/rust-clippy/master/index.html#empty_drop
@@ -5684,6 +5727,7 @@ Released 2018-09-13
5684
5727
[ `invalid_utf8_in_unchecked` ] : https://rust-lang.github.io/rust-clippy/master/index.html#invalid_utf8_in_unchecked
5685
5728
[ `inverted_saturating_sub` ] : https://rust-lang.github.io/rust-clippy/master/index.html#inverted_saturating_sub
5686
5729
[ `invisible_characters` ] : https://rust-lang.github.io/rust-clippy/master/index.html#invisible_characters
5730
+ [ `io_other_error` ] : https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error
5687
5731
[ `is_digit_ascii_radix` ] : https://rust-lang.github.io/rust-clippy/master/index.html#is_digit_ascii_radix
5688
5732
[ `items_after_statements` ] : https://rust-lang.github.io/rust-clippy/master/index.html#items_after_statements
5689
5733
[ `items_after_test_module` ] : https://rust-lang.github.io/rust-clippy/master/index.html#items_after_test_module
@@ -5764,6 +5808,7 @@ Released 2018-09-13
5764
5808
[ `manual_main_separator_str` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_main_separator_str
5765
5809
[ `manual_map` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_map
5766
5810
[ `manual_memcpy` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_memcpy
5811
+ [ `manual_midpoint` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_midpoint
5767
5812
[ `manual_next_back` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_next_back
5768
5813
[ `manual_non_exhaustive` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_non_exhaustive
5769
5814
[ `manual_ok_err` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_ok_err
@@ -5943,6 +5988,7 @@ Released 2018-09-13
5943
5988
[ `out_of_bounds_indexing` ] : https://rust-lang.github.io/rust-clippy/master/index.html#out_of_bounds_indexing
5944
5989
[ `overflow_check_conditional` ] : https://rust-lang.github.io/rust-clippy/master/index.html#overflow_check_conditional
5945
5990
[ `overly_complex_bool_expr` ] : https://rust-lang.github.io/rust-clippy/master/index.html#overly_complex_bool_expr
5991
+ [ `owned_cow` ] : https://rust-lang.github.io/rust-clippy/master/index.html#owned_cow
5946
5992
[ `panic` ] : https://rust-lang.github.io/rust-clippy/master/index.html#panic
5947
5993
[ `panic_in_result_fn` ] : https://rust-lang.github.io/rust-clippy/master/index.html#panic_in_result_fn
5948
5994
[ `panic_params` ] : https://rust-lang.github.io/rust-clippy/master/index.html#panic_params
@@ -6167,6 +6213,7 @@ Released 2018-09-13
6167
6213
[ `unnecessary_box_returns` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_box_returns
6168
6214
[ `unnecessary_cast` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
6169
6215
[ `unnecessary_clippy_cfg` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_clippy_cfg
6216
+ [ `unnecessary_debug_formatting` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_debug_formatting
6170
6217
[ `unnecessary_fallible_conversions` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions
6171
6218
[ `unnecessary_filter_map` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_filter_map
6172
6219
[ `unnecessary_find_map` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_find_map
@@ -6298,6 +6345,7 @@ Released 2018-09-13
6298
6345
[ `avoid-breaking-exported-api` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#avoid-breaking-exported-api
6299
6346
[ `await-holding-invalid-types` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#await-holding-invalid-types
6300
6347
[ `cargo-ignore-publish` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#cargo-ignore-publish
6348
+ [ `check-incompatible-msrv-in-tests` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#check-incompatible-msrv-in-tests
6301
6349
[ `check-private-items` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#check-private-items
6302
6350
[ `cognitive-complexity-threshold` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#cognitive-complexity-threshold
6303
6351
[ `disallowed-macros` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#disallowed-macros
0 commit comments