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
…, r=notriddle
Use proper impl self type for alias impl in rustdoc
We don't want to use `type_of(type_alias)`, we want to use `type_of(impl)` -- this will give us the self type of the impl *properly substituted* in the case that it's an alias.
Fixesrust-lang#111420
I tried this code:
where
Vector
isIn the cargo doc output, this shows
impl<T: Copy> Matrix<T, N, 1>
even thoughN
no longer exists in this context, its been concretized to 3If I change the implementation to use
Matrix
instead of theVector
alias, I see what I would expect. no moreN
Project is here, with the specific impl here
Meta
rustc --version --verbose
:Backtrace
The text was updated successfully, but these errors were encountered: