File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -566,6 +566,13 @@ pub fn parse_opts(args: &[String]) -> Option<OptRes> {
566
566
) ) ;
567
567
}
568
568
569
+ let report_time = matches. opt_present ( "report-time" ) ;
570
+ if !allow_unstable && report_time {
571
+ return Some ( Err (
572
+ "The \" report-time\" flag is only accepted on the nightly compiler" . into ( ) ,
573
+ ) ) ;
574
+ }
575
+
569
576
let run_ignored = match ( include_ignored, matches. opt_present ( "ignored" ) ) {
570
577
( true , true ) => {
571
578
return Some ( Err (
@@ -579,7 +586,6 @@ pub fn parse_opts(args: &[String]) -> Option<OptRes> {
579
586
let quiet = matches. opt_present ( "quiet" ) ;
580
587
let exact = matches. opt_present ( "exact" ) ;
581
588
let list = matches. opt_present ( "list" ) ;
582
- let report_time = matches. opt_present ( "report-time" ) ;
583
589
584
590
let logfile = matches. opt_str ( "logfile" ) ;
585
591
let logfile = logfile. map ( |s| PathBuf :: from ( & s) ) ;
You can’t perform that action at this time.
0 commit comments