-
Notifications
You must be signed in to change notification settings - Fork 13k
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: Impl for boxed type doesn't show up on the type's page #92940
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
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: