diff options
author | Florian Diebold <[email protected]> | 2020-06-19 15:29:38 +0100 |
---|---|---|
committer | Florian Diebold <[email protected]> | 2020-06-19 20:46:47 +0100 |
commit | 2745cb37c16600c99083cefdf5eb45a5205dd86d (patch) | |
tree | 518fe5b3895e021e1d35e90d6e7d71abfc36692a /crates/ra_proc_macro_srv/src/proc_macro/diagnostic.rs | |
parent | 6654055308515cb330f23942f347de5605f69be1 (diff) |
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.
Diffstat (limited to 'crates/ra_proc_macro_srv/src/proc_macro/diagnostic.rs')
0 files changed, 0 insertions, 0 deletions