about summary refs log tree commit diff
path: root/src/librustdoc/doctest.rs
AgeCommit message (Expand)AuthorLines
2025-10-03Rollup merge of #147292 - Urgau:rustdoc-test-unstable_opts, r=fmeaseMatthias Krüger-0/+2
2025-10-03Respect `--error-format` in `rustdoc --test`Urgau-0/+1
2025-10-03Respect `-Z` unstable options in `rustdoc --test`Urgau-0/+1
2025-09-25Correctly display merged doctest compilation timeGuillaume Gomez-3/+7
2025-08-14Do not pass duplicated `-L` arguments to merged doctestsJakub Beránek-2/+8
2025-08-09Use new public libtest `ERROR_EXIT_CODE` constant in rustdocGuillaume Gomez-3/+1
2025-07-31Fix CI build failure when using new libtest public constantGuillaume Gomez-2/+3
2025-07-31Make `libtest::ERROR_EXIT_CODE` const public to not redefine it in rustdocGuillaume Gomez-1/+1
2025-07-30Rollup merge of #144308 - GuillaumeGomez:merged-doctest-times, r=lolbinarycatSamuel Tardieu-15/+69
2025-07-24Display total time and compilation time of merged doctestsGuillaume Gomez-15/+69
2025-07-21Use serde for target spec json deserializeNoratrieb-1/+1
2025-07-19Fix clippy lints in librustdocGuillaume Gomez-2/+2
2025-07-03setup CI and tidy to use typos for spellchecking and fix few typosklensy-1/+1
2025-06-24rustc_session: Add a structure for keeping both explicit and default sysrootsVadim Petrochenkov-3/+4
2025-06-10Improve naming of variables in `DocTestBuilder::generate_unique_doctest`Guillaume Gomez-2/+2
2025-06-10Give more information into extracted doctest informationGuillaume Gomez-2/+2
2025-05-22Allow `#![doc(test(attr(..)))]` doctests to be again merged togetherUrgau-7/+24
2025-05-22Collect and use `#![doc(test(attr(..)))]` at module level tooUrgau-13/+5
2025-05-22Auto merge of #140527 - GuillaumeGomez:doctest-main-fn, r=notriddlebors-13/+15
2025-05-09Rollup merge of #139863 - fmease:simp-doctest-build-arg-passing, r=GuillaumeG...Matthias Krüger-43/+1
2025-05-06Ensure that temporary doctest folder is correctly removed even if doctests fa...Guillaume Gomez-3/+20
2025-05-02Create a builder for DocTestBuilder typeGuillaume Gomez-11/+9
2025-05-02Emit a warning if the doctest `main` function will not be runGuillaume Gomez-4/+8
2025-04-25Rollup merge of #137096 - ehuss:stabilize-doctest-xcompile, r=fmeaseMatthias Krüger-4/+2
2025-04-15Replace flag `--doctest-compilation-args` with a simpler one: `--doctest-buil...León Orell Valerian Liehr-43/+1
2025-04-10Allow drivers to supply a list of extra symbols to internAlex Macleod-0/+1
2025-03-27Remove and stabilize --enable-per-target-ignoresEric Huss-2/+0
2025-03-27Rename `--runtool` and `--runtool-arg`Eric Huss-2/+2
2025-03-13Rollup merge of #138404 - bjorn3:sysroot_handling_cleanup, r=petrochenkov,jie...Matthias Krüger-1/+1
2025-03-12Make opts.maybe_sysroot non-optionalbjorn3-1/+1
2025-03-12Move methods from `Map` to `TyCtxt`, part 4.Nicholas Nethercote-1/+1
2025-03-10doctests: build test bundle and harness separatelyMichael Howell-50/+125
2025-03-10doctests: fix merging on stableMichael Howell-1/+6
2025-03-03Use default field values for `ErrorOutputType`Esteban Küber-1/+1
2025-02-12Correctly escape hashtags when running `invalid_rust_codeblocks` lintGuillaume Gomez-0/+1
2025-01-29Improve code and add missing docs for new `doctest::extracted` moduleGuillaume Gomez-10/+12
2025-01-29Move extracted doctest code and types into its own fileGuillaume Gomez-46/+4
2025-01-29Add new output-formatGuillaume Gomez-6/+71
2025-01-23Remove the need to manually call set_using_internal_featuresbjorn3-1/+1
2024-12-25Improve rustdoc codeGuillaume Gomez-1/+1
2024-12-20Move test into the `tests.rs` fileGuillaume Gomez-23/+0
2024-12-20Split arguments from `--doctest-compilation-args` like a shell wouldGuillaume Gomez-8/+64
2024-12-20Add `--doctest-compilation-args` option to allow passing arguments to doctest...Guillaume Gomez-0/+11
2024-12-17Auto merge of #134302 - bjorn3:remove_driver_queries, r=oli-obk,jieyouxubors-20/+20
2024-12-15Add hir::AttributeJonathan Dönszelmann-2/+2
2024-12-14Remove the parse querybjorn3-23/+20
2024-12-14Get rid of of the global_ctxt querybjorn3-17/+20
2024-12-06Remove all threading through of ErrorGuaranteed from the driverbjorn3-15/+7
2024-11-28Fix new clippy lintsGuillaume Gomez-1/+1
2024-11-11Auto merge of #126597 - estebank:unicode-output, r=fmeasebors-0/+5