Skip to content

Commit 1513dda

Browse files
committed
v0.8.0
1 parent afe8368 commit 1513dda

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

COMMIT.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
aa601574a5fe861bffd641beccf59c7be3ed16c9
1+
aefc0a223a0022a156be07b18feb45cd07e517e0

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rustdoc-types"
3-
version = "0.7.0"
3+
version = "0.8.0"
44
authors = ["Nixon Enraght-Moony <[email protected]>", "The Rust Project Developers"]
55
edition = "2018"
66
license = "MIT OR Apache-2.0"

src/lib.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use std::path::PathBuf;
99
use serde::{Deserialize, Serialize};
1010

1111
/// rustdoc format-version.
12-
pub const FORMAT_VERSION: u32 = 11;
12+
pub const FORMAT_VERSION: u32 = 12;
1313

1414
/// A `Crate` is the root of the emitted JSON blob. It contains all type/documentation information
1515
/// about the language items in the local crate, as well as info about external items to allow
@@ -145,6 +145,7 @@ pub struct Constant {
145145
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq)]
146146
pub struct TypeBinding {
147147
pub name: String,
148+
pub args: GenericArgs,
148149
pub binding: TypeBindingKind,
149150
}
150151

@@ -233,6 +234,7 @@ pub enum ItemEnum {
233234
default: Option<String>,
234235
},
235236
AssocType {
237+
generics: Generics,
236238
bounds: Vec<GenericBound>,
237239
/// e.g. `type X = usize;`
238240
default: Option<Type>,
@@ -432,6 +434,7 @@ pub enum Type {
432434
/// `<Type as Trait>::Name` or associated types like `T::Item` where `T: Iterator`
433435
QualifiedPath {
434436
name: String,
437+
args: Box<GenericArgs>,
435438
self_type: Box<Type>,
436439
#[serde(rename = "trait")]
437440
trait_: Box<Type>,

0 commit comments

Comments
 (0)