Skip to content

Commit 3e7910e

Browse files
v0.56.0
1 parent b0e842b commit 3e7910e

File tree

4 files changed

+18
-4
lines changed

4 files changed

+18
-4
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
<a name="v0.56.0"></a>
2+
# [v0.56.0](https://github.com/rust-lang/rustdoc-types/releases/tag/v0.56.0) - 2025-09-05
3+
4+
TODO: Changelog.
5+
6+
- Format Version: 56
7+
- Upstream Commit: [`ab0ee84eac9732e4e81e559c688846b4c1bd400a`](https://github.com/rust-lang/rust/commit/ab0ee84eac9732e4e81e559c688846b4c1bd400a)
8+
- Diff: [v0.55.0...v0.56.0](https://github.com/rust-lang/rustdoc-types/compare/v0.55.0...v0.56.0)
9+
110
<a name="v0.55.0"></a>
211
# [v0.55.0](https://github.com/rust-lang/rustdoc-types/releases/tag/v0.55.0) - 2025-08-02
312

COMMIT.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a33e084afe698e0a025211abd6dc1c9a4bb22e9d
1+
ab0ee84eac9732e4e81e559c688846b4c1bd400a

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.55.0"
3+
version = "0.56.0"
44
edition = "2018"
55
license = "MIT OR Apache-2.0"
66
description = "Types for rustdoc's json output"

src/lib.rs

Lines changed: 7 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: Add Attribute::MacroUse
40-
pub const FORMAT_VERSION: u32 = 55;
39+
// Latest feature: Add `ItemKind::Attribute`.
40+
pub const FORMAT_VERSION: u32 = 56;
4141

4242
/// The root of the emitted JSON blob.
4343
///
@@ -551,6 +551,11 @@ pub enum ItemKind {
551551
/// [`Item`]s of this kind only come from the come library and exist solely
552552
/// to carry documentation for the respective keywords.
553553
Keyword,
554+
/// An attribute declaration.
555+
///
556+
/// [`Item`]s of this kind only come from the core library and exist solely
557+
/// to carry documentation for the respective builtin attributes.
558+
Attribute,
554559
}
555560

556561
/// Specific fields of an item.

0 commit comments

Comments
 (0)