diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-04-26 16:38:36 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-04-26 16:38:36 +0100 |
commit | 99c287148e02d2e762b4a90925763f7e36302767 (patch) | |
tree | 088b0fda66e9012959a6e26e460c2811156d3e83 /crates/ra_proc_macro_srv/src/proc_macro/diagnostic.rs | |
parent | ef67e0a497a3f0b65c11bf443e0d35c8e51bd26f (diff) | |
parent | 497073abc66df21b178c931e91969fccd8afcdc3 (diff) |
Merge #4159
4159: For associated type shorthand (T::Item), use the substs from the where clause r=matklad a=flodiebold
So e.g. if we have `fn foo<T: SomeTrait<u32>>() -> T::Item`, we want to lower that to `<T as SomeTrait<u32>>::Item` and not `<T as SomeTrait<_>>::Item`.
Co-authored-by: Florian Diebold <[email protected]>
Diffstat (limited to 'crates/ra_proc_macro_srv/src/proc_macro/diagnostic.rs')
0 files changed, 0 insertions, 0 deletions