diff options
Diffstat (limited to 'crates/ra_ide_api/src/completion.rs')
-rw-r--r-- | crates/ra_ide_api/src/completion.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/ra_ide_api/src/completion.rs b/crates/ra_ide_api/src/completion.rs index fbfd7e3e7..c8022f94f 100644 --- a/crates/ra_ide_api/src/completion.rs +++ b/crates/ra_ide_api/src/completion.rs | |||
@@ -4,6 +4,7 @@ mod presentation; | |||
4 | 4 | ||
5 | mod complete_dot; | 5 | mod complete_dot; |
6 | mod complete_struct_literal; | 6 | mod complete_struct_literal; |
7 | mod complete_pattern; | ||
7 | mod complete_fn_param; | 8 | mod complete_fn_param; |
8 | mod complete_keyword; | 9 | mod complete_keyword; |
9 | mod complete_snippet; | 10 | mod complete_snippet; |
@@ -65,6 +66,7 @@ pub(crate) fn completions(db: &db::RootDatabase, position: FilePosition) -> Opti | |||
65 | complete_scope::complete_scope(&mut acc, &ctx); | 66 | complete_scope::complete_scope(&mut acc, &ctx); |
66 | complete_dot::complete_dot(&mut acc, &ctx); | 67 | complete_dot::complete_dot(&mut acc, &ctx); |
67 | complete_struct_literal::complete_struct_literal(&mut acc, &ctx); | 68 | complete_struct_literal::complete_struct_literal(&mut acc, &ctx); |
69 | complete_pattern::complete_pattern(&mut acc, &ctx); | ||
68 | complete_postfix::complete_postfix(&mut acc, &ctx); | 70 | complete_postfix::complete_postfix(&mut acc, &ctx); |
69 | Some(acc) | 71 | Some(acc) |
70 | } | 72 | } |