@@ -32,8 +32,8 @@ use nextest_runner::{
32
32
redact:: Redactor ,
33
33
reporter:: {
34
34
events:: { FinalRunStats , RunStatsFailureKind } ,
35
- highlight_end, structured, FinalStatusLevel , StatusLevel , TestOutputDisplay ,
36
- TestOutputErrorSlice , TestReporterBuilder ,
35
+ highlight_end, structured, FinalStatusLevel , ReporterBuilder , StatusLevel ,
36
+ TestOutputDisplay , TestOutputErrorSlice ,
37
37
} ,
38
38
reuse_build:: { archive_to_file, ArchiveReporter , PathMapper , ReuseBuildInfo } ,
39
39
runner:: { configure_handle_inheritance, TestRunnerBuilder } ,
@@ -480,7 +480,7 @@ struct RunOpts {
480
480
no_capture : bool ,
481
481
482
482
#[ clap( flatten) ]
483
- reporter_opts : TestReporterOpts ,
483
+ reporter_opts : ReporterOpts ,
484
484
485
485
#[ clap( flatten) ]
486
486
reuse_build : ReuseBuildOpts ,
@@ -942,7 +942,7 @@ enum MessageFormat {
942
942
943
943
#[ derive( Debug , Default , Args ) ]
944
944
#[ command( next_help_heading = "Reporter options" ) ]
945
- struct TestReporterOpts {
945
+ struct ReporterOpts {
946
946
/// Output stdout and stderr on failure
947
947
#[ arg(
948
948
long,
@@ -1021,9 +1021,9 @@ struct TestReporterOpts {
1021
1021
message_format_version : Option < String > ,
1022
1022
}
1023
1023
1024
- impl TestReporterOpts {
1025
- fn to_builder ( & self , no_capture : bool , should_colorize : bool ) -> TestReporterBuilder {
1026
- let mut builder = TestReporterBuilder :: default ( ) ;
1024
+ impl ReporterOpts {
1025
+ fn to_builder ( & self , no_capture : bool , should_colorize : bool ) -> ReporterBuilder {
1026
+ let mut builder = ReporterBuilder :: default ( ) ;
1027
1027
builder. set_no_capture ( no_capture) ;
1028
1028
builder. set_colorize ( should_colorize) ;
1029
1029
@@ -1720,7 +1720,7 @@ impl App {
1720
1720
& self ,
1721
1721
no_capture : bool ,
1722
1722
runner_opts : & TestRunnerOpts ,
1723
- reporter_opts : & TestReporterOpts ,
1723
+ reporter_opts : & ReporterOpts ,
1724
1724
cli_args : Vec < String > ,
1725
1725
output_writer : & mut OutputWriter ,
1726
1726
) -> Result < i32 > {
0 commit comments