about summary refs log tree commit diff
path: root/src/librustdoc/doctest
AgeCommit message (Expand)AuthorLines
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
2024-10-15Rollup merge of #131095 - GuillaumeGomez:switch-to-env-variables, r=notriddleMatthias Krüger-26/+16
2024-10-06Handle `librustdoc` cases of `rustc::potential_query_instability` lintismailarilik-3/+3
2024-10-03Rollup merge of #130419 - nnethercote:streamline-HirCollector, r=GuillaumeGomezMatthias Krüger-20/+10
2024-10-01Remove usage of `allow(unused)` attribute on `no_run` doctestsGuillaume Gomez-4/+0
2024-10-01Use environment variables instead of command line arguments for merged doctestsGuillaume Gomez-26/+16
2024-09-28Rename `standalone` doctest attribute into `standalone-crate`Guillaume Gomez-1/+1
2024-09-25Remove `HirCollector::map`.Nicholas Nethercote-11/+4
2024-09-25Remove `HirCollector::sess`.Nicholas Nethercote-10/+7
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-11/+11
2024-09-19rustdoc: use the correct span for doctestsMichael Howell-11/+2
2024-09-07librustdoc::config: removed Input from OptionsEtomicBomb-6/+5
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-4/+6
2024-08-20Remove unneeded conversion to `DefId` for `ExtraInfo`Guillaume Gomez-1/+1
2024-08-17Remove useless attributes in merged doctest generated codeGuillaume Gomez-4/+0
2024-08-13Run fmtGuillaume Gomez-6/+7
2024-08-13Move `is_multiple_tests` argument into `RunnableDocTest`Guillaume Gomez-7/+3
2024-08-13Unify naming of `DocTest`Guillaume Gomez-18/+17
2024-08-13Remove need for `unsafe` code in merged doctestsGuillaume Gomez-5/+10