@@ -69,7 +69,7 @@ use crate::doctree;
69
69
use crate :: error:: Error ;
70
70
use crate :: formats:: cache:: { cache, Cache } ;
71
71
use crate :: formats:: item_type:: ItemType ;
72
- use crate :: formats:: { FormatRenderer , Impl } ;
72
+ use crate :: formats:: { AssocItemRender , FormatRenderer , Impl , RenderMode } ;
73
73
use crate :: html:: escape:: Escape ;
74
74
use crate :: html:: format:: fmt_impl_for_trait_page;
75
75
use crate :: html:: format:: Function ;
@@ -608,7 +608,7 @@ impl FormatRenderer for Context {
608
608
Ok ( ( ) )
609
609
}
610
610
611
- fn mod_item_out ( & mut self , _name : & str ) -> Result < ( ) , Error > {
611
+ fn mod_item_out ( & mut self , _item_name : & str ) -> Result < ( ) , Error > {
612
612
info ! ( "Recursed; leaving {}" , self . dst. display( ) ) ;
613
613
614
614
// Go back to where we were at
@@ -3266,17 +3266,6 @@ impl<'a> AssocItemLink<'a> {
3266
3266
}
3267
3267
}
3268
3268
3269
- enum AssocItemRender < ' a > {
3270
- All ,
3271
- DerefFor { trait_ : & ' a clean:: Type , type_ : & ' a clean:: Type , deref_mut_ : bool } ,
3272
- }
3273
-
3274
- #[ derive( Copy , Clone , PartialEq ) ]
3275
- enum RenderMode {
3276
- Normal ,
3277
- ForDeref { mut_ : bool } ,
3278
- }
3279
-
3280
3269
fn render_assoc_items (
3281
3270
w : & mut Buffer ,
3282
3271
cx : & Context ,
0 commit comments