about summary refs log tree commit diff
path: root/tests/rustdoc/intra-doc
AgeCommit message (Collapse)AuthorLines
2025-09-26Add tests for new `tyalias` intra-doc link disambiguatorGuillaume Gomez-0/+21
2025-08-05rustdoc: fix caching of intra-doc links on reexportsbinarycat-0/+35
2025-06-28Add regression test for #137857 to ensure that we generate intra doc links ↵Guillaume Gomez-0/+23
for extern crate items.
2025-06-16rustdoc: `{Meta,Pointee,}Sized` in non-minicoreDavid Wood-6/+30
Some rustdoc tests are `no_core` and need to have `MetaSized` and `PointeeSized` added to them.
2025-05-27rustdoc: linking to a local proc macro no longer warnsbinarycat-0/+13
fixes https://github.com/rust-lang/rust/issues/91274 Co-authored-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
2025-05-05Move intra-doc tests into the expected subfolderGuillaume Gomez-0/+49
2025-04-10replace `//@ compile-flags: --edition` with `//@ edition`Pietro Albini-1/+2
2025-02-04Add missing lang items in no_core tests in rustdocMichael Goulet-0/+5
2025-01-30Direct link 108459 to issues -> pull redirectMichael Howell-1/+1
2025-01-29rustdoc: rename `issue-\d+.rs` tests to have meaningful namesMichael Howell-30/+0
2025-01-29Add URL and `crate_name` to test casesMichael Howell-5/+17
2025-01-18Remove more CSS classesGuillaume Gomez-4/+4
2025-01-17Update rustdoc testsGuillaume Gomez-4/+4
2024-12-26Adjust test for slightly changed inlining behaviorMichael Howell-1/+1
2024-12-17Add regression test for #132208Guillaume Gomez-0/+24
2024-10-14Add regression tests for #130233Guillaume Gomez-0/+26
2024-09-19Add `field@` and `variant@` doc-link disambiguatorsNoa-0/+20
2024-06-24Update `tests/rustdoc` to new test syntaxGuillaume Gomez-312/+312
2024-02-22[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives许杰友 Jieyou Xu (Joe)-55/+55
2024-01-03rustdoc: rename `issue-\d+.rs` tests to have meaningful names (part 5)Michael Howell-0/+89
2023-10-31Accept less invalid Rust in rustdocOli Scherer-1/+1
2023-08-18Still resolving rustdoc resolution panickingKyle Lin-0/+4
2023-07-22fix doc links on `use` itemsLukas Markeffsky-0/+16
2023-06-01Rollup merge of #108459 - benediktwerner:rustdoc-fix-link-match, ↵Dylan DPC-1/+38
r=GuillaumeGomez rustdoc: Fix LinkReplacer link matching It currently just uses the first link with the same href which might not necessarily be the matching one. This fixes replacements when there are several links to the same item but with different text (e.g. `[X] and [struct@X]`). It also fixes replacements in summaries since those use a links list with empty hrefs, so currently all links would always match the first link by href but then not match its text. This could also lead to a panic in the `original_lext[1..len() - 1]` part when the first link only has a single character, which is why the new code uses `.get(..)` instead.
2023-05-30rustdoc: Fix LinkReplacer link matchingbenediktwerner-1/+38
2023-05-04IAT: Rustdoc integrationLeón Orell Valerian Liehr-0/+45
2023-03-30Update tests for rustc_doc_primitiveGuillaume Gomez-4/+4
2023-03-15rustdoc: remove `std::` from primitive intra-doc link tooltipsMichael Howell-0/+2
2023-02-22rustdoc: update test case with intra-doc link pointing to methodMichael Howell-4/+12
2023-02-13rustdoc: add more tooltips to intra-doc linksMichael Howell-0/+17
This commit makes intra-doc link tooltips consistent with generated links in function signatures and item tables, with the format `itemtype foo::bar::baz`. This way, you can tell if a link points at a trait or a type (for example) by mousing over it. See also fce944d4e79b3a87ddf511206724edf33acfd704
2023-01-11Move /src/test to /testsAlbert Larsan-0/+1550