aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_ty/src/tests/coercion.rs
diff options
context:
space:
mode:
authorSteffen Lyngbaek <[email protected]>2020-03-10 01:10:25 +0000
committerSteffen Lyngbaek <[email protected]>2020-03-19 21:12:00 +0000
commitb6d6277362366e7ddd2b355d83227041d8b6fa12 (patch)
treefd90520d229f62aa44d1cfb817c3bf49b8566956 /crates/ra_hir_ty/src/tests/coercion.rs
parent1ba03c6995015b3143a417ed07437f0c9028a97d (diff)
Completition for type name? #3418
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.
Diffstat (limited to 'crates/ra_hir_ty/src/tests/coercion.rs')
0 files changed, 0 insertions, 0 deletions