Skip to content

rustdoc: Inlined impls lack associated type definitions #21348

Closed
@tomjakubowski

Description

@tomjakubowski

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.

Metadata

Metadata

Assignees

No one assigned

    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