Skip to content

Where clause bounds in re-exported structs clauses aren't preserved by rustdoc #20203

Closed
@tomjakubowski

Description

@tomjakubowski

e.g. given:

// foo.rs
pub struct Foo<A> where A: Copy;
pub struct Foo_<A: Copy>;
// bar.rs
extern crate foo;

pub use foo::{Foo, Foo_};

rustdoc will show the bound on bar::Foo_ but not on bar::Foo.

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