File tree Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -342,11 +342,6 @@ impl Definitions {
342342        self . def_id_to_hir_id [ id] . unwrap ( ) 
343343    } 
344344
345-     #[ inline]  
346-     pub  fn  opt_local_def_id_to_hir_id ( & self ,  id :  LocalDefId )  -> Option < hir:: HirId >  { 
347-         self . def_id_to_hir_id [ id] 
348-     } 
349- 
350345    #[ inline]  
351346    pub  fn  opt_hir_id_to_local_def_id ( & self ,  hir_id :  hir:: HirId )  -> Option < LocalDefId >  { 
352347        self . hir_id_to_def_id . get ( & hir_id) . copied ( ) 
Original file line number Diff line number Diff line change @@ -180,11 +180,6 @@ impl<'hir> Map<'hir> {
180180        self . tcx . definitions . local_def_id_to_hir_id ( def_id) 
181181    } 
182182
183-     #[ inline]  
184-     pub  fn  opt_local_def_id_to_hir_id ( & self ,  def_id :  LocalDefId )  -> Option < HirId >  { 
185-         self . tcx . definitions . opt_local_def_id_to_hir_id ( def_id) 
186-     } 
187- 
188183    pub  fn  iter_local_def_id ( & self )  -> impl  Iterator < Item  = LocalDefId >  + ' _  { 
189184        self . tcx . definitions . iter_local_def_id ( ) 
190185    } 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments