summary refs log tree commit diff
path: root/src/librustdoc/doctest.rs
AgeCommit message (Expand)AuthorLines
2025-03-12doctests: build test bundle and harness separatelyMichael Howell-50/+125
2025-03-12doctests: fix merging on stableMichael Howell-1/+6
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
2024-11-10Add Unicode block-drawing compiler output supportEsteban Küber-0/+5
2024-11-02Rename target triple to target tuple in many places in the compilerNoratrieb-6/+6
2024-10-15Rollup merge of #131095 - GuillaumeGomez:switch-to-env-variables, r=notriddleMatthias Krüger-2/+1
2024-10-06Handle `librustdoc` cases of `rustc::potential_query_instability` lintismailarilik-7/+8
2024-10-03Rollup merge of #130419 - nnethercote:streamline-HirCollector, r=GuillaumeGomezMatthias Krüger-2/+0
2024-10-01Use environment variables instead of command line arguments for merged doctestsGuillaume Gomez-2/+1
2024-09-28Rename `standalone` doctest attribute into `standalone-crate`Guillaume Gomez-1/+1
2024-09-25Remove `HirCollector::map`.Nicholas Nethercote-1/+0
2024-09-25Remove `HirCollector::sess`.Nicholas Nethercote-1/+0
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-2/+2
2024-09-17Rollup merge of #129988 - arnaudgolfouse:modify-locale_resources, r=davidtwcoMatthias Krüger-1/+1
2024-09-07librustdoc::config: removed Input from OptionsEtomicBomb-3/+7
2024-09-05Use a `Vec` in `rustc_interface::Config::locale_resources`arnaudgolfouse-1/+1
2024-08-31Rollup merge of #129774 - nnethercote:rm-extern-crate-tracing-remainder, r=Gu...Matthias Krüger-0/+1
2024-08-30Remove `#[macro_use] extern crate tracing` from rustdoc.Nicholas Nethercote-0/+1
2024-08-29Fix clippy lintsGuillaume Gomez-8/+8
2024-08-13Fix intra-doc linkGuillaume Gomez-3/+2
2024-08-13Improve documentation for internal doctest APIGuillaume Gomez-0/+13
2024-08-13Move `is_multiple_tests` argument into `RunnableDocTest`Guillaume Gomez-13/+9
2024-08-13Unify naming of `DocTest`Guillaume Gomez-21/+26
2024-08-13Don't special-case if there is only one merged doctestGuillaume Gomez-28/+24
2024-08-13Improve code readabilityGuillaume Gomez-4/+9
2024-08-13Rename `DocTest` into `DocTestBuilder`Guillaume Gomez-7/+7
2024-08-13Run mergeable doctest as part of standalone doctests if there is only oneGuillaume Gomez-37/+40
2024-08-13Add documentation on `DocTest` and `RunnableDoctest` structsGuillaume Gomez-0/+1
2024-08-13Improve code by removing unneeded function argumentsGuillaume Gomez-22/+9
2024-08-13Disable merged doctests by defaultGuillaume Gomez-1/+1
2024-08-13Only show rustdoc doctest compilation output if `nocapture` is usedGuillaume Gomez-3/+5
2024-08-13Make merged doctests run in their own processGuillaume Gomez-2/+6
2024-08-13Greatly improve handling of doctests attributes, making it possible to merge ...Guillaume Gomez-7/+4
2024-08-13Simplify `has_main_fn` to be a boolean instead of a `Option<Span>`Guillaume Gomez-2/+6
2024-08-13Correctly handle doctests with invalid ASTGuillaume Gomez-4/+9
2024-08-13Correctly handle the case where there is no doctests to runGuillaume Gomez-1/+5
2024-08-13If there is any AST error with a doctest, we make it a standalone testGuillaume Gomez-0/+1
2024-08-13Prevent merged doctests to break stdin if the generated file is too bigGuillaume Gomez-14/+42
2024-08-13Add new doc codeblock `standalone` attributeGuillaume Gomez-0/+1
2024-08-13Only merge doctests starting 2024 editionGuillaume Gomez-1/+5