File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2020,9 +2020,9 @@ fn on_stderr_line_inner(
20202020        // source for "EXPORTED_PRIVATE_DEPENDENCIES". 
20212021        static  PRIV_DEP_REGEX :  LazyLock < Regex >  =
20222022            LazyLock :: new ( || Regex :: new ( "from private dependency '([A-Za-z0-9-_]+)'" ) . unwrap ( ) ) ; 
2023-         if  let  Some ( crate_name)  = PRIV_DEP_REGEX . captures ( diag) . and_then ( |m| m. get ( 1 ) )   { 
2024-             let  crate_name  = crate_name. as_str ( ) ; 
2025-              if   let   Some ( span )  = manifest . find_crate_span ( crate_name )   { 
2023+         if  let  Some ( crate_name)  = PRIV_DEP_REGEX . captures ( diag) . and_then ( |m| m. get ( 1 ) ) 
2024+             &&  let  Some ( span )  = manifest . find_crate_span ( crate_name. as_str ( ) ) 
2025+         { 
20262026                let  rel_path = pathdiff:: diff_paths ( & manifest. path ,  & manifest. cwd ) 
20272027                    . unwrap_or_else ( || manifest. path . clone ( ) ) 
20282028                    . display ( ) 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments