Skip to content

rustdoc should show associated types in impl documentation #21092

Closed
@SimonSapin

Description

@SimonSapin

For example, the std::ops::Index trait has an associated Output type. Of course, that type is potentially different for each impl of the trait. impl are documented at http://localhost/rust/std/ops/trait.Index.html#implementors , but there is apparently now way to know what is the Output type for a given implementation. (Other than finding the source code, which is not necessarily easy because of #15744.)

Metadata

Metadata

Assignees

Labels

T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions