diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-03-20 07:32:19 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-03-20 07:32:19 +0000 |
commit | 1878fbe8bd60c7f9e58fda6dc7788e5f44ad0f89 (patch) | |
tree | 5dd13a24ef92a10bd686a80bbb2e59b83bf015d0 /crates/ra_ide/src/completion/completion_item.rs | |
parent | 1ba03c6995015b3143a417ed07437f0c9028a97d (diff) | |
parent | ec24c090063b3b86349f7812b716412d83dad069 (diff) |
Merge #3541
3541: Completition for type name? #3418 r=matklad a=slyngbaek
Iterate through TupleStructPat's until a MatchArm if
one exists. Store in a new is_pat_bind_and_path bool
and allow the `complete_scope` to find matches.
Added some tests to ensure it works in simple and nested cases.
Co-authored-by: Steffen Lyngbaek <[email protected]>
Diffstat (limited to 'crates/ra_ide/src/completion/completion_item.rs')
0 files changed, 0 insertions, 0 deletions