@@ -6,11 +6,65 @@ document.
6
6
7
7
## Unreleased / Beta / In Rust Nightly
8
8
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 )
10
64
11
65
## Rust 1.76
12
66
13
- Current stable, released 2024-02-08
67
+ Released 2024-02-08
14
68
15
69
[ 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
70
@@ -5110,6 +5164,7 @@ Released 2018-09-13
5110
5164
[ `collection_is_never_read` ] : https://rust-lang.github.io/rust-clippy/master/index.html#collection_is_never_read
5111
5165
[ `comparison_chain` ] : https://rust-lang.github.io/rust-clippy/master/index.html#comparison_chain
5112
5166
[ `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
5113
5168
[ `const_static_lifetime` ] : https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime
5114
5169
[ `copy_iterator` ] : https://rust-lang.github.io/rust-clippy/master/index.html#copy_iterator
5115
5170
[ `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
5156
5211
[ `drop_ref` ] : https://rust-lang.github.io/rust-clippy/master/index.html#drop_ref
5157
5212
[ `duplicate_mod` ] : https://rust-lang.github.io/rust-clippy/master/index.html#duplicate_mod
5158
5213
[ `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
5159
5215
[ `duration_subsec` ] : https://rust-lang.github.io/rust-clippy/master/index.html#duration_subsec
5160
5216
[ `eager_transmute` ] : https://rust-lang.github.io/rust-clippy/master/index.html#eager_transmute
5161
5217
[ `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
5279
5335
[ `int_plus_one` ] : https://rust-lang.github.io/rust-clippy/master/index.html#int_plus_one
5280
5336
[ `integer_arithmetic` ] : https://rust-lang.github.io/rust-clippy/master/index.html#integer_arithmetic
5281
5337
[ `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
5282
5339
[ `into_iter_on_array` ] : https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_array
5283
5340
[ `into_iter_on_ref` ] : https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref
5284
5341
[ `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
5376
5433
[ `manual_swap` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_swap
5377
5434
[ `manual_try_fold` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_try_fold
5378
5435
[ `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
5379
5437
[ `manual_while_let_some` ] : https://rust-lang.github.io/rust-clippy/master/index.html#manual_while_let_some
5380
5438
[ `many_single_char_names` ] : https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names
5381
5439
[ `map_clone` ] : https://rust-lang.github.io/rust-clippy/master/index.html#map_clone
@@ -5813,6 +5871,7 @@ Released 2018-09-13
5813
5871
[ `zero_divided_by_zero` ] : https://rust-lang.github.io/rust-clippy/master/index.html#zero_divided_by_zero
5814
5872
[ `zero_prefixed_literal` ] : https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal
5815
5873
[ `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
5816
5875
[ `zero_sized_map_values` ] : https://rust-lang.github.io/rust-clippy/master/index.html#zero_sized_map_values
5817
5876
[ `zero_width_space` ] : https://rust-lang.github.io/rust-clippy/master/index.html#zero_width_space
5818
5877
[ `zst_offset` ] : https://rust-lang.github.io/rust-clippy/master/index.html#zst_offset
0 commit comments