Skip to content
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

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

Closed
tomjakubowski opened this issue Dec 24, 2014 · 2 comments
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@tomjakubowski
Copy link
Contributor

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.

@sfackler sfackler added the T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. label Dec 24, 2014
@jroesch
Copy link
Member

jroesch commented Dec 29, 2014

cc me, may check this out in between compiles

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

4 participants