File tree Expand file tree Collapse file tree 4 files changed +19
-5
lines changed Expand file tree Collapse file tree 4 files changed +19
-5
lines changed Original file line number Diff line number Diff line change
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
+
1
15
<a name =" v0.26.0 " ></a >
2
16
# [ v0.26.0] ( https://github.com/aDotInTheVoid/rustdoc-types/releases/tag/v0.26.0 ) - 2024-06-06
3
17
Original file line number Diff line number Diff line change 1
- 432c11feb6ddfffe6d1d111624ac86386b2fe751
1
+ 7e8aac553e756b0eb03fe98e1a65ffc47836ec51
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " rustdoc-types"
3
- version = " 0.26 .0"
3
+ version = " 0.27 .0"
4
4
edition = " 2018"
5
5
license = " MIT OR Apache-2.0"
6
6
description = " Types for rustdoc's json output"
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ use serde::{Deserialize, Serialize};
8
8
use std:: path:: PathBuf ;
9
9
10
10
/// rustdoc format-version.
11
- pub const FORMAT_VERSION : u32 = 30 ;
11
+ pub const FORMAT_VERSION : u32 = 31 ;
12
12
13
13
/// A `Crate` is the root of the emitted JSON blob. It contains all type/documentation information
14
14
/// about the language items in the local crate, as well as info about external items to allow
@@ -511,9 +511,9 @@ pub enum WherePredicate {
511
511
/// ```
512
512
generic_params : Vec < GenericParamDef > ,
513
513
} ,
514
- RegionPredicate {
514
+ LifetimePredicate {
515
515
lifetime : String ,
516
- bounds : Vec < GenericBound > ,
516
+ outlives : Vec < String > ,
517
517
} ,
518
518
EqPredicate {
519
519
lhs : Type ,
You can’t perform that action at this time.
0 commit comments