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 /library | |
| parent | 32e7a4b92b109c24e9822c862a7c74436b50e564 (diff) | |
| download | rust-227abb70ab2e3d10f05fe933d3c77ecbb04eb9a9.tar.gz rust-227abb70ab2e3d10f05fe933d3c77ecbb04eb9a9.zip | |
Make `libtest::ERROR_EXIT_CODE` const public to not redefine it in rustdoc
Diffstat (limited to 'library')
| -rw-r--r-- | library/test/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/test/src/lib.rs b/library/test/src/lib.rs index 7f56d1e3626..1190bb56b97 100644 --- a/library/test/src/lib.rs +++ b/library/test/src/lib.rs @@ -89,8 +89,8 @@ use options::RunStrategy; use test_result::*; use time::TestExecTime; -// Process exit code to be used to indicate test failures. -const ERROR_EXIT_CODE: i32 = 101; +/// Process exit code to be used to indicate test failures. +pub const ERROR_EXIT_CODE: i32 = 101; const SECONDARY_TEST_INVOKER_VAR: &str = "__RUST_TEST_INVOKE"; const SECONDARY_TEST_BENCH_BENCHMARKS_VAR: &str = "__RUST_TEST_BENCH_BENCHMARKS"; |
