Skip to content

Commit 5746a5f

Browse files
committed
v0.28.0
1 parent 5ae42b8 commit 5746a5f

File tree

4 files changed

+14
-3
lines changed

4 files changed

+14
-3
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.28.0"></a>
2+
# [v0.28.0](https://github.com/aDotInTheVoid/rustdoc-types/releases/tag/v0.28.0) - 2024-07-18
3+
4+
**Breaking Change**: Add `GenericBound::Use` for the (currently unstable) [`precise_capturing`](https://github.com/rust-lang/rust/issues/123432) feature ([rust#127632]( https://github.com/rust-lang/rust/pull/127632)).
5+
6+
- Format Version: 32
7+
- Upstream Commit: [`bd135e487f904e757f6c3d2ebcc2d216ac4d9aaf`](https://github.com/rust-lang/rust/commit/bd135e487f904e757f6c3d2ebcc2d216ac4d9aaf)
8+
- Diff: [v0.27.0...v0.28.0](https://github.com/aDotInTheVoid/rustdoc-types/compare/v0.27.0...v0.28.0)
9+
110
<a name="v0.27.0"></a>
211
# [v0.27.0](https://github.com/aDotInTheVoid/rustdoc-types/releases/tag/v0.27.0) - 2024-07-04
312

COMMIT.txt

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

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

src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use serde::{Deserialize, Serialize};
88
use std::path::PathBuf;
99

1010
/// rustdoc format-version.
11-
pub const FORMAT_VERSION: u32 = 31;
11+
pub const FORMAT_VERSION: u32 = 32;
1212

1313
/// A `Crate` is the root of the emitted JSON blob. It contains all type/documentation information
1414
/// about the language items in the local crate, as well as info about external items to allow
@@ -538,6 +538,8 @@ pub enum GenericBound {
538538
modifier: TraitBoundModifier,
539539
},
540540
Outlives(String),
541+
/// `use<'a, T>` precise-capturing bound syntax
542+
Use(Vec<String>),
541543
}
542544

543545
#[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]

0 commit comments

Comments
 (0)