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 {{
136136
137137#[rustc_main]
138138fn main() -> std::process::ExitCode {{
139- const TESTS: [test::TestDescAndFn; {nb_tests} ] = [{ids}];
139+ const TESTS: & [test::TestDescAndFn] = & [{ids}];
140140let test_marker = std::ffi::OsStr::new(__doctest_mod::RUN_OPTION);
141141let test_args = &[{test_args}];
142142const ENV_BIN: &'static str = \" RUSTDOC_DOCTEST_BIN_PATH\" ;
@@ -160,7 +160,6 @@ eprintln!(\"WARNING: No rustdoc doctest environment variable provided so doctest
160160 the same process\" );
161161std::process::Termination::report(test::test_main(test_args, Vec::from(TESTS), None))
162162}}" ,
163- nb_tests = self . nb_tests,
164163 output = self . output,
165164 ids = self . ids,
166165 )
You can’t perform that action at this time.
0 commit comments