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

rustdoc doesn't handle renames in reexports correctly #34473

Closed
Boddlnagg opened this issue Jun 25, 2016 · 0 comments
Closed

rustdoc doesn't handle renames in reexports correctly #34473

Boddlnagg opened this issue Jun 25, 2016 · 0 comments
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@Boddlnagg
Copy link
Contributor

Running rustdoc on the following code results in a documentation that mentions SomeTypeWithLongName instead of SomeType.

mod second {
    pub struct SomeTypeWithLongName;
}

pub use second::{SomeTypeWithLongName as SomeType};

I tested this on current nightly (rustc 1.11.0-nightly (ad7fe6521 2016-06-23)) and 1.9.0 stable.

(I've seen that there are a couple of issues with reexports in rustdoc already reported, but I haven't found this one.)

steveklabnik added a commit to steveklabnik/rust that referenced this issue Jun 27, 2016
…st, r=GuillaumeGomez

rustdoc: Fix inlined renamed reexports in import lists

Fixes rust-lang#34473
steveklabnik added a commit to steveklabnik/rust that referenced this issue Jun 27, 2016
…st, r=GuillaumeGomez

rustdoc: Fix inlined renamed reexports in import lists

Fixes rust-lang#34473
@brson brson added T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. I-wrong labels Jun 27, 2016
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this issue Jun 28, 2016
…st, r=GuillaumeGomez

rustdoc: Fix inlined renamed reexports in import lists

Fixes rust-lang#34473
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

2 participants