about summary refs log tree commit diff
path: root/src/librustdoc/doctest
AgeCommit message (Expand)AuthorLines
2025-09-27fmtGuillaume Gomez-5/+3
2025-09-27Implement RFC 3631Guillaume Gomez-5/+6
2025-09-09Strip frontmatter in fewer placesLeón Orell Valerian Liehr-8/+11
2025-07-24Display total time and compilation time of merged doctestsGuillaume Gomez-3/+8
2025-07-19Fix clippy lints in librustdocGuillaume Gomez-1/+1
2025-07-03setup CI and tidy to use typos for spellchecking and fix few typosklensy-1/+1
2025-06-19Extract Translator structCameron Steffen-6/+3
2025-06-11Update extracted-doctest feature documentationGuillaume Gomez-0/+1
2025-06-10Add more tests to check extracted doctests featureGuillaume Gomez-3/+55
2025-06-10Improve naming of variables in `DocTestBuilder::generate_unique_doctest`Guillaume Gomez-7/+38
2025-06-10Give more information into extracted doctest informationGuillaume Gomez-46/+130
2025-05-22Collect and use `#[doc(test(attr(..)))]` at every levelUrgau-34/+23
2025-05-22Collect and use `#![doc(test(attr(..)))]` at module level tooUrgau-38/+109
2025-05-22Auto merge of #140527 - GuillaumeGomez:doctest-main-fn, r=notriddlebors-59/+160
2025-05-09Rollup merge of #139863 - fmease:simp-doctest-build-arg-passing, r=GuillaumeG...Matthias Krüger-22/+0
2025-05-06Ensure that temporary doctest folder is correctly removed even if doctests fa...Guillaume Gomez-0/+1
2025-05-02Create a builder for DocTestBuilder typeGuillaume Gomez-57/+108
2025-05-02Emit a warning if the doctest `main` function will not be runGuillaume Gomez-11/+61
2025-05-01rustdoc: Fix doctest heuristic for main fn wrappingLeón Orell Valerian Liehr-37/+28
2025-04-28Rollup merge of #140220 - GuillaumeGomez:doctest-main-wrapping, r=fmeaseGuillaume Gomez-5/+22
2025-04-27Auto merge of #140291 - GuillaumeGomez:doctest-2024-stdout, r=notriddlebors-1/+16
2025-04-27Fix bad handling of macros if there is already a `main` functionGuillaume Gomez-1/+4
2025-04-25If there is a `;` alone, we consider that the doctest needs to be put inside ...Guillaume Gomez-2/+0
2025-04-25Improve codeGuillaume Gomez-4/+7
2025-04-25Correctly display stdout and stderr in case a doctest is failingGuillaume Gomez-1/+16
2025-04-25Rollup merge of #137096 - ehuss:stabilize-doctest-xcompile, r=fmeaseMatthias Krüger-11/+3
2025-04-23Fix detection of `main` function if there are expressions around itGuillaume Gomez-4/+17
2025-04-17Replace infallible `name_or_empty` methods with fallible `name` methods.Nicholas Nethercote-9/+5
2025-04-15Replace flag `--doctest-compilation-args` with a simpler one: `--doctest-buil...León Orell Valerian Liehr-22/+0
2025-04-04Rollup merge of #139328 - GuillaumeGomez:fix-panic-output-137970, r=fmeaseMatthias Krüger-3/+5
2025-04-03Rollup merge of #139255 - GuillaumeGomez:unused-var-merged-doctest, r=fmeaseMatthias Krüger-1/+0
2025-04-03Use `eprint!` instead of `eprintln!`Guillaume Gomez-1/+1
2025-04-03Fix 2024 edition doctest panic outputGuillaume Gomez-3/+5
2025-04-02Remove unused variables generated in merged doctestsGuillaume Gomez-1/+0
2025-04-02Move methods from `Map` to `TyCtxt`, part 5.Nicholas Nethercote-1/+1
2025-04-01Move `ast::Item::ident` into `ast::ItemKind`.Nicholas Nethercote-4/+4
2025-03-27Remove and stabilize --enable-per-target-ignoresEric Huss-11/+3
2025-03-27Only take outer attributes into account when generating content between first...Guillaume Gomez-120/+19
2025-03-27Remove recursion in `check_item`Guillaume Gomez-16/+4
2025-03-27Add new regression test for doctestGuillaume Gomez-0/+131
2025-03-27Improve codeGuillaume Gomez-34/+29
2025-03-27Add `expect` to the list of non-crate attributes for doctest generationGuillaume Gomez-1/+1
2025-03-27Improve code commentGuillaume Gomez-2/+2
2025-03-27Improve comment and test for generated doctest with code commentsGuillaume Gomez-3/+26
2025-03-27Correctly handle line comments in attributes and generate extern cratesGuillaume Gomez-18/+62
2025-03-27Correctly handle `fn main` in macroGuillaume Gomez-18/+35
2025-03-27Greatly simplify doctest parsing and information extractionGuillaume Gomez-323/+136
2025-03-23Rollup merge of #138293 - clubby789:doc-cfg-gate, r=GuillaumeGomezMichael Goulet-1/+1
2025-03-18Move `hir::Item::ident` into `hir::ItemKind`.Nicholas Nethercote-17/+33
2025-03-12Move methods from `Map` to `TyCtxt`, part 4.Nicholas Nethercote-1/+1