about summary refs log tree commit diff
path: root/tests/rustdoc-ui/intra-doc/weird-syntax.stderr
AgeCommit message (Collapse)AuthorLines
2025-07-24rustdoc::broken_intra_doc_links: only be lenient with shortcut linksbinarycat-1/+9
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-24/+0
2025-07-24adjust more unit tests to reflect more aggressive intra-doc lintingbinarycat-0/+24
2025-02-15rustdoc: improve refdef handling in the unresolved link lintMichael Howell-21/+45
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.
2025-02-10Show diff suggestion format on verbose replacementEsteban Küber-14/+21
``` error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields --> $DIR/attempted-access-non-fatal.rs:7:15 | LL | let _ = 2.l; | ^ | help: if intended to be a floating point literal, consider adding a `0` after the period and a `f64` suffix | LL - let _ = 2.l; LL + let _ = 2.0f64; | ```
2024-10-04rustdoc: cleaner errors on disambiguator/namespace mismatchesMichael Howell-10/+10
2023-05-26rustdoc: get unnormalized link destination for suggestionsMichael Howell-0/+272
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