From ca6e06efba2201da6be9d48f3f922fbb4e90af5f Mon Sep 17 00:00:00 2001 From: Michael Goulet Date: Mon, 14 Feb 2022 18:14:38 -0800 Subject: make GATs print properly in traits --- src/rustdoc-json-types/lib.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/rustdoc-json-types') 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, }, AssocType { + /// generics and `where` clause + generics: Generics, + /// e.g. `: Sized` bounds: Vec, /// e.g. `type X = usize;` default: Option, -- cgit 1.4.1-3-g733a5