diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-01-27 21:58:35 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-01-27 21:58:35 +0000 |
commit | 5dd8f8e26f2a62f5e7e4da50dcdfde344f6d31b9 (patch) | |
tree | 48fcdfed65f6d24ee3616710d7eec181b5780b63 /crates/ra_hir_def/src/keys.rs | |
parent | 5cfaf87627fcd9d22b74da7efd485223da225893 (diff) | |
parent | fbc3ffcee6eec3d89e27417b3d3543327d810299 (diff) |
Merge #2810
2810: Improves reference search by StructLiteral r=mikhail-m1 a=mikhail-m1
Hey, I've made some changes to improve search for struct literals, now it works for `struct Foo<|> {`, `struct Foo <|>{`, `struct Foo<|>(`. Unfortunately tuple creation is represented as a call expression, so for tuples it works only is search is started in a tuple declaration. It leads to incorrect classification of function calls during search phase, but from user perspective it's not visible and works as expected. May be it worth to add a comment or rename it to remove this misleading classification. Issue #2549.
Co-authored-by: Mikhail Modin <[email protected]>
Diffstat (limited to 'crates/ra_hir_def/src/keys.rs')
0 files changed, 0 insertions, 0 deletions