about summary refs log tree commit diff
path: root/src/librustdoc/doctest
AgeCommit message (Expand)AuthorLines
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-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
2025-03-10Rollup merge of #138281 - saethlin:mergeable-doctests-stacksize, r=GuillaumeG...Matthias Krüger-9/+10
2025-03-10rustdoc: Gate unstable `doc(cfg())` predicatesclubby789-1/+1
2025-03-10Fix O(tests) stack usage in edition 2024 mergeable doctestsBen Kimock-9/+10
2025-03-10doctests: build test bundle and harness separatelyMichael Howell-12/+25
2025-03-07Rollup merge of #138107 - yotamofek:pr/rustdoc/clippy, r=GuillaumeGomezMatthias Krüger-2/+2
2025-03-06`x clippy src/librustdoc --fix`Yotam Ofek-2/+2
2025-03-06`librustdoc`: flatten nested ifsYotam Ofek-3/+2
2025-02-28Fully qualify `Result` in generated doctest codeGuillaume Gomez-2/+2
2025-02-24Fix rustdoc and clippyJana Dönszelmann-1/+1
2025-02-18Rollup merge of #136599 - yotamofek:pr/rustdoc-more-joined, r=GuillaumeGomezMatthias Krüger-6/+10
2025-02-18Move methods from `Map` to `TyCtxt`, part 2.Nicholas Nethercote-1/+1
2025-02-17librustdoc: more usages of `Joined::joined`Yotam Ofek-6/+10
2025-02-17Overhaul the `intravisit::Map` trait.Nicholas Nethercote-3/+3
2025-02-03tree-wide: parallel: Fully removed all `Lrc`, replaced with `Arc`Askar Safin-5/+5
2025-01-29Improve code and add missing docs for new `doctest::extracted` moduleGuillaume Gomez-1/+10
2025-01-29Move extracted doctest code and types into its own fileGuillaume Gomez-0/+132
2025-01-13rustdoc: Eliminate `AttributesExt`Noah Lev-1/+3
2025-01-12rustdoc: Extract `AttributesExt::cfg` trait method as functionNoah Lev-3/+2
2024-12-25Improve rustdoc codeGuillaume Gomez-1/+1
2024-12-20Move test into the `tests.rs` fileGuillaume Gomez-0/+22
2024-12-16Rollup merge of #134260 - GuillaumeGomez:doctest-attrs, r=notriddleMatthias Krüger-18/+42
2024-12-16Remove unneeded handling of backlines in doctest attributesGuillaume Gomez-2/+0
2024-12-16Also handle cases where attributes are unclosedGuillaume Gomez-16/+40
2024-12-15Add hir::AttributeJonathan Dönszelmann-1/+1
2024-12-13Correctly handle comments in attributes in doctests source codeGuillaume Gomez-0/+2
2024-11-28Fix new clippy lintsGuillaume Gomez-1/+1
2024-10-30Rollup merge of #132210 - notriddle:notriddle/doctest-span-hack, r=GuillaumeG...Jubilee-1/+13
2024-10-30Rollup merge of #131096 - GuillaumeGomez:rm-no_unused, r=notriddle许杰友 Jieyou Xu (Joe)-4/+0
2024-10-26rustdoc: make doctest span tweak a 2024 edition changeMichael Howell-1/+13
2024-10-24Do not consider nested functions as `main` function even if named `main` in d...Guillaume Gomez-4/+11