diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-06-19 20:47:30 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-06-19 20:47:30 +0100 |
commit | 1d4388f6bd02e6dda816028f0bdac7b39225ca0b (patch) | |
tree | 518fe5b3895e021e1d35e90d6e7d71abfc36692a /crates/ra_hir_def/src/nameres/collector.rs | |
parent | 6654055308515cb330f23942f347de5605f69be1 (diff) | |
parent | 2745cb37c16600c99083cefdf5eb45a5205dd86d (diff) |
Merge #4950
4950: Use correct substs for super trait assoc types r=matklad a=flodiebold
When referring to an associated type of a super trait, we used the substs of the
subtrait. That led to the #4931 crash if the subtrait had less parameters, but
it could also lead to other incorrectness if just the order was different.
Fixes #4931.
Co-authored-by: Florian Diebold <[email protected]>
Diffstat (limited to 'crates/ra_hir_def/src/nameres/collector.rs')
0 files changed, 0 insertions, 0 deletions