We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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:
rustdoc a.rs
Note that the impl still refers to the struct as BadName. The fix for #34473 is not enough.
impl
BadName
Real world example:
Handlebars
impl Registry
new()
Registry
&'reg
struct.Handlebars.html
The text was updated successfully, but these errors were encountered:
Triage: Still reproduces:
Sorry, something went wrong.
No branches or pull requests
Test case:
Running
rustdoc a.rs
, it produces this page:Note that the
impl
still refers to the struct asBadName
. The fix for #34473 is not enough.Real world example:
Handlebars
but the content saysimpl Registry
. The methodnew()
also returnsRegistry
.&'reg
refers toRegistry
, although it correctly links tostruct.Handlebars.html
.The text was updated successfully, but these errors were encountered: