Skip to content

rustdoc: Inlined impls lack associated type definitions #21348

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
tomjakubowski opened this issue Jan 18, 2015 · 0 comments
Closed

rustdoc: Inlined impls lack associated type definitions #21348

tomjakubowski opened this issue Jan 18, 2015 · 0 comments
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@tomjakubowski
Copy link
Contributor

For example:

// foo.rs
pub trait Foo {
    type Out;
}

pub struct Struct;

impl Foo for Struct {
    type Out = i32;
}
// bar.rs
pub use bar::Struct

The "trait implementations" section for bar::Struct will show impl Foo for Struct with no associated type.

@tomjakubowski tomjakubowski reopened this Jan 18, 2015
@tomjakubowski tomjakubowski changed the title rustdoc: Inlined impls lack associated type bindings rustdoc: Inlined impls lack associated type definitions Jan 18, 2015
@Aatch Aatch added the T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. label Jan 18, 2015
@bors bors closed this as completed in 159236a Jan 22, 2015
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

2 participants