File tree Expand file tree Collapse file tree 4 files changed +19
-3
lines changed Expand file tree Collapse file tree 4 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 1+ <a name =" v0.25.0 " ></a >
2+ # [ v0.25.0] ( https://github.com/aDotInTheVoid/rustdoc-types/releases/tag/v0.25.0 ) - 2024-04-19
3+
4+ ** Breaking Change** : Add ` Type::Pat ` for unstable pattern types. ([ rust #120131 ] ( https://github.com/rust-lang/rust/pull/120131/ ) )
5+
6+ - Format Version: 29
7+ - Upstream Commit: [ ` 18ff131c4e06d6e1ebfc19092fe1d6c3535eb78b ` ] ( https://github.com/rust-lang/rust/commit/18ff131c4e06d6e1ebfc19092fe1d6c3535eb78b )
8+ - Diff: [ v0.24.0...v0.25.0] ( https://github.com/aDotInTheVoid/rustdoc-types/compare/v0.24.0...v0.25.0 )
9+
110<a name =" v0.24.0 " ></a >
211# [ v0.24.0] ( https://github.com/aDotInTheVoid/rustdoc-types/releases/tag/v0.24.0 ) - 2023-12-23
312
Original file line number Diff line number Diff line change 1- c29f763153ac89e7930c6d50f5ab4656318b30d4
1+ 18ff131c4e06d6e1ebfc19092fe1d6c3535eb78b
Original file line number Diff line number Diff line change 11[package ]
22name = " rustdoc-types"
3- version = " 0.24 .0"
3+ version = " 0.25 .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 = 28 ;
11+ pub const FORMAT_VERSION : u32 = 29 ;
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
@@ -562,6 +562,13 @@ pub enum Type {
562562 type_ : Box < Type > ,
563563 len : String ,
564564 } ,
565+ /// `u32 is 1..`
566+ Pat {
567+ #[ serde( rename = "type" ) ]
568+ type_ : Box < Type > ,
569+ #[ doc( hidden) ]
570+ __pat_unstable_do_not_use : String ,
571+ } ,
565572 /// `impl TraitA + TraitB + ...`
566573 ImplTrait ( Vec < GenericBound > ) ,
567574 /// `_`
You can’t perform that action at this time.
0 commit comments