about summary refs log tree commit diff
path: root/tests/rustdoc-ui/doctest
AgeCommit message (Expand)AuthorLines
2025-05-22Collect and use `#[doc(test(attr(..)))]` at every levelUrgau-0/+262
2025-05-22Allow `#![doc(test(attr(..)))]` doctests to be again merged togetherUrgau-3/+8
2025-05-22Collect and use `#![doc(test(attr(..)))]` at module level tooUrgau-0/+115
2025-05-22Auto merge of #140527 - GuillaumeGomez:doctest-main-fn, r=notriddlebors-0/+73
2025-05-09Rollup merge of #139863 - fmease:simp-doctest-build-arg-passing, r=GuillaumeG...Matthias Krüger-6/+5
2025-05-02Add regression test for #140310Guillaume Gomez-0/+43
2025-05-02Emit a warning if the doctest `main` function will not be runGuillaume Gomez-0/+30
2025-05-01rustdoc: Fix doctest heuristic for main fn wrappingLeón Orell Valerian Liehr-51/+154
2025-04-28Rollup merge of #140220 - GuillaumeGomez:doctest-main-wrapping, r=fmeaseGuillaume Gomez-27/+55
2025-04-27Fix bad handling of macros if there is already a `main` functionGuillaume Gomez-0/+23
2025-04-25If there is a `;` alone, we consider that the doctest needs to be put inside ...Guillaume Gomez-27/+4
2025-04-25Add rustdoc-ui regression test for #140289Guillaume Gomez-0/+72
2025-04-25Correctly display stdout and stderr in case a doctest is failingGuillaume Gomez-0/+4
2025-04-23Add regression ui test for #140162 and for #139651Guillaume Gomez-0/+28
2025-04-15Replace flag `--doctest-compilation-args` with a simpler one: `--doctest-buil...León Orell Valerian Liehr-6/+5
2025-04-14Report span of test when should_panic test failedxizheyin-1/+1
2025-04-10replace `//@ compile-flags: --edition` with `//@ edition`Pietro Albini-4/+5
2025-04-04Rollup merge of #139328 - GuillaumeGomez:fix-panic-output-137970, r=fmeaseMatthias Krüger-0/+34
2025-04-03Use `eprint!` instead of `eprintln!`Guillaume Gomez-0/+34
2025-04-03compiletest: Require `//~` annotations even if `error-pattern` is specifiedVadim Petrochenkov-1/+2
2025-03-28Rollup merge of #138104 - GuillaumeGomez:simplify-doctest-parsing, r=fmeaseMatthias Krüger-3/+32
2025-03-27Correctly handle line comments in attributes and generate extern cratesGuillaume Gomez-3/+32
2025-03-25ignore doctests only in specified targetsTakayuki Maeda-0/+20
2025-03-14Do not suggest using `-Zmacro-backtrace` for builtin macrosEsteban Küber-2/+0
2025-03-10doctests: build test bundle and harness separatelyMichael Howell-1/+71
2025-02-16Enable relative-path-include-bytes on WindowsChris Denton-3/+3
2025-02-03Enable more tests on WindowsBen Kimock-1/+1
2025-01-20Rollup merge of #135736 - fmease:rustdoc-fix-flaky-test, r=GuillaumeGomez许杰友 Jieyou Xu (Joe)-1/+2
2025-01-19rustdoc: Fix flaky doctest testLeón Orell Valerian Liehr-1/+2
2025-01-01Try to write the panic message with a single `write_all` callJohn Kåre Alsaker-0/+2
2024-12-31chore: fix some typospeicuiping-1/+1
2024-12-27Remove the `-test` suffix from normalize directivesZalathar-84/+84
2024-12-20Add test to ensure passing `--doctest_compilation_args` multiple times workGuillaume Gomez-0/+23
2024-12-20Add regression test for `--doctest-compilation-args`Guillaume Gomez-0/+18
2024-12-16Remove unneeded handling of backlines in doctest attributesGuillaume Gomez-0/+46
2024-12-16Also handle cases where attributes are unclosedGuillaume Gomez-2/+20
2024-12-16Add ui regression test for #134221Guillaume Gomez-0/+59
2024-11-28Update more 2024 tests to remove -Zunstable-optionsEric Huss-3/+3
2024-11-22Stabilize the 2024 editionEric Huss-41/+45
2024-10-30Rollup merge of #132210 - notriddle:notriddle/doctest-span-hack, r=GuillaumeG...Jubilee-12/+86
2024-10-30Ignore Windows due to its differing path syntaxMichael Howell-4/+5
2024-10-30Rollup merge of #131096 - GuillaumeGomez:rm-no_unused, r=notriddle许杰友 Jieyou Xu (Joe)-0/+88
2024-10-26rustdoc: make doctest span tweak a 2024 edition changeMichael Howell-12/+85
2024-10-24Add regression test for #131893Guillaume Gomez-0/+31
2024-10-11Remove deprecation note in the `non_local_definitions` warningUrgau-2/+0
2024-10-01Add regression tests for #130681Guillaume Gomez-0/+88
2024-09-29Rename doctest attribute `standalone-crate` into `standalone_crate` for coher...Guillaume Gomez-7/+7
2024-09-28Improve mistyped docblock attribute warning messagesGuillaume Gomez-28/+28
2024-09-28Add regression tests for mistyped `standalone-crate` attributeGuillaume Gomez-0/+64
2024-09-23Update rustdoc doctest non_local_defs impl testUrgau-11/+13