@@ -1121,7 +1121,7 @@ impl Clean<Item> for hir::ImplItem<'_> {
1121
1121
hir:: ImplItemKind :: TyAlias ( ref ty) => {
1122
1122
let type_ = ty. clean ( cx) ;
1123
1123
let item_type = type_. def_id ( ) . and_then ( |did| inline:: build_ty ( cx, did) ) ;
1124
- TypedefItem ( Typedef { type_, generics : Generics :: default ( ) , item_type } , true )
1124
+ TypedefItem ( box Typedef { type_, generics : Generics :: default ( ) , item_type } , true )
1125
1125
}
1126
1126
} ;
1127
1127
Item :: from_def_id_and_parts ( local_did, Some ( self . ident . name . clean ( cx) ) , inner, cx)
@@ -1270,7 +1270,7 @@ impl Clean<Item> for ty::AssocItem {
1270
1270
let type_ = cx. tcx . type_of ( self . def_id ) . clean ( cx) ;
1271
1271
let item_type = type_. def_id ( ) . and_then ( |did| inline:: build_ty ( cx, did) ) ;
1272
1272
TypedefItem (
1273
- Typedef {
1273
+ box Typedef {
1274
1274
type_,
1275
1275
generics : Generics { params : Vec :: new ( ) , where_predicates : Vec :: new ( ) } ,
1276
1276
item_type,
@@ -1981,7 +1981,7 @@ impl Clean<Vec<Item>> for (&hir::Item<'_>, Option<Symbol>) {
1981
1981
let rustdoc_ty = ty. clean ( cx) ;
1982
1982
let item_type = rustdoc_ty. def_id ( ) . and_then ( |did| inline:: build_ty ( cx, did) ) ;
1983
1983
TypedefItem (
1984
- Typedef { type_ : rustdoc_ty, generics : generics. clean ( cx) , item_type } ,
1984
+ box Typedef { type_ : rustdoc_ty, generics : generics. clean ( cx) , item_type } ,
1985
1985
false ,
1986
1986
)
1987
1987
}
0 commit comments