Skip to content

Commit a1dd47c

Browse files
committed
v0.38.0
1 parent 6a81cd3 commit a1dd47c

File tree

4 files changed

+16
-3
lines changed

4 files changed

+16
-3
lines changed

Diff for: CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
<a name="v0.38.0"></a>
2+
# [v0.38.0](https://github.com/rust-lang/rustdoc-types/releases/tag/v0.38.0) - 2025-03-16
3+
4+
**Breaking Change**: Add variant `GenericArgs::ReturnTypeNotation` to support
5+
[return type notation](https://github.com/rust-lang/rust/issues/109417)
6+
([rust#137956](https://github.com/rust-lang/rust/pull/137956)).
7+
8+
- Format Version: 42
9+
- Upstream Commit: [`e3ac1fa81abd321abe193f491ed06c7d388f68fe`](https://github.com/rust-lang/rust/commit/e3ac1fa81abd321abe193f491ed06c7d388f68fe)
10+
- Diff: [v0.37.0...v0.38.0](https://github.com/rust-lang/rustdoc-types/compare/v0.37.0...v0.38.0)
11+
112
<a name="v0.37.0"></a>
213
# [v0.37.0](https://github.com/rust-lang/rustdoc-types/releases/tag/v0.37.0) - 2025-03-14
314

Diff for: COMMIT.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
112f7b01a1b25035cd8b288d6936c6be48a3d845
1+
e3ac1fa81abd321abe193f491ed06c7d388f68fe

Diff for: Cargo.toml

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

Diff for: src/lib.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ use serde::{Deserialize, Serialize};
2929
/// This integer is incremented with every breaking change to the API,
3030
/// and is returned along with the JSON blob as [`Crate::format_version`].
3131
/// Consuming code should assert that this value matches the format version(s) that it supports.
32-
pub const FORMAT_VERSION: u32 = 41;
32+
pub const FORMAT_VERSION: u32 = 42;
3333

3434
/// The root of the emitted JSON blob.
3535
///
@@ -228,6 +228,8 @@ pub enum GenericArgs {
228228
/// The output type provided after the `->`, if present.
229229
output: Option<Type>,
230230
},
231+
/// `T::method(..)`
232+
ReturnTypeNotation,
231233
}
232234

233235
/// One argument in a list of generic arguments to a path segment.

0 commit comments

Comments
 (0)