about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-04-03 21:18:31 +0200
committerGitHub <noreply@github.com>2025-04-03 21:18:31 +0200
commited6efe6723bbecbf39a5dc6792863b79d872eb95 (patch)
tree8e66c2dfcc380308b50641ec0669bde478b37d23
parentff8f2eff3ab7fb412c5e2785ab90b29d02681fdb (diff)
parent1d6ddd684305280621b1ea2fb1776828e828e836 (diff)
Rollup merge of #139255 - GuillaumeGomez:unused-var-merged-doctest, r=fmease
Remove unused variables generated in merged doctests

The variable is unused so no need to keep it around.

cc `@notriddle`
r? `@camelid`
-rw-r--r--src/librustdoc/doctest/runner.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/librustdoc/doctest/runner.rs b/src/librustdoc/doctest/runner.rs
index f891505d2a6..e34b8a53b07 100644
--- a/src/librustdoc/doctest/runner.rs
+++ b/src/librustdoc/doctest/runner.rs
@@ -144,7 +144,6 @@ let tests = {{
     {ids}
     tests
 }};
-let test_marker = std::ffi::OsStr::new(__doctest_mod::RUN_OPTION);
 let test_args = &[{test_args}];
 const ENV_BIN: &'static str = \"RUSTDOC_DOCTEST_BIN_PATH\";