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 still doesn't handle renames in reexports correctly #42675

Open
kennytm opened this issue Jun 15, 2017 · 1 comment
Open

rustdoc still doesn't handle renames in reexports correctly #42675

kennytm opened this issue Jun 15, 2017 · 1 comment
Labels
C-bug Category: This is a bug. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@kennytm
Copy link
Member

kennytm commented Jun 15, 2017

Test case:

mod internal {
    pub struct BadName;
    impl BadName {
        pub fn f(&self) {}
    }
}
pub use internal::BadName as GoodName;

Running rustdoc a.rs, it produces this page:

screenshot_2017-06-15 21 11 37_38miri

Note that the impl still refers to the struct as BadName. The fix for #34473 is not enough.

Real world example:

@Enselic
Copy link
Member

Enselic commented Sep 14, 2023

Triage: Still reproduces:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. 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

3 participants