about summary refs log tree commit diff
path: root/tests/rustdoc-ui/intra-doc/weird-syntax.rs
AgeCommit message (Collapse)AuthorLines
2025-07-24rustdoc::broken_intra_doc_links: only be lenient with shortcut linksbinarycat-1/+1
collapsed links and reference links have a pretty particular syntax, it seems unlikely they would show up on accident. Co-authored-by: León Orell Valerian Liehr <me@fmease.dev>
2025-07-24rustdoc: update tests to match new lint behaviorbinarycat-1/+1
2025-07-24adjust more unit tests to reflect more aggressive intra-doc lintingbinarycat-1/+1
2025-02-15rustdoc: improve refdef handling in the unresolved link lintMichael Howell-9/+34
This commit takes advantage of a feature in pulldown-cmark that makes the list of link definitions available to the consuming application. It produces unresolved link warnings for refdefs that aren't used, and can now produce exact spans for the dest even when it has escapes.
2023-05-26rustdoc: get unnormalized link destination for suggestionsMichael Howell-0/+140
Fixes #110111 This bug, and the workaround in this commit, is closely linked to [raphlinus/pulldown-cmark#441], getting offsets of link components. In particular, pulldown-cmark doesn't provide the offsets of the contents of a link. To work around this, rustdoc parser parts of a link definition itself. [raphlinus/pulldown-cmark#441]: https://github.com/raphlinus/pulldown-cmark/issues/441