@@ -1835,13 +1835,13 @@ impl<'ra, 'tcx> Resolver<'ra, 'tcx> {
18351835        f ( self ,  MacroNS ) ; 
18361836    } 
18371837
1838-     fn  per_ns_cm < ' r ,  F :  FnMut ( & mut   CmResolver < ' r ,  ' ra ,  ' tcx > ,  Namespace ) > ( 
1838+     fn  per_ns_cm < ' r ,  F :  FnMut ( CmResolver < ' _ ,  ' ra ,  ' tcx > ,  Namespace ) > ( 
18391839        mut  self :  CmResolver < ' r ,  ' ra ,  ' tcx > , 
18401840        mut  f :  F , 
18411841    )  { 
1842-         f ( & mut   self ,  TypeNS ) ; 
1843-         f ( & mut   self ,  ValueNS ) ; 
1844-         f ( & mut   self ,  MacroNS ) ; 
1842+         f ( self . reborrow ( ) ,  TypeNS ) ; 
1843+         f ( self . reborrow ( ) ,  ValueNS ) ; 
1844+         f ( self ,  MacroNS ) ; 
18451845    } 
18461846
18471847    fn  is_builtin_macro ( & self ,  res :  Res )  -> bool  { 
@@ -1898,7 +1898,7 @@ impl<'ra, 'tcx> Resolver<'ra, 'tcx> {
18981898        } 
18991899
19001900        let  scope_set = ScopeSet :: All ( TypeNS ) ; 
1901-         self . cm ( ) . visit_scopes ( scope_set,  parent_scope,  ctxt,  None ,  |this,  scope,  _,  _| { 
1901+         self . cm ( ) . visit_scopes ( scope_set,  parent_scope,  ctxt,  None ,  |mut   this,  scope,  _,  _| { 
19021902            match  scope { 
19031903                Scope :: Module ( module,  _)  => { 
19041904                    this. get_mut ( ) . traits_in_module ( module,  assoc_item,  & mut  found_traits) ; 
0 commit comments