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+
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
Original file line number Diff line number Diff line change 1- 432c11feb6ddfffe6d1d111624ac86386b2fe751
1+ 7e8aac553e756b0eb03fe98e1a65ffc47836ec51
Original file line number Diff line number Diff line change 11[package ]
22name = " rustdoc-types"
3- version = " 0.26 .0"
3+ version = " 0.27 .0"
44edition = " 2018"
55license = " MIT OR Apache-2.0"
66description = " Types for rustdoc's json output"
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ use serde::{Deserialize, Serialize};
88use 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 ,
You can’t perform that action at this time.
0 commit comments