Skip to content
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

Not all trait implementations are documented #42440

Closed
jethrogb opened this issue Jun 5, 2017 · 1 comment
Closed

Not all trait implementations are documented #42440

jethrogb opened this issue Jun 5, 2017 · 1 comment
Labels
C-bug Category: This is a bug. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@jethrogb
Copy link
Contributor

jethrogb commented Jun 5, 2017

When implementing traits with type parameters (with your types) for types outside your crate, these aren't documented anywhere.

For example:

pub struct A;

impl From<A> for std::io::Error {
    fn from(a: A) -> Self {
        unimplemented!()
    }
}

This isn't documented in my crate, and it of course can't be documented in std, because std doesn't know about my type.

@Mark-Simulacrum Mark-Simulacrum added the T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. label Jun 23, 2017
@Mark-Simulacrum Mark-Simulacrum added the C-bug Category: This is a bug. label Jul 27, 2017
@QuietMisdreavus
Copy link
Member

Duplicate of #25264 (at least my understanding of that issue)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. 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