summary refs log tree commit diff
path: root/tests/rustdoc-ui/doctest
AgeCommit message (Expand)AuthorLines
2025-05-02rustdoc: Fix doctest heuristic for main fn wrappingLeón Orell Valerian Liehr-51/+154
2025-05-02Fix bad handling of macros if there is already a `main` functionGuillaume Gomez-0/+23
2025-05-02If there is a `;` alone, we consider that the doctest needs to be put inside ...Guillaume Gomez-27/+4
2025-05-02Add regression ui test for #140162 and for #139651Guillaume Gomez-0/+28
2025-04-17Use `eprint!` instead of `eprintln!`Guillaume Gomez-0/+34
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
2024-09-23Revert "Switch back `non_local_definitions` lint to allow-by-default"Urgau-9/+3
2024-09-19rustdoc: use the correct span for doctestsMichael Howell-1/+39
2024-08-13Fix commands syntax in rustdoc-ui testsGuillaume Gomez-5/+5
2024-08-13Add more merged doctests testsGuillaume Gomez-0/+21
2024-08-13Don't special-case if there is only one merged doctestGuillaume Gomez-15/+19
2024-08-13Run mergeable doctest as part of standalone doctests if there is only oneGuillaume Gomez-10/+5
2024-08-13Disable merged doctests by defaultGuillaume Gomez-1/+0
2024-08-13Add/update `rustdoc-ui` tests to check new merged doctestsGuillaume Gomez-9/+42
2024-08-13Correctly handle doctests with invalid ASTGuillaume Gomez-0/+111
2024-08-09rustdoc: move invalid langstring test to UIMichael Howell-0/+17
2024-07-18Be more accurate about calculating `display_col` from a `BytePos`Esteban Küber-1/+1
2024-07-12Make parse error suggestions verbose and fix spansEsteban Küber-1/+6
2024-07-11Always use a colon in `//@ normalize-*:` headersZalathar-25/+25
2024-06-27Switch back `non_local_definitions` lint to allow-by-defaultUrgau-3/+9
2024-06-15Suggest standalone doctest for non-local impl defsUrgau-0/+69