Skip to content

Commit a10e87c

Browse files
authored
Rollup merge of rust-lang#144739 - GuillaumeGomez:rustdoc-test-cleanup, r=fmease
Use new public libtest `ERROR_EXIT_CODE` constant in rustdoc Followup of rust-lang#144297.
2 parents bef70d5 + 339be84 commit a10e87c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/librustdoc/doctest.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -409,9 +409,7 @@ pub(crate) fn run_tests(
409409
// We ensure temp dir destructor is called.
410410
std::mem::drop(temp_dir);
411411
times.display_times();
412-
// FIXME(GuillaumeGomez): Uncomment the next line once #144297 has been merged.
413-
// std::process::exit(test::ERROR_EXIT_CODE);
414-
std::process::exit(101);
412+
std::process::exit(test::ERROR_EXIT_CODE);
415413
}
416414
}
417415

0 commit comments

Comments
 (0)