Skip to content

Rustdoc should show associated types for an impl under "implementors" #21584

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Manishearth opened this issue Jan 24, 2015 · 1 comment
Closed
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@Manishearth
Copy link
Member

Currently rustdoc doesn't show associated types under the "implementors" portion of the trait page (eg here) (though it does show them on the page for the type). Since associated types are as important as type parameters when inspecting an impl (and debugging a type mismatch), perhaps rustdoc should show an (Output = [T]) or something similar next to each impl?

In case of a cross crate impl where the trait shares a crate with the impl, the associated type will be missing from rustdoc altogether.

@huonw huonw added the T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. label Jan 24, 2015
@frewsxcv
Copy link
Member

This is probably a duplicate of #21092

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

3 participants