diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-07-22 12:03:15 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-07-31 10:44:50 +0200 |
| commit | 227abb70ab2e3d10f05fe933d3c77ecbb04eb9a9 (patch) | |
| tree | de4427478c3827784d825e77bbadcc763a82be60 /src | |
| parent | 32e7a4b92b109c24e9822c862a7c74436b50e564 (diff) | |
Make `libtest::ERROR_EXIT_CODE` const public to not redefine it in rustdoc
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustdoc/doctest.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/doctest.rs b/src/librustdoc/doctest.rs index 0bef091468f..a4344c87e02 100644 --- a/src/librustdoc/doctest.rs +++ b/src/librustdoc/doctest.rs @@ -410,7 +410,7 @@ pub(crate) fn run_tests( std::mem::drop(temp_dir); times.display_times(); // libtest::ERROR_EXIT_CODE is not public but it's the same value. - std::process::exit(101); + std::process::exit(test::ERROR_EXIT_CODE); } } |
