align lower module query names

This commit is contained in:
Aleksey Kladov 2019-03-02 16:49:06 +03:00
parent fe5574b05a
commit 80bb7d86ec
7 changed files with 15 additions and 23 deletions

View file

@ -191,7 +191,7 @@ impl Module {
}
pub fn declarations(self, db: &impl HirDatabase) -> Vec<ModuleDef> {
let (lowered_module, _) = db.lower_module(self);
let lowered_module = db.lower_module(self);
lowered_module
.declarations
.values()