File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -347,6 +347,7 @@ impl Clean<Item> for hir::Crate<'_> {
347
347
348
348
// Get _all_ the items!
349
349
let items = self . items . clean ( cx) . into_iter ( ) . flatten ( ) ;
350
+ let items = items. chain ( self . item . module . item_ids . clean ( cx) . into_iter ( ) . flatten ( ) ) ;
350
351
let items = items. chain ( self . exported_macros . clean ( cx) ) ;
351
352
let items = items. chain ( self . trait_items . clean ( cx) ) ;
352
353
let items = items. chain ( self . impl_items . clean ( cx) ) ;
@@ -360,7 +361,6 @@ impl Clean<Item> for hir::Crate<'_> {
360
361
} )
361
362
. flatten ( ) ,
362
363
) ;
363
- let items = items. chain ( self . modules . clean ( cx) . into_iter ( ) . flatten ( ) ) ;
364
364
let items = items. chain ( self . proc_macros . iter ( ) . map ( |hir_id| {
365
365
let _def_id = hir_id. owner . local_def_index ;
366
366
// TODO: look how `rustc_metadata::rmeta::encoder` does this
@@ -418,12 +418,6 @@ impl Clean<Vec<Item>> for hir::ItemId {
418
418
}
419
419
}
420
420
421
- impl Clean < Vec < Item > > for hir:: ModuleItems {
422
- fn clean ( & self , _cx : & DocContext < ' _ > ) -> Vec < Item > {
423
- unimplemented ! ( )
424
- }
425
- }
426
-
427
421
impl Clean < Attributes > for [ ast:: Attribute ] {
428
422
fn clean ( & self , cx : & DocContext < ' _ > ) -> Attributes {
429
423
Attributes :: from_ast ( cx. sess ( ) . diagnostic ( ) , self , None )
You can’t perform that action at this time.
0 commit comments