diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-08-12 14:50:34 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-08-12 14:50:34 +0100 |
commit | 1e8b2c498a01dc2c92d6008cdc5b611cf3a96b1e (patch) | |
tree | e1f4652227443b07f592ba156dad938e11ef2e0b /crates/hir_ty/src | |
parent | 5b8fdfe23100b88e4fd8e210ccf6b852f5c9bf2a (diff) | |
parent | 21d2cebcf1a417bce72da98aa638a20235c050db (diff) |
Merge #5637
5637: SSR: Matching trait associated constants, types and functions r=matklad a=davidlattimore
This fixes matching of things like `HashMap::default()` by resolving `HashMap` instead of `default` (which resolves to `Default::default`).
Same for associated constants and types that are part of a trait implementation.
However, we still don't support matching calls to trait methods.
Co-authored-by: David Lattimore <[email protected]>
Diffstat (limited to 'crates/hir_ty/src')
0 files changed, 0 insertions, 0 deletions