Doc alias not allowed on associated constants and types in trait implementation block #80604
Labels
A-associated-items
Area: Associated items (types, constants & functions)
A-doc-alias
Area: `#[doc(alias)]`
A-trait-system
Area: Trait system
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
I tried this code:
Similarly, I tried:
I expected to see this happen: the code to compile and searching
kValue
orValueType
in the docs to produceStruct::VALUE
orStruct::Value
respectively.Instead, this happened: These failed to compile with the following errors:
This is very surprising because:
#[doc(alias)]
works onfn
trait members in impl blocks.Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: