diff options
author | Kirill Bulatov <[email protected]> | 2020-09-04 00:25:00 +0100 |
---|---|---|
committer | Kirill Bulatov <[email protected]> | 2020-09-09 23:42:20 +0100 |
commit | 8aa740dab46f138cacdf6391d46c87d6df810161 (patch) | |
tree | 09e2067cc9480dd500fdd648123ae9076ae0d4d8 /crates/ide | |
parent | 0de71f7bc9482c9d1ef7e9d36ec5d6c5fd378781 (diff) |
Happy path implemented
Diffstat (limited to 'crates/ide')
-rw-r--r-- | crates/ide/src/completion/completion_context.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide/src/completion/completion_context.rs b/crates/ide/src/completion/completion_context.rs index cbfc77a46..b4c6eeb35 100644 --- a/crates/ide/src/completion/completion_context.rs +++ b/crates/ide/src/completion/completion_context.rs | |||
@@ -122,7 +122,7 @@ impl<'a> CompletionContext<'a> { | |||
122 | } | 122 | } |
123 | let module_definition_source_file = definition_source.file_id.original_file(db); | 123 | let module_definition_source_file = definition_source.file_id.original_file(db); |
124 | let mod_declaration_candidates = | 124 | let mod_declaration_candidates = |
125 | db.possible_sudmobules(module_definition_source_file); | 125 | db.possible_sudmobule_names(module_definition_source_file); |
126 | dbg!(mod_declaration_candidates); | 126 | dbg!(mod_declaration_candidates); |
127 | // TODO kb exlude existing children from the candidates | 127 | // TODO kb exlude existing children from the candidates |
128 | let existing_children = current_module.children(db).collect::<Vec<_>>(); | 128 | let existing_children = current_module.children(db).collect::<Vec<_>>(); |