about summary refs log tree commit diff
path: root/tests/rustdoc/intra-doc
AgeCommit message (Collapse)AuthorLines
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