Skip to content

Commit 0ec1ac5

Browse files
Use new public libtest ERROR_EXIT_CODE constant in rustdoc
1 parent 6c02dd4 commit 0ec1ac5

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)