mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-08 19:28:54 +00:00
b6d6277362
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. |
||
---|---|---|
.. | ||
complete_dot.rs | ||
complete_fn_param.rs | ||
complete_keyword.rs | ||
complete_macro_in_item_position.rs | ||
complete_path.rs | ||
complete_pattern.rs | ||
complete_postfix.rs | ||
complete_record_literal.rs | ||
complete_record_pattern.rs | ||
complete_scope.rs | ||
complete_snippet.rs | ||
complete_trait_impl.rs | ||
completion_context.rs | ||
completion_item.rs | ||
presentation.rs | ||
test_utils.rs |