rustdoc does not detect broken markdown due to missing links (except for links without a space) #141227
Labels
A-intra-doc-links
Area: Intra-doc links, the ability to link to items in docs by name
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
I changed
[allocated object]
to[allocation]
in docs, and strangely that triggered an error. Turns out the docs had a broken link, which you can see live at https://doc.rust-lang.org/1.87.0/std/primitive.pointer.html#method.split_at_mut_unchecked (note the "[allocated object]") -- but rustdoc somehow wouldn't complain unless the link text has no spaces? Something very strange is going on here.See #141224 for context. The error emitted after the change is below:
Possibly related: #130126
The text was updated successfully, but these errors were encountered: