Revert source_analyzer changes

This commit is contained in:
Kirill Bulatov 2020-02-12 17:34:17 +02:00
parent afc1d18ff3
commit f65daf23df
2 changed files with 6 additions and 55 deletions

View file

@ -696,7 +696,6 @@ impl AssocItem {
AssocItem::TypeAlias(t) => t.module(db),
}
}
pub fn container(self, db: &impl DefDatabase) -> AssocItemContainer {
let container = match self {
AssocItem::Function(it) => it.id.lookup(db).container,