@@ -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
@@ -5530,6 +5572,7 @@ Released 2018-09-13
5530
5572
[ `diverging_sub_expression` ] : https://rust-lang.github.io/rust-clippy/master/index.html#diverging_sub_expression
5531
5573
[ `doc_include_without_cfg` ] : https://rust-lang.github.io/rust-clippy/master/index.html#doc_include_without_cfg
5532
5574
[ `doc_lazy_continuation` ] : https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
5575
+ [ `doc_link_code` ] : https://rust-lang.github.io/rust-clippy/master/index.html#doc_link_code
5533
5576
[ `doc_link_with_quotes` ] : https://rust-lang.github.io/rust-clippy/master/index.html#doc_link_with_quotes
5534
5577
[ `doc_markdown` ] : https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
5535
5578
[ `doc_nested_refdefs` ] : https://rust-lang.github.io/rust-clippy/master/index.html#doc_nested_refdefs
@@ -5742,6 +5785,7 @@ Released 2018-09-13
5742
5785
[ `manual_bits` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_bits
5743
5786
[ `manual_c_str_literals` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_c_str_literals
5744
5787
[ `manual_clamp` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
5788
+ [ `manual_contains` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_contains
5745
5789
[ `manual_div_ceil` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_div_ceil
5746
5790
[ `manual_filter` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_filter
5747
5791
[ `manual_filter_map` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_filter_map
@@ -5812,6 +5856,7 @@ Released 2018-09-13
5812
5856
[ `mem_discriminant_non_enum` ] : https://rust-lang.github.io/rust-clippy/master/index.html#mem_discriminant_non_enum
5813
5857
[ `mem_forget` ] : https://rust-lang.github.io/rust-clippy/master/index.html#mem_forget
5814
5858
[ `mem_replace_option_with_none` ] : https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_option_with_none
5859
+ [ `mem_replace_option_with_some` ] : https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_option_with_some
5815
5860
[ `mem_replace_with_default` ] : https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_with_default
5816
5861
[ `mem_replace_with_uninit` ] : https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_with_uninit
5817
5862
[ `min_ident_chars` ] : https://rust-lang.github.io/rust-clippy/master/index.html#min_ident_chars
@@ -5939,6 +5984,7 @@ Released 2018-09-13
5939
5984
[ `out_of_bounds_indexing` ] : https://rust-lang.github.io/rust-clippy/master/index.html#out_of_bounds_indexing
5940
5985
[ `overflow_check_conditional` ] : https://rust-lang.github.io/rust-clippy/master/index.html#overflow_check_conditional
5941
5986
[ `overly_complex_bool_expr` ] : https://rust-lang.github.io/rust-clippy/master/index.html#overly_complex_bool_expr
5987
+ [ `owned_cow` ] : https://rust-lang.github.io/rust-clippy/master/index.html#owned_cow
5942
5988
[ `panic` ] : https://rust-lang.github.io/rust-clippy/master/index.html#panic
5943
5989
[ `panic_in_result_fn` ] : https://rust-lang.github.io/rust-clippy/master/index.html#panic_in_result_fn
5944
5990
[ `panic_params` ] : https://rust-lang.github.io/rust-clippy/master/index.html#panic_params
@@ -6067,6 +6113,7 @@ Released 2018-09-13
6067
6113
[ `single_element_loop` ] : https://rust-lang.github.io/rust-clippy/master/index.html#single_element_loop
6068
6114
[ `single_match` ] : https://rust-lang.github.io/rust-clippy/master/index.html#single_match
6069
6115
[ `single_match_else` ] : https://rust-lang.github.io/rust-clippy/master/index.html#single_match_else
6116
+ [ `single_option_map` ] : https://rust-lang.github.io/rust-clippy/master/index.html#single_option_map
6070
6117
[ `single_range_in_vec_init` ] : https://rust-lang.github.io/rust-clippy/master/index.html#single_range_in_vec_init
6071
6118
[ `size_of_in_element_count` ] : https://rust-lang.github.io/rust-clippy/master/index.html#size_of_in_element_count
6072
6119
[ `size_of_ref` ] : https://rust-lang.github.io/rust-clippy/master/index.html#size_of_ref
@@ -6143,6 +6190,7 @@ Released 2018-09-13
6143
6190
[ `type_complexity` ] : https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
6144
6191
[ `type_id_on_box` ] : https://rust-lang.github.io/rust-clippy/master/index.html#type_id_on_box
6145
6192
[ `type_repetition_in_bounds` ] : https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
6193
+ [ `unbuffered_bytes` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unbuffered_bytes
6146
6194
[ `unchecked_duration_subtraction` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unchecked_duration_subtraction
6147
6195
[ `unconditional_recursion` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unconditional_recursion
6148
6196
[ `undocumented_unsafe_blocks` ] : https://rust-lang.github.io/rust-clippy/master/index.html#undocumented_unsafe_blocks
@@ -6267,6 +6315,7 @@ Released 2018-09-13
6267
6315
[ `accept-comment-above-statement` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#accept-comment-above-statement
6268
6316
[ `allow-comparison-to-zero` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#allow-comparison-to-zero
6269
6317
[ `allow-dbg-in-tests` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#allow-dbg-in-tests
6318
+ [ `allow-expect-in-consts` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#allow-expect-in-consts
6270
6319
[ `allow-expect-in-tests` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#allow-expect-in-tests
6271
6320
[ `allow-indexing-slicing-in-tests` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#allow-indexing-slicing-in-tests
6272
6321
[ `allow-mixed-uninlined-format-args` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#allow-mixed-uninlined-format-args
@@ -6275,6 +6324,7 @@ Released 2018-09-13
6275
6324
[ `allow-print-in-tests` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#allow-print-in-tests
6276
6325
[ `allow-private-module-inception` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#allow-private-module-inception
6277
6326
[ `allow-renamed-params-for` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#allow-renamed-params-for
6327
+ [ `allow-unwrap-in-consts` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#allow-unwrap-in-consts
6278
6328
[ `allow-unwrap-in-tests` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#allow-unwrap-in-tests
6279
6329
[ `allow-useless-vec-in-tests` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#allow-useless-vec-in-tests
6280
6330
[ `allowed-dotfiles` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#allowed-dotfiles
0 commit comments