@@ -382,7 +382,7 @@ fn run_test(
382
382
test : & str ,
383
383
crate_name : & str ,
384
384
line : usize ,
385
- rustdoc_options : RustdocTestOptions ,
385
+ rustdoc_options : IndividualTestOptions ,
386
386
mut lang_string : LangString ,
387
387
no_run : bool ,
388
388
opts : & GlobalTestOptions ,
@@ -936,7 +936,7 @@ fn partition_source(s: &str, edition: Edition) -> (String, String, String) {
936
936
( before, after, crates)
937
937
}
938
938
939
- pub ( crate ) struct RustdocTestOptions {
939
+ pub ( crate ) struct IndividualTestOptions {
940
940
test_builder : Option < PathBuf > ,
941
941
test_builder_wrappers : Vec < PathBuf > ,
942
942
is_json_unused_externs_enabled : bool ,
@@ -952,7 +952,7 @@ pub(crate) struct RustdocTestOptions {
952
952
test_id : String ,
953
953
}
954
954
955
- impl RustdocTestOptions {
955
+ impl IndividualTestOptions {
956
956
fn new ( options : & RustdocOptions , arg_file : & Path , test_id : String ) -> Self {
957
957
let outdir = if let Some ( ref path) = options. persist_doctests {
958
958
let mut path = path. clone ( ) ;
@@ -1139,7 +1139,7 @@ impl Tester for Collector {
1139
1139
) ;
1140
1140
1141
1141
let rustdoc_test_options =
1142
- RustdocTestOptions :: new ( & self . rustdoc_options , & self . arg_file , test_id) ;
1142
+ IndividualTestOptions :: new ( & self . rustdoc_options , & self . arg_file , test_id) ;
1143
1143
1144
1144
debug ! ( "creating test {name}: {test}" ) ;
1145
1145
self . tests . push ( test:: TestDescAndFn {
0 commit comments