@@ -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
@@ -5281,6 +5335,7 @@ Released 2018-09-13
52815335[ `int_plus_one` ] : https://rust-lang.github.io/rust-clippy/master/index.html#int_plus_one
52825336[ `integer_arithmetic` ] : https://rust-lang.github.io/rust-clippy/master/index.html#integer_arithmetic
52835337[ `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
52845339[ `into_iter_on_array` ] : https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_array
52855340[ `into_iter_on_ref` ] : https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref
52865341[ `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
53245379[ `large_stack_arrays` ] : https://rust-lang.github.io/rust-clippy/master/index.html#large_stack_arrays
53255380[ `large_stack_frames` ] : https://rust-lang.github.io/rust-clippy/master/index.html#large_stack_frames
53265381[ `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
53275383[ `len_without_is_empty` ] : https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty
53285384[ `len_zero` ] : https://rust-lang.github.io/rust-clippy/master/index.html#len_zero
53295385[ `let_and_return` ] : https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return
@@ -5426,6 +5482,7 @@ Released 2018-09-13
54265482[ `missing_safety_doc` ] : https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
54275483[ `missing_spin_loop` ] : https://rust-lang.github.io/rust-clippy/master/index.html#missing_spin_loop
54285484[ `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
54295486[ `mistyped_literal_suffixes` ] : https://rust-lang.github.io/rust-clippy/master/index.html#mistyped_literal_suffixes
54305487[ `mixed_attributes_style` ] : https://rust-lang.github.io/rust-clippy/master/index.html#mixed_attributes_style
54315488[ `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
58375894[ `allowed-dotfiles` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#allowed-dotfiles
58385895[ `allowed-duplicate-crates` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#allowed-duplicate-crates
58395896[ `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
58405898[ `allowed-scripts` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#allowed-scripts
58415899[ `allowed-wildcard-imports` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#allowed-wildcard-imports
58425900[ `arithmetic-side-effects-allowed` ] : https://doc.rust-lang.org/clippy/lint_configuration.html#arithmetic-side-effects-allowed
0 commit comments