Skip to content

Commit a96e85d

Browse files
committed
v0.52.0
1 parent a830067 commit a96e85d

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
<a name="v0.52.0"></a>
2+
# [v0.52.0](https://github.com/rust-lang/rustdoc-types/releases/tag/v0.52.0) - 2025-06-23
3+
4+
**Breaking Change(??)**: `#[must_use = "text"]` in `Item::attrs` is now
5+
`"#[attr = MustUse {reason: \"text\"}]"`,
6+
instead of `"#[must_use = \"text\"]"`
7+
([rust#142780](https://github.com/rust-lang/rust/pull/142780)).
8+
9+
- Format Version: 52
10+
- Upstream Commit: [`b24df424888d9db3a22d6d52f3f516e29d5be21a`](https://github.com/rust-lang/rust/commit/b24df424888d9db3a22d6d52f3f516e29d5be21a)
11+
- Diff: [v0.51.0...v0.52.0](https://github.com/rust-lang/rustdoc-types/compare/v0.51.0...v0.52.0)
12+
113
<a name="v0.51.0"></a>
214
# [v0.51.0](https://github.com/rust-lang/rustdoc-types/releases/tag/v0.51.0) - 2025-06-23
315

COMMIT.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7fa8901cd090093a57723d3f196c27db3b98ad94
1+
b24df424888d9db3a22d6d52f3f516e29d5be21a

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rustdoc-types"
3-
version = "0.51.0"
3+
version = "0.52.0"
44
edition = "2018"
55
license = "MIT OR Apache-2.0"
66
description = "Types for rustdoc's json output"

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ use serde_derive::{Deserialize, Serialize};
3636
// will instead cause conflicts. See #94591 for more. (This paragraph and the "Latest feature" line
3737
// are deliberately not in a doc comment, because they need not be in public docs.)
3838
//
39-
// Latest feature: improve handling of generic args
40-
pub const FORMAT_VERSION: u32 = 51;
39+
// Latest feature: Pretty printing of must_use attributes changed
40+
pub const FORMAT_VERSION: u32 = 52;
4141

4242
/// The root of the emitted JSON blob.
4343
///

0 commit comments

Comments
 (0)