rustdoc: search links to non-existent tuple field anchors #97638
Labels
A-rustdoc-search
Area: Rustdoc's search feature
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Steps to reproduce:
0
: https://doc.rust-lang.org/nightly/std/index.html?search=0std::borrow::Cow::Borrowed::0
Expected result:
Either (a) Borrowed::0 isn't listed in the search index since it's not a named type, or (b) the hyperlink goes to
#variant.Borrowed
(which exists) instead of#variant.Borrowed.field.0
(which doesn't exist).The text was updated successfully, but these errors were encountered: