-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 render HRTBs #78482
Comments
Hmm, rustdoc should already handle this in rust/src/librustdoc/html/format.rs Line 334 in 6bea76f
PolyTrait , GenericParamDef . Someone would need to investigate why that isn't showing up - I suspect somewhere in clean isn't handling it properly: rust/src/librustdoc/clean/mod.rs Line 291 in 6bea76f
|
@jyn514 Can I working on this? I want to have a try. |
@hi-rustin absolutely! If you have trouble, feel free to ask for help in the rustdoc channel or on Zulip :) |
@rustbot claim |
I started to try it. |
@jyn514 Do you mean that we are missing generic_params? I tried constructing generic_params, but it still doesn't seem to work. |
@hi-rustin I don't know, that's what I mean by investigate. You could start by checking if |
@rustbot claim I already found the problem and just need to fix it now! |
I tried this code:
I expected
rustdoc
to render HRTB (for<'a>
), but it doesn't:Originally find while viewing keyberon docs.
Meta
rustdoc --version --verbose
:The text was updated successfully, but these errors were encountered: