File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -228,14 +228,18 @@ impl Options {
228228            for  & name in  passes:: DEFAULT_PRIVATE_PASSES  { 
229229                println ! ( "{:>20}" ,  name) ; 
230230            } 
231-             println ! ( "\n Passes run with `--show-coverage`:" ) ; 
232-             for  & name in  passes:: DEFAULT_COVERAGE_PASSES  { 
233-                 println ! ( "{:>20}" ,  name) ; 
234-             } 
235-             println ! ( "\n Passes run with `--show-coverage --document-private-items`:" ) ; 
236-             for  & name in  passes:: PRIVATE_COVERAGE_PASSES  { 
237-                 println ! ( "{:>20}" ,  name) ; 
231+ 
232+             if  nightly_options:: is_nightly_build ( )  { 
233+                 println ! ( "\n Passes run with `--show-coverage`:" ) ; 
234+                 for  & name in  passes:: DEFAULT_COVERAGE_PASSES  { 
235+                     println ! ( "{:>20}" ,  name) ; 
236+                 } 
237+                 println ! ( "\n Passes run with `--show-coverage --document-private-items`:" ) ; 
238+                 for  & name in  passes:: PRIVATE_COVERAGE_PASSES  { 
239+                     println ! ( "{:>20}" ,  name) ; 
240+                 } 
238241            } 
242+ 
239243            return  Err ( 0 ) ; 
240244        } 
241245
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments