@@ -121,7 +121,7 @@ crate fn try_inline(
121
121
} ;
122
122
123
123
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) ;
125
125
126
126
cx. renderinfo . borrow_mut ( ) . inlined . insert ( did) ;
127
127
let what_rustc_thinks = clean:: Item :: from_def_id_and_parts ( did, Some ( name) , kind, cx) ;
@@ -444,7 +444,7 @@ crate fn build_impl(
444
444
} ) ,
445
445
cx,
446
446
) ;
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) ;
448
448
debug ! ( "merged_attrs={:?}" , item. attrs) ;
449
449
ret. push ( item) ;
450
450
}
@@ -466,7 +466,7 @@ fn build_module(cx: &DocContext<'_>, did: DefId, visited: &mut FxHashSet<DefId>)
466
466
// Primitive types can't be inlined so generate an import instead.
467
467
items. push ( clean:: Item {
468
468
name : None ,
469
- attrs : clean:: Attributes :: default ( ) ,
469
+ attrs : box clean:: Attributes :: default ( ) ,
470
470
source : clean:: Span :: dummy ( ) ,
471
471
def_id : DefId :: local ( CRATE_DEF_INDEX ) ,
472
472
visibility : clean:: Public ,
0 commit comments