This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -438,7 +438,7 @@ fn wrapped_rustc_command(rustc_wrappers: &[PathBuf], rustc_binary: &Path) -> Com
438438/// (if multiple doctests are merged), `main` function,
439439/// and everything needed to calculate the compiler's command-line arguments.
440440/// The `# ` prefix on boring lines has also been stripped.
441- struct RunnableDocTest {
441+ pub ( crate ) struct RunnableDocTest {
442442 full_test_code : String ,
443443 full_test_line_offset : usize ,
444444 test_opts : IndividualTestOptions ,
@@ -710,12 +710,11 @@ impl IndividualTestOptions {
710710
711711/// A doctest scraped from the code, ready to be turned into a runnable test.
712712///
713- /// The pipeline goes: [`clean`] AST -> `ScrapedDoctest` -> [ `RunnableDoctest`] .
713+ /// The pipeline goes: [`clean`] AST -> `ScrapedDoctest` -> `RunnableDoctest`.
714714/// [`run_merged_tests`] converts a bunch of scraped doctests to a single runnable doctest,
715715/// while [`generate_unique_doctest`] does the standalones.
716716///
717717/// [`clean`]: crate::clean
718- /// [`RunnableDoctest`]: crate::doctest::RunnableDoctest
719718/// [`run_merged_tests`]: crate::doctest::runner::DocTestRunner::run_merged_tests
720719/// [`generate_unique_doctest`]: crate::doctest::make::DocTestBuilder::generate_unique_doctest
721720pub ( crate ) struct ScrapedDocTest {
You can’t perform that action at this time.
0 commit comments