@@ -6,11 +6,65 @@ document.
66
77## Unreleased / Beta / In Rust Nightly
88
9- [ a859e5cc...master] ( https://github.com/rust-lang/rust-clippy/compare/a859e5cc...master )
9+ [ 66c29b97...master] ( https://github.com/rust-lang/rust-clippy/compare/66c29b97...master )
10+
11+ ## Rust 1.77
12+
13+ Current stable, released 2024-03-18
14+
15+ [ View all 93 merged pull requests] ( https://github.com/rust-lang/rust-clippy/pulls?q=merged%3A2023-12-16T18%3A20%3A00Z..2024-01-25T18%3A15%3A56Z+base%3Amaster )
16+
17+ ### New Lints
18+
19+ * [ ` suspicious_open_options ` ]
20+ [ #11608 ] ( https://github.com/rust-lang/rust-clippy/pull/11608 )
21+ * [ ` option_as_ref_cloned ` ]
22+ [ #12051 ] ( https://github.com/rust-lang/rust-clippy/pull/12051 )
23+ * [ ` thread_local_initializer_can_be_made_const ` ]
24+ [ #12026 ] ( https://github.com/rust-lang/rust-clippy/pull/12026 )
25+ * [ ` str_split_at_newline ` ]
26+ [ #11987 ] ( https://github.com/rust-lang/rust-clippy/pull/11987 )
27+ * [ ` empty_enum_variants_with_brackets ` ]
28+ [ #12047 ] ( https://github.com/rust-lang/rust-clippy/pull/12047 )
29+ * [ ` manual_is_variant_and ` ]
30+ [ #11865 ] ( https://github.com/rust-lang/rust-clippy/pull/11865 )
31+ * [ ` pub_underscore_fields ` ]
32+ [ #10283 ] ( https://github.com/rust-lang/rust-clippy/pull/10283 )
33+ * [ ` eager_transmute ` ]
34+ [ #11981 ] ( https://github.com/rust-lang/rust-clippy/pull/11981 )
35+ * [ ` iter_filter_is_some ` ]
36+ [ #12004 ] ( https://github.com/rust-lang/rust/pull/12004 )
37+ * [ ` iter_filter_is_ok ` ]
38+ [ #12004 ] ( https://github.com/rust-lang/rust/pull/12004 )
39+ * [ ` result_filter_map ` ]
40+ [ #11869 ] ( https://github.com/rust-lang/rust-clippy/pull/11869 )
41+ * [ ` unconditional_recursion ` ]
42+ [ #11938 ] ( https://github.com/rust-lang/rust-clippy/pull/11938 )
43+
44+ ### Enhancements
45+
46+ * [ ` multiple_crate_versions ` ] : Added the [ ` allowed-duplicate-crates ` ] configuration to allow specific crates
47+ [ #12179 ] ( https://github.com/rust-lang/rust-clippy/pull/12179 )
48+ * [ ` single_call_fn ` ] : No longer ignores ` #[allow] ` attributes
49+ [ #12183 ] ( https://github.com/rust-lang/rust-clippy/pull/12183 )
50+ * [ ` read_zero_byte_vec ` ] : Updated the heuristics used for linting
51+ [ #11766 ] ( https://github.com/rust-lang/rust-clippy/pull/11766 )
52+
53+ ### ICE Fixes
54+
55+ * [ ` unit_arg ` ] : No longer crashes when checking for const in nested bodies
56+ [ #11977 ] ( https://github.com/rust-lang/rust-clippy/pull/11977 )
57+ * [ ` indexing_slicing ` ] : No longer crashes when the array index exceeds ` usize `
58+ [ #12266 ] ( https://github.com/rust-lang/rust-clippy/pull/12266 )
59+
60+ ### Others
61+
62+ * Warnings about invalid fields inside ` clippy.toml ` files now include suggestions for existing fields
63+ [ #12180 ] ( https://github.com/rust-lang/rust-clippy/pull/12180 )
1064
1165## Rust 1.76
1266
13- Current stable, released 2024-02-08
67+ Released 2024-02-08
1468
1569[ 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 )
1670
@@ -5110,6 +5164,7 @@ Released 2018-09-13
51105164[ `collection_is_never_read` ] : https://rust-lang.github.io/rust-clippy/master/index.html#collection_is_never_read
51115165[ `comparison_chain` ] : https://rust-lang.github.io/rust-clippy/master/index.html#comparison_chain
51125166[ `comparison_to_empty` ] : https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty
5167+ [ `const_is_empty` ] : https://rust-lang.github.io/rust-clippy/master/index.html#const_is_empty
51135168[ `const_static_lifetime` ] : https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime
51145169[ `copy_iterator` ] : https://rust-lang.github.io/rust-clippy/master/index.html#copy_iterator
51155170[ `crate_in_macro_def` ] : https://rust-lang.github.io/rust-clippy/master/index.html#crate_in_macro_def
@@ -5156,6 +5211,7 @@ Released 2018-09-13
51565211[ `drop_ref` ] : https://rust-lang.github.io/rust-clippy/master/index.html#drop_ref
51575212[ `duplicate_mod` ] : https://rust-lang.github.io/rust-clippy/master/index.html#duplicate_mod
51585213[ `duplicate_underscore_argument` ] : https://rust-lang.github.io/rust-clippy/master/index.html#duplicate_underscore_argument
5214+ [ `duplicated_attributes` ] : https://rust-lang.github.io/rust-clippy/master/index.html#duplicated_attributes
51595215[ `duration_subsec` ] : https://rust-lang.github.io/rust-clippy/master/index.html#duration_subsec
51605216[ `eager_transmute` ] : https://rust-lang.github.io/rust-clippy/master/index.html#eager_transmute
51615217[ `else_if_without_else` ] : https://rust-lang.github.io/rust-clippy/master/index.html#else_if_without_else
@@ -5279,6 +5335,7 @@ Released 2018-09-13
52795335[ `int_plus_one` ] : https://rust-lang.github.io/rust-clippy/master/index.html#int_plus_one
52805336[ `integer_arithmetic` ] : https://rust-lang.github.io/rust-clippy/master/index.html#integer_arithmetic
52815337[ `integer_division` ] : https://rust-lang.github.io/rust-clippy/master/index.html#integer_division
5338+ [ `integer_division_remainder_used` ] : https://rust-lang.github.io/rust-clippy/master/index.html#integer_division_remainder_used
52825339[ `into_iter_on_array` ] : https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_array
52835340[ `into_iter_on_ref` ] : https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref
52845341[ `into_iter_without_iter` ] : https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_without_iter
@@ -5376,6 +5433,7 @@ Released 2018-09-13
53765433[ `manual_swap` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_swap
53775434[ `manual_try_fold` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_try_fold
53785435[ `manual_unwrap_or` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or
5436+ [ `manual_unwrap_or_default` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or_default
53795437[ `manual_while_let_some` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_while_let_some
53805438[ `many_single_char_names` ] : https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names
53815439[ `map_clone` ] : https://rust-lang.github.io/rust-clippy/master/index.html#map_clone
@@ -5813,6 +5871,7 @@ Released 2018-09-13
58135871[ `zero_divided_by_zero` ] : https://rust-lang.github.io/rust-clippy/master/index.html#zero_divided_by_zero
58145872[ `zero_prefixed_literal` ] : https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal
58155873[ `zero_ptr` ] : https://rust-lang.github.io/rust-clippy/master/index.html#zero_ptr
5874+ [ `zero_repeat_side_effects` ] : https://rust-lang.github.io/rust-clippy/master/index.html#zero_repeat_side_effects
58165875[ `zero_sized_map_values` ] : https://rust-lang.github.io/rust-clippy/master/index.html#zero_sized_map_values
58175876[ `zero_width_space` ] : https://rust-lang.github.io/rust-clippy/master/index.html#zero_width_space
58185877[ `zst_offset` ] : https://rust-lang.github.io/rust-clippy/master/index.html#zst_offset
0 commit comments