File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ mod __doctest_mod {{
136
136
137
137
#[rustc_main]
138
138
fn main() -> std::process::ExitCode {{
139
- const TESTS: [test::TestDescAndFn; {nb_tests} ] = [{ids}];
139
+ const TESTS: & [test::TestDescAndFn] = & [{ids}];
140
140
let test_marker = std::ffi::OsStr::new(__doctest_mod::RUN_OPTION);
141
141
let test_args = &[{test_args}];
142
142
const ENV_BIN: &'static str = \" RUSTDOC_DOCTEST_BIN_PATH\" ;
@@ -160,7 +160,6 @@ eprintln!(\"WARNING: No rustdoc doctest environment variable provided so doctest
160
160
the same process\" );
161
161
std::process::Termination::report(test::test_main(test_args, Vec::from(TESTS), None))
162
162
}}" ,
163
- nb_tests = self . nb_tests,
164
163
output = self . output,
165
164
ids = self . ids,
166
165
)
You can’t perform that action at this time.
0 commit comments