about summary refs log tree commit diff
path: root/tests/rustdoc-ui/intra-doc/weird-syntax.rs
diff options
context:
space:
mode:
authorbinarycat <binarycat@envs.net>2024-11-07 15:33:45 -0600
committerbinarycat <binarycat@envs.net>2025-07-24 11:17:13 -0500
commit5ae2d42a8c80807c7e3ae7e8aff165fb4d8e046f (patch)
tree3e4ff5bfac0215c2ea4d450589257287c34031a5 /tests/rustdoc-ui/intra-doc/weird-syntax.rs
parentfc5af1813307d25a84d633f21e2e53c9376eb547 (diff)
downloadrust-5ae2d42a8c80807c7e3ae7e8aff165fb4d8e046f.tar.gz
rust-5ae2d42a8c80807c7e3ae7e8aff165fb4d8e046f.zip
get rid of some false negatives in rustdoc::broken_intra_doc_links
rustdoc will not try to do intra-doc linking if the "path"
of a link looks too much like a "real url".

however, only inline links ([text](url)) can actually contain
a url, other types of links (reference links, shortcut links)
contain a *reference* which is later resolved to an actual url.

the "path" in this case cannot be a url, and therefore it should
not be skipped due to looking like a url.

Co-authored-by: Michael Howell <michael@notriddle.com>
Diffstat (limited to 'tests/rustdoc-ui/intra-doc/weird-syntax.rs')
0 files changed, 0 insertions, 0 deletions