f16
creates doc-link ambiguity on stable
#135897
Labels
A-intra-doc-links
Area: Intra-doc links, the ability to link to items in docs by name
C-bug
Category: This is a bug.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
I
cargo doc
ed this code:I got:
and the link was missing in the generated documentation. Instead, because
f16
is unstable, it should have no effect and there should be no warning.Additionally, even when
f16
is stable, the link should not be considered ambiguous since primitivef16
is being shadowed. (Otherwise, currently valid code will get broken links whenf16
stabilizes.)Meta
rustc --version --verbose
:Also occurs on stable 1.84.
The text was updated successfully, but these errors were encountered: