incorrect resolutions for type dependent paths in struct expression #98711
Labels
A-associated-items
Area: Associated items (types, constants & functions)
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
stores the following resolution for
Self::Output
viafn write_resolution
:the
node_substs
forSelf::Output
are however empty. This makes the stored resolution completely useless as there isn't really a way to go fromFoo::Output
toType<T>::Output
which is what we actually need.We should probably store
<Foo as Type<T>>::Output
instead. This happens hererust/compiler/rustc_typeck/src/check/fn_ctxt/checks.rs
Lines 1592 to 1605 in 7425fb2
The text was updated successfully, but these errors were encountered: