diff options
| author | Michael Goulet <michael@errs.io> | 2022-02-14 18:14:38 -0800 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2022-02-27 21:36:29 -0800 |
| commit | ca6e06efba2201da6be9d48f3f922fbb4e90af5f (patch) | |
| tree | d589db449ecfe4427c7dee2f447ec7942f44140d /src/rustdoc-json-types | |
| parent | 8a0c2c4e83c216811d96a4a5af9987431b75bd6f (diff) | |
| download | rust-ca6e06efba2201da6be9d48f3f922fbb4e90af5f.tar.gz rust-ca6e06efba2201da6be9d48f3f922fbb4e90af5f.zip | |
make GATs print properly in traits
Diffstat (limited to 'src/rustdoc-json-types')
| -rw-r--r-- | src/rustdoc-json-types/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rustdoc-json-types/lib.rs b/src/rustdoc-json-types/lib.rs index be9bbc7391d..dfaec6991a4 100644 --- a/src/rustdoc-json-types/lib.rs +++ b/src/rustdoc-json-types/lib.rs @@ -233,6 +233,9 @@ pub enum ItemEnum { default: Option<String>, }, AssocType { + /// generics and `where` clause + generics: Generics, + /// e.g. `: Sized` bounds: Vec<GenericBound>, /// e.g. `type X = usize;` default: Option<Type>, |
