aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion/complete_path.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-01-24 12:40:52 +0000
committerAleksey Kladov <[email protected]>2019-01-24 12:40:52 +0000
commit2734636c532101565b1a4c4715790d4cc910ad47 (patch)
treee928bd977376f1cbd6b14c15fbe10ade7d09d709 /crates/ra_ide_api/src/completion/complete_path.rs
parent1754dd9fdd1bf7d3d72aa2bcb25f33fd8885cd7c (diff)
update ide_api to new hir
Diffstat (limited to 'crates/ra_ide_api/src/completion/complete_path.rs')
-rw-r--r--crates/ra_ide_api/src/completion/complete_path.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/ra_ide_api/src/completion/complete_path.rs b/crates/ra_ide_api/src/completion/complete_path.rs
index 0d7942496..3aef479d9 100644
--- a/crates/ra_ide_api/src/completion/complete_path.rs
+++ b/crates/ra_ide_api/src/completion/complete_path.rs
@@ -44,6 +44,8 @@ pub(super) fn complete_path(acc: &mut Completions, ctx: &CompletionContext) {
44 } 44 }
45 _ => return, 45 _ => return,
46 }, 46 },
47
48 hir::ModuleDef::Function(_) => return,
47 }; 49 };
48} 50}
49 51