File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1- 2a6022949077176bfff9f72282dc52e51a175cb7
1+ 43f4ef5c6a059c32e19483ff3d295feb2f37c5b8
Original file line number Diff line number Diff line change 11[package ]
22name = " rustdoc-types"
3- version = " 0.4 .0"
3+ version = " 0.5 .0"
44authors = [" Nixon Enraght-Moony <nixon.emoony@gmail.com>" , " The Rust Project Developers" ]
55edition = " 2018"
66license = " MIT OR Apache-2.0"
Original file line number Diff line number Diff line change @@ -221,6 +221,8 @@ pub enum ItemEnum {
221221 Macro ( String ) ,
222222 ProcMacro ( ProcMacro ) ,
223223
224+ PrimitiveType ( String ) ,
225+
224226 AssocConst {
225227 #[ serde( rename = "type" ) ]
226228 type_ : Type ,
@@ -386,8 +388,6 @@ pub enum Type {
386388 } ,
387389 /// `impl TraitA + TraitB + ...`
388390 ImplTrait ( Vec < GenericBound > ) ,
389- /// `!`
390- Never ,
391391 /// `_`
392392 Infer ,
393393 /// `*mut u32`, `*u8`, etc.
@@ -510,5 +510,8 @@ pub struct Static {
510510 pub expr : String ,
511511}
512512
513+ /// rustdoc format-version.
514+ pub const FORMAT_VERSION : u32 = 9 ;
515+
513516#[ cfg( test) ]
514517mod tests;
You can’t perform that action at this time.
0 commit comments