diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-12-04 17:44:37 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-04 17:44:37 +0000 |
commit | 7efab3ed032e84ae8d8acf807aeb914365a9ac50 (patch) | |
tree | 60a3fa0fdd2162092c6a97f960da677150889bda /crates/hir_ty/src/infer/pat.rs | |
parent | 6943b530235df98c1ceec27d7f80a974511d3c7e (diff) | |
parent | e5fd550dfdc7b67e22b0889983c5698439dc0bd5 (diff) |
Merge #6723
6723: Use correct, full substs for self type in impl r=flodiebold a=flodiebold
Without arbitrary self types, the self type could never refer to the method type parameters, so this wasn't a problem; but with arbitrary self types, it can.
This fixes the crash from #6668; but it doesn't make method resolution work for these methods.
Co-authored-by: Florian Diebold <[email protected]>
Diffstat (limited to 'crates/hir_ty/src/infer/pat.rs')
0 files changed, 0 insertions, 0 deletions