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-19 15:07:32 +02:00
2020-06-16 05:29:05 +00:00
2020-06-11 11:30:06 +02:00
2020-06-19 15:08:52 +00:00
2020-06-18 16:02:45 +02:00
2020-06-19 15:08:52 +00:00
2020-06-15 10:59:05 +02:00
2020-06-19 15:08:52 +00:00
2020-06-19 13:43:42 +00:00
2020-06-19 15:07:32 +02:00
2020-06-19 15:07:32 +02:00