Skip to content

Commit 7c889ac

Browse files
authored
Changelog for Clippy 1.85 🦜 (#14229)
Roses are red, Biolets are blue, A typo happened, too late now You might be asking, what are Biolets now? And to be honest, I have no clue --- The cat of this release is `Vera` nominated by @and-reas-se <img height=500 src="https://github.com/user-attachments/assets/82e6fccc-1f6d-4d29-b6bb-0bd4f3584593" alt="The cats of this Clippy release" /> Cats for the next release can be nominated in the comments :D --- changelog: none
2 parents d8ecde0 + 822e45b commit 7c889ac

File tree

4 files changed

+48
-6
lines changed

4 files changed

+48
-6
lines changed

CHANGELOG.md

Lines changed: 44 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,53 @@ document.
66

77
## Unreleased / Beta / In Rust Nightly
88

9-
[786fbd6d...master](https://github.com/rust-lang/rust-clippy/compare/786fbd6d...master)
9+
[609cd310...master](https://github.com/rust-lang/rust-clippy/compare/609cd310...master)
10+
11+
## Rust 1.85
12+
13+
Current stable, released 2025-02-20
14+
15+
[View all 72 merged pull requests](https://github.com/rust-lang/rust-clippy/pulls?q=merged%3A2024-11-15T19%3A31%3A08Z..2024-12-26T13%3A59%3A48Z+base%3Amaster)
16+
17+
### New Lints
18+
19+
* Added [`repr_packed_without_abi`] to `suspicious`
20+
[#13398](https://github.com/rust-lang/rust-clippy/pull/13398)
21+
* Added [`as_pointer_underscore`] to `restriction`
22+
[#13251](https://github.com/rust-lang/rust-clippy/pull/13251)
23+
* Added [`doc_nested_refdefs`] to `suspicious`
24+
[#13707](https://github.com/rust-lang/rust-clippy/pull/13707)
25+
* Added [`literal_string_with_formatting_args`] to `nursery`
26+
[#13410](https://github.com/rust-lang/rust-clippy/pull/13410)
27+
* Added [`doc_include_without_cfg`] to `restriction`
28+
[#13625](https://github.com/rust-lang/rust-clippy/pull/13625)
29+
30+
### Enhancements
31+
32+
* [`indexing_slicing`]: Can now be allowed in tests using the [`allow-indexing-slicing-in-tests`]
33+
configuration
34+
[#13854](https://github.com/rust-lang/rust-clippy/pull/13854)
35+
* [`if_let_mutex`]: disable lint from Edition 2024 since
36+
[if_let_rescope](https://github.com/rust-lang/rust/issues/131154) was stabilized
37+
[#13695](https://github.com/rust-lang/rust-clippy/pull/13695)
38+
* [`format_in_format_args`], [`recursive_format_impl`], [`to_string_in_format_args`],
39+
[`uninlined_format_args`], [`unused_format_specs`]: Can now support 3rd party format macros
40+
if they're marked with the `#[clippy::format_args]` attribute
41+
[#9948](https://github.com/rust-lang/rust-clippy/pull/9948)
42+
43+
### ICE Fixes
44+
45+
* [`trait_duplication_in_bounds`]: fix ICE on duplicate type or constant bound
46+
[#13722](https://github.com/rust-lang/rust-clippy/pull/13722)
47+
48+
### Others
49+
50+
* `clippy_utils` is now published to crates.io. Note that this crate is and will remain unstable.
51+
[#13700](https://github.com/rust-lang/rust-clippy/pull/13700)
1052

1153
## Rust 1.84
1254

13-
Current stable, released 2025-01-09
55+
Released 2025-01-09
1456

1557
[View all 84 merged pull requests](https://github.com/rust-lang/rust-clippy/pulls?q=merged%3A2024-10-03T21%3A23%3A58Z..2024-11-14T17%3A41%3A37Z+base%3Amaster)
1658

clippy_lints/src/attrs/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ declare_clippy_lint! {
305305
/// header_version: u16
306306
/// }
307307
/// ```
308-
#[clippy::version = "1.84.0"]
308+
#[clippy::version = "1.85.0"]
309309
pub REPR_PACKED_WITHOUT_ABI,
310310
suspicious,
311311
"ensures that `repr(packed)` always comes with a qualified ABI"

clippy_lints/src/casts/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@ declare_clippy_lint! {
753753
/// t as *const T as usize
754754
/// }
755755
/// ```
756-
#[clippy::version = "1.81.0"]
756+
#[clippy::version = "1.85.0"]
757757
pub AS_POINTER_UNDERSCORE,
758758
restriction,
759759
"detects `as *mut _` and `as *const _` conversion"

clippy_lints/src/doc/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ declare_clippy_lint! {
612612
/// ```no_run
613613
/// #![cfg_attr(doc, doc = include_str!("some_file.md"))]
614614
/// ```
615-
#[clippy::version = "1.84.0"]
615+
#[clippy::version = "1.85.0"]
616616
pub DOC_INCLUDE_WITHOUT_CFG,
617617
restriction,
618618
"check if files included in documentation are behind `cfg(doc)`"
@@ -638,7 +638,7 @@ declare_clippy_lint! {
638638
/// //!
639639
/// //! [link]: destination (for link reference definition)
640640
/// ```
641-
#[clippy::version = "1.84.0"]
641+
#[clippy::version = "1.85.0"]
642642
pub DOC_NESTED_REFDEFS,
643643
suspicious,
644644
"link reference defined in list item or quote"

0 commit comments

Comments
 (0)