Skip to content

Commit ad6e19a

Browse files
authored
Changelog for Clippy 1.88 🏄 (#15095)
Violets are red, Roses are blue, Summer’s a feeling, And we’re feeling it too. <hr> > (Please ping me when June made it as the cat of the release. I want to send it to her owner :D) @xFrednet voila: ![image](https://github.com/user-attachments/assets/7908abd0-76a5-4a64-a553-9c443d4c8b37) Cats for the next release can be traditionally nominated in the comments :D Please be more active and cat-minded 😻 <hr> changelog: none r? flip1995
2 parents 76118ec + 2e63c7c commit ad6e19a

File tree

1 file changed

+72
-1
lines changed

1 file changed

+72
-1
lines changed

CHANGELOG.md

Lines changed: 72 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,78 @@ document.
66

77
## Unreleased / Beta / In Rust Nightly
88

9-
[1e5237f4...master](https://github.com/rust-lang/rust-clippy/compare/1e5237f4...master)
9+
[03a5b6b9...master](https://github.com/rust-lang/rust-clippy/compare/03a5b6b9...master)
10+
11+
## Rust 1.88
12+
13+
Current stable, released 2025-06-26
14+
15+
[View all 126 merged pull requests](https://github.com/rust-lang/rust-clippy/pulls?q=merged%3A2025-03-21T10%3A30%3A57Z..2025-05-01T08%3A03%3A26Z+base%3Amaster)
16+
17+
### New Lints
18+
19+
* Added [`swap_with_temporary`] to `complexity` [#14046](https://github.com/rust-lang/rust-clippy/pull/14046)
20+
* Added [`redundant_test_prefix`] to `restriction` [#13710](https://github.com/rust-lang/rust-clippy/pull/13710)
21+
* Added [`manual_dangling_ptr`] to `style` [#14107](https://github.com/rust-lang/rust-clippy/pull/14107)
22+
* Added [`char_indices_as_byte_indices`] to `correctness` [#13435](https://github.com/rust-lang/rust-clippy/pull/13435)
23+
* Added [`manual_abs_diff`] to `complexity` [#14482](https://github.com/rust-lang/rust-clippy/pull/14482)
24+
* Added [`ignore_without_reason`] to `pedantic` [#13931](https://github.com/rust-lang/rust-clippy/pull/13931)
25+
26+
### Moves and Deprecations
27+
28+
* Moved [`uninlined_format_args`] to `style` (from `pedantic`)
29+
[#14219](https://github.com/rust-lang/rust-clippy/pull/14219)
30+
* [`match_on_vec_items`] deprecated in favor of [`indexing_slicing`]
31+
[#14217](https://github.com/rust-lang/rust-clippy/pull/14217)
32+
33+
### Enhancements
34+
35+
* Configuration renamed from `lint-inconsistent-struct-field-initializers`
36+
to `check-inconsistent-struct-field-initializers`
37+
[#14280](https://github.com/rust-lang/rust-clippy/pull/14280)
38+
* Paths in `disallowed_*` configurations are now validated
39+
[#14397](https://github.com/rust-lang/rust-clippy/pull/14397)
40+
* [`borrow_as_ptr`] now lints implicit casts as well
41+
[#14408](https://github.com/rust-lang/rust-clippy/pull/14408)
42+
* [`iter_kv_map`] now recognizes references on maps
43+
[#14596](https://github.com/rust-lang/rust-clippy/pull/14596)
44+
* [`empty_enum_variants_with_brackets`] no longer lints reachable enums or enums used
45+
as functions within same crate [#12971](https://github.com/rust-lang/rust-clippy/pull/12971)
46+
* [`needless_lifetimes`] now checks for lifetime uses in closures
47+
[#14608](https://github.com/rust-lang/rust-clippy/pull/14608)
48+
* [`wildcard_imports`] now lints on `pub use` when `warn_on_all_wildcard_imports` is enabled
49+
[#14182](https://github.com/rust-lang/rust-clippy/pull/14182)
50+
* [`collapsible_if`] now recognizes the `let_chains` feature
51+
[#14481](https://github.com/rust-lang/rust-clippy/pull/14481)
52+
* [`match_single_binding`] now allows macros in scrutinee and patterns
53+
[#14635](https://github.com/rust-lang/rust-clippy/pull/14635)
54+
55+
### False Positive Fixes
56+
57+
* [`double_ended_iterator_last`] and [`needless_collect`] fixed FP when iter has side effects
58+
[#14490](https://github.com/rust-lang/rust-clippy/pull/14490)
59+
* [`mut_from_ref`] fixed FP where lifetimes nested in types were not considered
60+
[#14471](https://github.com/rust-lang/rust-clippy/pull/14471)
61+
* [`redundant_clone`] fixed FP in overlapping lifetime
62+
[#14237](https://github.com/rust-lang/rust-clippy/pull/14237)
63+
* [`map_entry`] fixed FP where lint would trigger without insert calls present
64+
[#14568](https://github.com/rust-lang/rust-clippy/pull/14568)
65+
* [`iter_cloned_collect`] fixed FP with custom `From`/`IntoIterator` impl
66+
[#14473](https://github.com/rust-lang/rust-clippy/pull/14473)
67+
* [`shadow_unrelated`] fixed FP in destructuring assignments
68+
[#14381](https://github.com/rust-lang/rust-clippy/pull/14381)
69+
* [`redundant_clone`] fixed FP on enum cast
70+
[#14395](https://github.com/rust-lang/rust-clippy/pull/14395)
71+
72+
### Documentation Improvements
73+
74+
* [`missing_asserts_for_indexing`] improved documentation and examples
75+
[#14108](https://github.com/rust-lang/rust-clippy/pull/14108)
76+
77+
### Others
78+
79+
* We're testing with edition 2024 now
80+
[#14602](https://github.com/rust-lang/rust-clippy/pull/14602)
1081

1182
## Rust 1.87
1283

0 commit comments

Comments
 (0)