-
Notifications
You must be signed in to change notification settings - Fork 13.4k
rustdoc: Impl for boxed type doesn't show up on the type's page #92940
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
@danielhenrymantilla also reported a case involving a |
I can't find a case where the impl is added if the type is in the generics. Do you have an example maybe? |
That one's happening because of this thing. Notice that the generics on the trait count, but the generics on rust/src/librustdoc/formats/cache.rs Lines 444 to 475 in 1c8966e
We definitely need to fix this, specifically, for |
…elid rustdoc: show implementations on `#[fundamental]` wrappers Fixes rust-lang#92940
Uh oh!
There was an error while loading. Please reload this page.
You'd expect the impl for the boxed type to show up, but it doesn't. I seem to recall rustdoc displays impls anytime the type is contained in the generics, though, so it's odd that it's not happening.
Originally reported by @danielhenrymantilla (with
Pin<&mut MyType>
) on Discord.The text was updated successfully, but these errors were encountered: