summary refs log tree commit diff
path: root/src/librustdoc/doctest/make.rs
AgeCommit message (Expand)AuthorLines
2024-12-25Improve rustdoc codeGuillaume Gomez-1/+1
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-13Correctly handle comments in attributes in doctests source codeGuillaume Gomez-0/+2
2024-10-24Do not consider nested functions as `main` function even if named `main` in d...Guillaume Gomez-4/+11
2024-09-28Rename `standalone` doctest attribute into `standalone-crate`Guillaume Gomez-1/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-3/+3
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-1/+1
2024-08-13Run fmtGuillaume Gomez-2/+1
2024-08-13Improve code readabilityGuillaume Gomez-0/+8
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-2/+2
2024-08-13Add documentation on `DocTest` and `RunnableDoctest` structsGuillaume Gomez-0/+2
2024-08-13Correctly handle macros using `$crate` in merged doctestsGuillaume Gomez-3/+14
2024-08-13Correctly handle `internal_features` attributeGuillaume Gomez-1/+13
2024-08-13Don't merge doctests with `#[global_allocator]`Guillaume Gomez-69/+62
2024-08-13Greatly improve handling of doctests attributes, making it possible to merge ...Guillaume Gomez-43/+105
2024-08-13Simplify `has_main_fn` to be a boolean instead of a `Option<Span>`Guillaume Gomez-28/+30
2024-08-13Correctly handle doctests with invalid ASTGuillaume Gomez-3/+16
2024-08-13If there is any AST error with a doctest, we make it a standalone testGuillaume Gomez-88/+182
2024-08-13Split standalone and mergeable doctestsGuillaume Gomez-6/+13
2024-08-13Split doctests between standalone and mergeable onesGuillaume Gomez-4/+2
2024-08-13Add `DocTest` typeGuillaume Gomez-128/+165
2024-08-13Clean up rustdoc make_test function codeGuillaume Gomez-21/+21
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-1/+1
2024-06-07run fmtGuillaume Gomez-18/+16
2024-06-07Parse full doctest source; extract helper for parsing codeNoah Lev-90/+104
2024-06-07Move logic for "making" doctests to submoduleNoah Lev-0/+381