@@ -6,11 +6,65 @@ document.
6
6
7
7
## Unreleased / Beta / In Rust Nightly
8
8
9
- [09ac14c9...master](https://github.com/rust-lang/rust-clippy/compare/09ac14c9...master)
9
+ [a859e5cc...master](https://github.com/rust-lang/rust-clippy/compare/a859e5cc...master)
10
+
11
+ ## Rust 1.76
12
+
13
+ Current stable, released 2024-02-08
14
+
15
+ [View all 85 merged pull requests](https://github.com/rust-lang/rust-clippy/pulls?q=merged%3A2023-11-02T20%3A23%3A40Z..2023-12-16T13%3A11%3A08Z+base%3Amaster)
16
+
17
+ ### New Lints
18
+
19
+ - [`infinite_loop`]
20
+ [#11829](https://github.com/rust-lang/rust-clippy/pull/11829)
21
+ - [`ineffective_open_options`]
22
+ [#11902](https://github.com/rust-lang/rust-clippy/pull/11902)
23
+ - [`uninhabited_references`]
24
+ [#11878](https://github.com/rust-lang/rust-clippy/pull/11878)
25
+ - [`repeat_vec_with_capacity`]
26
+ [#11597](https://github.com/rust-lang/rust-clippy/pull/11597)
27
+ - [`test_attr_in_doctest`]
28
+ [#11872](https://github.com/rust-lang/rust-clippy/pull/11872)
29
+ - [`option_map_or_err_ok`]
30
+ [#11864](https://github.com/rust-lang/rust-clippy/pull/11864)
31
+ - [`join_absolute_paths`]
32
+ [#11453](https://github.com/rust-lang/rust-clippy/pull/11453)
33
+ - [`impl_hash_borrow_with_str_and_bytes`]
34
+ [#11781](https://github.com/rust-lang/rust-clippy/pull/11781)
35
+ - [`iter_over_hash_type`]
36
+ [#11791](https://github.com/rust-lang/rust-clippy/pull/11791)
37
+
38
+ ### Moves and Deprecations
39
+
40
+ - Renamed `blocks_in_if_conditions` to [`blocks_in_conditions`]
41
+ [#11853](https://github.com/rust-lang/rust-clippy/pull/11853)
42
+ - Moved [`implied_bounds_in_impls`] to `complexity` (Now warn-by-default)
43
+ [#11867](https://github.com/rust-lang/rust-clippy/pull/11867)
44
+ - Moved [`if_same_then_else`] to `style` (Now warn-by-default)
45
+ [#11809](https://github.com/rust-lang/rust-clippy/pull/11809)
46
+
47
+ ### Enhancements
48
+
49
+ - [`missing_safety_doc`], [`unnecessary_safety_doc`], [`missing_panics_doc`], [`missing_errors_doc`]:
50
+ Added the [`check-private-items`] configuration to enable lints on private items
51
+ [#11842](https://github.com/rust-lang/rust-clippy/pull/11842)
52
+
53
+ ### ICE Fixes
54
+
55
+ - [`impl_trait_in_params`]: No longer crashes when a function has generics but no function parameters
56
+ [#11804](https://github.com/rust-lang/rust-clippy/pull/11804)
57
+ - [`unused_enumerate_index`]: No longer crashes on empty tuples
58
+ [#11756](https://github.com/rust-lang/rust-clippy/pull/11756)
59
+
60
+ ### Others
61
+
62
+ - Clippy now respects the `CARGO` environment value
63
+ [#11944](https://github.com/rust-lang/rust-clippy/pull/11944)
10
64
11
65
## Rust 1.75
12
66
13
- Current stable, released 2023-12-28
67
+ Released 2023-12-28
14
68
15
69
[View all 69 merged pull requests](https://github.com/rust-lang/rust-clippy/pulls?q=merged%3A2023-09-25T11%3A47%3A47Z..2023-11-02T16%3A41%3A59Z+base%3Amaster)
16
70
@@ -5198,6 +5252,7 @@ Released 2018-09-13
5198
5252
[`implied_bounds_in_impls`]: https://rust-lang.github.io/rust-clippy/master/index.html#implied_bounds_in_impls
5199
5253
[`impossible_comparisons`]: https://rust-lang.github.io/rust-clippy/master/index.html#impossible_comparisons
5200
5254
[`imprecise_flops`]: https://rust-lang.github.io/rust-clippy/master/index.html#imprecise_flops
5255
+ [`incompatible_msrv`]: https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv
5201
5256
[`inconsistent_digit_grouping`]: https://rust-lang.github.io/rust-clippy/master/index.html#inconsistent_digit_grouping
5202
5257
[`inconsistent_struct_constructor`]: https://rust-lang.github.io/rust-clippy/master/index.html#inconsistent_struct_constructor
5203
5258
[`incorrect_clone_impl_on_copy_type`]: https://rust-lang.github.io/rust-clippy/master/index.html#incorrect_clone_impl_on_copy_type
@@ -5276,6 +5331,7 @@ Released 2018-09-13
5276
5331
[`let_with_type_underscore`]: https://rust-lang.github.io/rust-clippy/master/index.html#let_with_type_underscore
5277
5332
[`lines_filter_map_ok`]: https://rust-lang.github.io/rust-clippy/master/index.html#lines_filter_map_ok
5278
5333
[`linkedlist`]: https://rust-lang.github.io/rust-clippy/master/index.html#linkedlist
5334
+ [`lint_groups_priority`]: https://rust-lang.github.io/rust-clippy/master/index.html#lint_groups_priority
5279
5335
[`little_endian_bytes`]: https://rust-lang.github.io/rust-clippy/master/index.html#little_endian_bytes
5280
5336
[`logic_bug`]: https://rust-lang.github.io/rust-clippy/master/index.html#logic_bug
5281
5337
[`lossy_float_literal`]: https://rust-lang.github.io/rust-clippy/master/index.html#lossy_float_literal
@@ -5284,6 +5340,7 @@ Released 2018-09-13
5284
5340
[`manual_assert`]: https://rust-lang.github.io/rust-clippy/master/index.html#manual_assert
5285
5341
[`manual_async_fn`]: https://rust-lang.github.io/rust-clippy/master/index.html#manual_async_fn
5286
5342
[`manual_bits`]: https://rust-lang.github.io/rust-clippy/master/index.html#manual_bits
5343
+ [`manual_c_str_literals`]: https://rust-lang.github.io/rust-clippy/master/index.html#manual_c_str_literals
5287
5344
[`manual_clamp`]: https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
5288
5345
[`manual_filter`]: https://rust-lang.github.io/rust-clippy/master/index.html#manual_filter
5289
5346
[`manual_filter_map`]: https://rust-lang.github.io/rust-clippy/master/index.html#manual_filter_map
@@ -5523,6 +5580,7 @@ Released 2018-09-13
5523
5580
[`redundant_slicing`]: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing
5524
5581
[`redundant_static_lifetimes`]: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes
5525
5582
[`redundant_type_annotations`]: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_type_annotations
5583
+ [`ref_as_ptr`]: https://rust-lang.github.io/rust-clippy/master/index.html#ref_as_ptr
5526
5584
[`ref_binding_to_reference`]: https://rust-lang.github.io/rust-clippy/master/index.html#ref_binding_to_reference
5527
5585
[`ref_in_deref`]: https://rust-lang.github.io/rust-clippy/master/index.html#ref_in_deref
5528
5586
[`ref_option_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#ref_option_ref
@@ -5622,6 +5680,7 @@ Released 2018-09-13
5622
5680
[`to_digit_is_some`]: https://rust-lang.github.io/rust-clippy/master/index.html#to_digit_is_some
5623
5681
[`to_string_in_display`]: https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_display
5624
5682
[`to_string_in_format_args`]: https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_format_args
5683
+ [`to_string_trait_impl`]: https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl
5625
5684
[`todo`]: https://rust-lang.github.io/rust-clippy/master/index.html#todo
5626
5685
[`too_many_arguments`]: https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
5627
5686
[`too_many_lines`]: https://rust-lang.github.io/rust-clippy/master/index.html#too_many_lines
@@ -5677,6 +5736,7 @@ Released 2018-09-13
5677
5736
[`unnecessary_mut_passed`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_mut_passed
5678
5737
[`unnecessary_operation`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_operation
5679
5738
[`unnecessary_owned_empty_strings`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_owned_empty_strings
5739
+ [`unnecessary_result_map_or_else`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_result_map_or_else
5680
5740
[`unnecessary_safety_comment`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_safety_comment
5681
5741
[`unnecessary_safety_doc`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_safety_doc
5682
5742
[`unnecessary_self_imports`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_self_imports
@@ -5819,4 +5879,6 @@ Released 2018-09-13
5819
5879
[`enforce-iter-loop-reborrow`]: https://doc.rust-lang.org/clippy/lint_configuration.html#enforce-iter-loop-reborrow
5820
5880
[`check-private-items`]: https://doc.rust-lang.org/clippy/lint_configuration.html#check-private-items
5821
5881
[`pub-underscore-fields-behavior`]: https://doc.rust-lang.org/clippy/lint_configuration.html#pub-underscore-fields-behavior
5882
+ [`allow-comparison-to-zero`]: https://doc.rust-lang.org/clippy/lint_configuration.html#allow-comparison-to-zero
5883
+ [`allowed-wildcard-imports`]: https://doc.rust-lang.org/clippy/lint_configuration.html#allowed-wildcard-imports
5822
5884
<!-- end autogenerated links to configuration documentation -->
0 commit comments