Skip to content

Commit b0e842b

Browse files
committed
v0.55.0
1 parent 2464812 commit b0e842b

File tree

4 files changed

+18
-4
lines changed

4 files changed

+18
-4
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
<a name="v0.55.0"></a>
2+
# [v0.55.0](https://github.com/rust-lang/rustdoc-types/releases/tag/v0.55.0) - 2025-08-02
3+
4+
**Breaking Change**: Add `Attribute::MacroUse` variant.
5+
This means `#[macro_use]` is no longer represented by `Attribute::Other`
6+
((rust#144700)[https://github.com/rust-lang/rust/pull/144700]).
7+
8+
- Format Version: 55
9+
- Upstream Commit: [`a33e084afe698e0a025211abd6dc1c9a4bb22e9d`](https://github.com/rust-lang/rust/commit/a33e084afe698e0a025211abd6dc1c9a4bb22e9d)
10+
- Diff: [v0.54.0...v0.55.0](https://github.com/rust-lang/rustdoc-types/compare/v0.54.0...v0.55.0)
11+
112
<a name="v0.54.0"></a>
213
# [v0.54.0](https://github.com/rust-lang/rustdoc-types/releases/tag/v0.54.0) - 2025-07-17
314

COMMIT.txt

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

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

src/lib.rs

Lines changed: 5 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: Structured Attributes
40-
pub const FORMAT_VERSION: u32 = 54;
39+
// Latest feature: Add Attribute::MacroUse
40+
pub const FORMAT_VERSION: u32 = 55;
4141

4242
/// The root of the emitted JSON blob.
4343
///
@@ -215,6 +215,9 @@ pub enum Attribute {
215215
/// `#[must_use]`
216216
MustUse { reason: Option<String> },
217217

218+
/// `#[macro_export]`
219+
MacroExport,
220+
218221
/// `#[export_name = "name"]`
219222
ExportName(String),
220223

0 commit comments

Comments
 (0)