@@ -69,7 +69,7 @@ use crate::doctree;
6969use crate :: error:: Error ;
7070use crate :: formats:: cache:: { cache, Cache } ;
7171use crate :: formats:: item_type:: ItemType ;
72- use crate :: formats:: { FormatRenderer , Impl } ;
72+ use crate :: formats:: { AssocItemRender , FormatRenderer , Impl , RenderMode } ;
7373use crate :: html:: escape:: Escape ;
7474use crate :: html:: format:: fmt_impl_for_trait_page;
7575use crate :: html:: format:: Function ;
@@ -608,7 +608,7 @@ impl FormatRenderer for Context {
608608 Ok ( ( ) )
609609 }
610610
611- fn mod_item_out ( & mut self , _name : & str ) -> Result < ( ) , Error > {
611+ fn mod_item_out ( & mut self , _item_name : & str ) -> Result < ( ) , Error > {
612612 info ! ( "Recursed; leaving {}" , self . dst. display( ) ) ;
613613
614614 // Go back to where we were at
@@ -3266,17 +3266,6 @@ impl<'a> AssocItemLink<'a> {
32663266 }
32673267}
32683268
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-
32803269fn render_assoc_items (
32813270 w : & mut Buffer ,
32823271 cx : & Context ,
0 commit comments