update ide_api to new hir

This commit is contained in:
Aleksey Kladov 2019-01-24 15:40:52 +03:00
parent 1754dd9fdd
commit 2734636c53
5 changed files with 14 additions and 10 deletions

View file

@ -44,6 +44,8 @@ pub(super) fn complete_path(acc: &mut Completions, ctx: &CompletionContext) {
}
_ => return,
},
hir::ModuleDef::Function(_) => return,
};
}