File tree Expand file tree Collapse file tree 4 files changed +28
-3
lines changed Expand file tree Collapse file tree 4 files changed +28
-3
lines changed Original file line number Diff line number Diff line change
1
+ <a name =" v0.48.0 " ></a >
2
+ # [ v0.48.0] ( https://github.com/rust-lang/rustdoc-types/releases/tag/v0.48.0 ) - 2025-06-19
3
+
4
+ ** Breaking Change(??)** : ` #[inline] ` in ` Item::attrs ` as `"#[ attr =
5
+ Inline(Hint)] "` , instead of ` #[ "inline"] `
6
+ ([ rust #138165 ] ( https://github.com/rust-lang/rust/pull/138165 ) ).
7
+
8
+
9
+ > [ !NOTE]
10
+ > Due to a mistake, format version 47/rustdoc-types 0.47.0 was skipped, and will
11
+ > never exist see [ here] ( https://github.com/rust-lang/rust/pull/138165#discussion_r2157457743 )
12
+ > for details.
13
+
14
+ - Format Version: 48
15
+ - Upstream Commit: [ ` 81f8b570b9dd5d7bef27e1f1391dc73eb8fa4ff6 ` ] ( https://github.com/rust-lang/rust/commit/81f8b570b9dd5d7bef27e1f1391dc73eb8fa4ff6 )
16
+ - Diff: [ v0.46.1...v0.48.0] ( https://github.com/rust-lang/rustdoc-types/compare/v0.46.1...v0.48.0 )
17
+
1
18
<a name =" v0.46.1 " ></a >
2
19
# [ v0.46.1] ( https://github.com/rust-lang/rustdoc-types/releases/tag/v0.46.1 ) - 2025-06-05
3
20
Original file line number Diff line number Diff line change 1
- 763663ad56672b0f0635ad25c0c1a52e7773e0b9
1
+ 81f8b570b9dd5d7bef27e1f1391dc73eb8fa4ff6
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " rustdoc-types"
3
- version = " 0.46.1 "
3
+ version = " 0.48.0 "
4
4
edition = " 2018"
5
5
license = " MIT OR Apache-2.0"
6
6
description = " Types for rustdoc's json output"
Original file line number Diff line number Diff line change @@ -29,7 +29,15 @@ use serde_derive::{Deserialize, Serialize};
29
29
/// This integer is incremented with every breaking change to the API,
30
30
/// and is returned along with the JSON blob as [`Crate::format_version`].
31
31
/// Consuming code should assert that this value matches the format version(s) that it supports.
32
- pub const FORMAT_VERSION : u32 = 46 ;
32
+ //
33
+ // WARNING: When you update `FORMAT_VERSION`, please also update the "Latest feature" line with a
34
+ // description of the change. This minimizes the risk of two concurrent PRs changing
35
+ // `FORMAT_VERSION` from N to N+1 and git merging them without conflicts; the "Latest feature" line
36
+ // will instead cause conflicts. See #94591 for more. (This paragraph and the "Latest feature" line
37
+ // are deliberately not in a doc comment, because they need not be in public docs.)
38
+ //
39
+ // Latest feature: Pretty printing of inline attributes changed
40
+ pub const FORMAT_VERSION : u32 = 48 ;
33
41
34
42
/// The root of the emitted JSON blob.
35
43
///
You can’t perform that action at this time.
0 commit comments