Skip to content

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

Closed
@mitaa

Description

@mitaa
Contributor

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 {}

Activity

added a commit that references this issue on Apr 25, 2016

Rollup merge of rust-lang#33133 - mitaa:rdoc-smth-smth-impl, r=alexcr…

5fba2bf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @mitaa

      Issue actions

        rustdoc: External implementors for inlined traits are not shown · Issue #33025 · rust-lang/rust