Skip to content

Trait object inherent methods do not show in docs anymore #32881

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
bluss opened this issue Apr 11, 2016 · 2 comments · Fixed by #33133
Closed

Trait object inherent methods do not show in docs anymore #32881

bluss opened this issue Apr 11, 2016 · 2 comments · Fixed by #33133
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@bluss
Copy link
Member

bluss commented Apr 11, 2016

The docs for std::any::Any don't show the methods on the trait object type Any anymore. (They show in stable).

For example: Method downcast_ref() does not show up.

@bluss bluss added the T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. label Apr 11, 2016
@mitaa
Copy link
Contributor

mitaa commented Apr 11, 2016

The methods are shown for core::any::Any.

@bluss
Copy link
Member Author

bluss commented Apr 11, 2016

Aha, another doc inclusion bug

Manishearth added a commit to Manishearth/rust that referenced this issue Apr 25, 2016
…ichton

rustdoc: inline all the impls

This used to be done to avoid inlining impls referencing private items, but is now unnecessary since we actually check that impls do not reference non-doc-reachable items.

fixes rust-lang#32881
fixes rust-lang#33025
fixes rust-lang#33113

r? @alexcrichton
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

Successfully merging a pull request may close this issue.

2 participants