@@ -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
@@ -5281,6 +5335,7 @@ Released 2018-09-13
5281
5335
[ `int_plus_one` ] : https://rust-lang.github.io/rust-clippy/master/index.html#int_plus_one
5282
5336
[ `integer_arithmetic` ] : https://rust-lang.github.io/rust-clippy/master/index.html#integer_arithmetic
5283
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
5284
5339
[ `into_iter_on_array` ] : https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_array
5285
5340
[ `into_iter_on_ref` ] : https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref
5286
5341
[ `into_iter_without_iter` ] : https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_without_iter
@@ -5324,6 +5379,7 @@ Released 2018-09-13
5324
5379
[ `large_stack_arrays` ] : https://rust-lang.github.io/rust-clippy/master/index.html#large_stack_arrays
5325
5380
[ `large_stack_frames` ] : https://rust-lang.github.io/rust-clippy/master/index.html#large_stack_frames
5326
5381
[ `large_types_passed_by_value` ] : https://rust-lang.github.io/rust-clippy/master/index.html#large_types_passed_by_value
5382
+ [ `legacy_numeric_constants` ] : https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants
5327
5383
[ `len_without_is_empty` ] : https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty
5328
5384
[ `len_zero` ] : https://rust-lang.github.io/rust-clippy/master/index.html#len_zero
5329
5385
[ `let_and_return` ] : https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return
@@ -5426,6 +5482,7 @@ Released 2018-09-13
5426
5482
[ `missing_safety_doc` ] : https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
5427
5483
[ `missing_spin_loop` ] : https://rust-lang.github.io/rust-clippy/master/index.html#missing_spin_loop
5428
5484
[ `missing_trait_methods` ] : https://rust-lang.github.io/rust-clippy/master/index.html#missing_trait_methods
5485
+ [ `missing_transmute_annotations` ] : https://rust-lang.github.io/rust-clippy/master/index.html#missing_transmute_annotations
5429
5486
[ `mistyped_literal_suffixes` ] : https://rust-lang.github.io/rust-clippy/master/index.html#mistyped_literal_suffixes
5430
5487
[ `mixed_attributes_style` ] : https://rust-lang.github.io/rust-clippy/master/index.html#mixed_attributes_style
5431
5488
[ `mixed_case_hex_literals` ] : https://rust-lang.github.io/rust-clippy/master/index.html#mixed_case_hex_literals
@@ -5837,6 +5894,7 @@ Released 2018-09-13
5837
5894
[ `allowed-dotfiles` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#allowed-dotfiles
5838
5895
[ `allowed-duplicate-crates` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#allowed-duplicate-crates
5839
5896
[ `allowed-idents-below-min-chars` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#allowed-idents-below-min-chars
5897
+ [ `allowed-prefixes` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#allowed-prefixes
5840
5898
[ `allowed-scripts` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#allowed-scripts
5841
5899
[ `allowed-wildcard-imports` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#allowed-wildcard-imports
5842
5900
[ `arithmetic-side-effects-allowed` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#arithmetic-side-effects-allowed
0 commit comments