summary refs log tree commit diff
path: root/src/librustdoc/doctest
AgeCommit message (Expand)AuthorLines
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
2024-08-13Improve code readabilityGuillaume Gomez-0/+9
2024-08-13If there are crate attributes, we prevent doctest to be merged with othersGuillaume Gomez-27/+4
2024-08-13Rename `DocTest` into `DocTestBuilder`Guillaume Gomez-9/+14
2024-08-13Reduce merged doctest source code sizeGuillaume Gomez-25/+7
2024-08-13Add documentation on `DocTest` and `RunnableDoctest` structsGuillaume Gomez-0/+2
2024-08-13Improve code by removing unneeded function argumentsGuillaume Gomez-2/+0
2024-08-13Correctly handle macros using `$crate` in merged doctestsGuillaume Gomez-3/+14
2024-08-13If no argument is provided to merged doctests binary, they will be run in the...Guillaume Gomez-6/+4
2024-08-13Correctly handle `internal_features` attributeGuillaume Gomez-1/+13
2024-08-13Don't change indent in merged doctestsGuillaume Gomez-1/+1
2024-08-13Make merged doctests run in their own processGuillaume Gomez-15/+81
2024-08-13Fix weird memory allocation failure in merged doctests by storing doctest lis...Guillaume Gomez-8/+8
2024-08-13Don't merge doctests with `#[global_allocator]`Guillaume Gomez-75/+70
2024-08-13Greatly improve handling of doctests attributes, making it possible to merge ...Guillaume Gomez-45/+112
2024-08-13Simplify `has_main_fn` to be a boolean instead of a `Option<Span>`Guillaume Gomez-29/+31
2024-08-13Correctly handle doctests with invalid ASTGuillaume Gomez-4/+17
2024-08-13If there is any AST error with a doctest, we make it a standalone testGuillaume Gomez-88/+182
2024-08-13Prevent merged doctests to break stdin if the generated file is too bigGuillaume Gomez-3/+8