@@ -121,7 +121,7 @@ crate fn try_inline(
121121 } ;
122122
123123 let target_attrs = load_attrs ( cx, did) ;
124- let attrs = merge_attrs ( cx, Some ( parent_module) , target_attrs, attrs_clone) ;
124+ let attrs = box merge_attrs ( cx, Some ( parent_module) , target_attrs, attrs_clone) ;
125125
126126 cx. renderinfo . borrow_mut ( ) . inlined . insert ( did) ;
127127 let what_rustc_thinks = clean:: Item :: from_def_id_and_parts ( did, Some ( name) , kind, cx) ;
@@ -444,7 +444,7 @@ crate fn build_impl(
444444 } ) ,
445445 cx,
446446 ) ;
447- item. attrs = merge_attrs ( cx, parent_module. into ( ) , load_attrs ( cx, did) , attrs) ;
447+ item. attrs = box merge_attrs ( cx, parent_module. into ( ) , load_attrs ( cx, did) , attrs) ;
448448 debug ! ( "merged_attrs={:?}" , item. attrs) ;
449449 ret. push ( item) ;
450450}
@@ -466,7 +466,7 @@ fn build_module(cx: &DocContext<'_>, did: DefId, visited: &mut FxHashSet<DefId>)
466466 // Primitive types can't be inlined so generate an import instead.
467467 items. push ( clean:: Item {
468468 name : None ,
469- attrs : clean:: Attributes :: default ( ) ,
469+ attrs : box clean:: Attributes :: default ( ) ,
470470 source : clean:: Span :: dummy ( ) ,
471471 def_id : DefId :: local ( CRATE_DEF_INDEX ) ,
472472 visibility : clean:: Public ,
0 commit comments