Florian Diebold 2745cb37c1 Use correct substs for super trait assoc types
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.
2020-06-19 21:46:47 +02:00
..
2020-06-05 17:41:58 +02:00
2020-06-18 10:15:43 +03:00
2020-06-11 11:30:06 +02:00
2020-05-09 09:29:11 +00:00