@@ -6,11 +6,65 @@ document.
66
77## Unreleased / Beta / In Rust Nightly
88
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 )
1064
1165## Rust 1.75
1266
13- Current stable, released 2023-12-28
67+ Released 2023-12-28
1468
1569[ 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 )
1670
@@ -5198,6 +5252,7 @@ Released 2018-09-13
51985252[ `implied_bounds_in_impls` ] : https://rust-lang.github.io/rust-clippy/master/index.html#implied_bounds_in_impls
51995253[ `impossible_comparisons` ] : https://rust-lang.github.io/rust-clippy/master/index.html#impossible_comparisons
52005254[ `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
52015256[ `inconsistent_digit_grouping` ] : https://rust-lang.github.io/rust-clippy/master/index.html#inconsistent_digit_grouping
52025257[ `inconsistent_struct_constructor` ] : https://rust-lang.github.io/rust-clippy/master/index.html#inconsistent_struct_constructor
52035258[ `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
52765331[ `let_with_type_underscore` ] : https://rust-lang.github.io/rust-clippy/master/index.html#let_with_type_underscore
52775332[ `lines_filter_map_ok` ] : https://rust-lang.github.io/rust-clippy/master/index.html#lines_filter_map_ok
52785333[ `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
52795335[ `little_endian_bytes` ] : https://rust-lang.github.io/rust-clippy/master/index.html#little_endian_bytes
52805336[ `logic_bug` ] : https://rust-lang.github.io/rust-clippy/master/index.html#logic_bug
52815337[ `lossy_float_literal` ] : https://rust-lang.github.io/rust-clippy/master/index.html#lossy_float_literal
@@ -5284,6 +5340,7 @@ Released 2018-09-13
52845340[ `manual_assert` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_assert
52855341[ `manual_async_fn` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_async_fn
52865342[ `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
52875344[ `manual_clamp` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
52885345[ `manual_filter` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_filter
52895346[ `manual_filter_map` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_filter_map
@@ -5523,6 +5580,7 @@ Released 2018-09-13
55235580[ `redundant_slicing` ] : https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing
55245581[ `redundant_static_lifetimes` ] : https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes
55255582[ `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
55265584[ `ref_binding_to_reference` ] : https://rust-lang.github.io/rust-clippy/master/index.html#ref_binding_to_reference
55275585[ `ref_in_deref` ] : https://rust-lang.github.io/rust-clippy/master/index.html#ref_in_deref
55285586[ `ref_option_ref` ] : https://rust-lang.github.io/rust-clippy/master/index.html#ref_option_ref
@@ -5622,6 +5680,7 @@ Released 2018-09-13
56225680[ `to_digit_is_some` ] : https://rust-lang.github.io/rust-clippy/master/index.html#to_digit_is_some
56235681[ `to_string_in_display` ] : https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_display
56245682[ `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
56255684[ `todo` ] : https://rust-lang.github.io/rust-clippy/master/index.html#todo
56265685[ `too_many_arguments` ] : https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
56275686[ `too_many_lines` ] : https://rust-lang.github.io/rust-clippy/master/index.html#too_many_lines
@@ -5677,6 +5736,7 @@ Released 2018-09-13
56775736[ `unnecessary_mut_passed` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_mut_passed
56785737[ `unnecessary_operation` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_operation
56795738[ `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
56805740[ `unnecessary_safety_comment` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_safety_comment
56815741[ `unnecessary_safety_doc` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_safety_doc
56825742[ `unnecessary_self_imports` ] : https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_self_imports
@@ -5819,4 +5879,6 @@ Released 2018-09-13
58195879[ `enforce-iter-loop-reborrow` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#enforce-iter-loop-reborrow
58205880[ `check-private-items` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#check-private-items
58215881[ `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
58225884<!-- end autogenerated links to configuration documentation -->
0 commit comments