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
+
1
10
<a name =" v0.24.0 " ></a >
2
11
# [ v0.24.0] ( https://github.com/aDotInTheVoid/rustdoc-types/releases/tag/v0.24.0 ) - 2023-12-23
3
12
Original file line number Diff line number Diff line change 1
- c29f763153ac89e7930c6d50f5ab4656318b30d4
1
+ 18ff131c4e06d6e1ebfc19092fe1d6c3535eb78b
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " rustdoc-types"
3
- version = " 0.24 .0"
3
+ version = " 0.25 .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 = 28 ;
11
+ pub const FORMAT_VERSION : u32 = 29 ;
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
@@ -562,6 +562,13 @@ pub enum Type {
562
562
type_ : Box < Type > ,
563
563
len : String ,
564
564
} ,
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
+ } ,
565
572
/// `impl TraitA + TraitB + ...`
566
573
ImplTrait ( Vec < GenericBound > ) ,
567
574
/// `_`
You can’t perform that action at this time.
0 commit comments