Consider reporting an ambiguity if both modules and primitives have the same name in an intra-doc link #75381
Labels
A-intra-doc-links
Area: Intra-doc links, the ability to link to items in docs by name
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.
Originally this defaulted to the module. #75318 changed this to default to primitives since seemed to be the less confusing behavior (#58699). However I'm wondering if the real issue is that rustdoc didn't report an ambiguity like it normally would for multiple namespaces. I think it would be better to say 'both
module@char
andtype@char
are in scope, pick one.The text was updated successfully, but these errors were encountered: