You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmmm yep. We need to either pass the trait's type all the way down (maybe as some kind of QualifyContext type) when cleaning its items, or just tidy up any eligible QPaths afterwards.
So this particular bug only happens for cross-crate inlined traits. But it's broken in a different way in core, where Self is missing from the type entirely!
(e.g., `Self::Output`)
This doesn't actually "resugar" qualified paths like `<Self as
Foo>::Output`, it just doesn't elide the prefix segments when rendering
cleaned paths like `Self::Output`.
cc rust-lang#21145
Currently, rustdoc renders the
Index
trait as:Ideally it would render as
and eventually, when the scoping rules for associated items are settled, it could skip even the
Self::
The text was updated successfully, but these errors were encountered: