Skip to content

rustdoc: External implementors for inlined traits are not shown #33025

Closed
@mitaa

Description

@mitaa

When re-exporting a external trait, the implementors section of that (inlined) trait does not show external implementors of it (unless they too have been inlined).
Re-exported external types on the other hand do show external trait implementations.

// foo.rs
extern crate bar;

pub use bar::Bar;
// bar.rs
pub trait Bar {}
pub struct Baz;

// this impl does not show up in `foo::Bar`s implementors section
impl Bar for Baz {}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions