Skip to content

Commit 17cbe9f

Browse files
committed
v0.27.0
1 parent 9123889 commit 17cbe9f

File tree

4 files changed

+19
-5
lines changed

4 files changed

+19
-5
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
<a name="v0.27.0"></a>
2+
# [v0.27.0](https://github.com/aDotInTheVoid/rustdoc-types/releases/tag/v0.27.0) - 2024-07-04
3+
4+
**Breaking Change**: `WherePredicate::RegionPredicate` has been renamed to
5+
`LifetimePredicate`, to avoid compiler-internal terminology. The `bounds` field
6+
has been renamed to `outlives`, and changed from `Vec<GenericBound>` to
7+
`Vec<String>`, becuase the only bound that lifetimes can have is that they
8+
outlife other lifetimes
9+
([rust#127289](https://github.com/rust-lang/rust/pull/127289)).
10+
11+
- Format Version: 31
12+
- Upstream Commit: [`7e8aac553e756b0eb03fe98e1a65ffc47836ec51`](https://github.com/rust-lang/rust/commit/7e8aac553e756b0eb03fe98e1a65ffc47836ec51)
13+
- Diff: [v0.26.0...v0.27.0](https://github.com/aDotInTheVoid/rustdoc-types/compare/v0.26.0...v0.27.0)
14+
115
<a name="v0.26.0"></a>
216
# [v0.26.0](https://github.com/aDotInTheVoid/rustdoc-types/releases/tag/v0.26.0) - 2024-06-06
317

COMMIT.txt

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

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.26.0"
3+
version = "0.27.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 & 3 deletions
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 = 30;
11+
pub const FORMAT_VERSION: u32 = 31;
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
@@ -511,9 +511,9 @@ pub enum WherePredicate {
511511
/// ```
512512
generic_params: Vec<GenericParamDef>,
513513
},
514-
RegionPredicate {
514+
LifetimePredicate {
515515
lifetime: String,
516-
bounds: Vec<GenericBound>,
516+
outlives: Vec<String>,
517517
},
518518
EqPredicate {
519519
lhs: Type,

0 commit comments

Comments
 (0)