Skip to content

Commit 2be418f

Browse files
f
1 parent d53eb91 commit 2be418f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/librustdoc/doctest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,7 @@ fn doctest_run_fn(
11461146
eprint!("Test compiled successfully, but it's marked `compile_fail`.");
11471147
}
11481148
TestFailure::UnexpectedRunPass => {
1149-
eprint!("Test didn't panic, but it's marked `should_panic`.");
1149+
eprint!("1> Test didn't panic, but it's marked `should_panic`.");
11501150
}
11511151
TestFailure::MissingErrorCodes(codes) => {
11521152
eprint!("Some expected error codes were not found: {codes:?}");

src/librustdoc/doctest/runner.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ mod __doctest_mod {{
147147
.expect(\"failed to run command\");
148148
if should_panic {{
149149
if out.status.code() != Some(test::ERROR_EXIT_CODE) {{
150-
eprintln!(\"Test didn't panic, but it's marked `should_panic`.\");
150+
eprintln!(\"2> Test didn't panic, but it's marked `should_panic`.\");
151151
ExitCode::FAILURE
152152
}} else {{
153153
ExitCode::SUCCESS

0 commit comments

Comments
 (0)