aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/path
diff options
context:
space:
mode:
authorFlorian Diebold <[email protected]>2020-03-06 17:08:10 +0000
committerFlorian Diebold <[email protected]>2020-03-06 17:14:39 +0000
commitd17c5416af3d90b4c827224d4cd73366fa5a294b (patch)
treee67ea28da54f3ff428fdfeab1689f2a334f362a8 /crates/ra_hir_def/src/path
parentce7496ec2227746cfcd2147fadf58fa71f65e35b (diff)
Resolve `Self::AssocTy` in impls
To do this we need to carry around the original resolution a bit, because `Self` gets resolved to the actual type immediately, but you're not allowed to write the equivalent type in a projection. (I tried just comparing the projection base type with the impl self type, but that seemed too dirty.) This is basically how rustc does it as well. Fixes #3249.
Diffstat (limited to 'crates/ra_hir_def/src/path')
0 files changed, 0 insertions, 0 deletions