Remove module_lang_items

It isn't used anywhere except in `crate_lang_items`. Remove it to
slightly reduce memory usage and simplify the code.
This commit is contained in:
Jonas Schievink 2020-12-17 00:26:01 +01:00
parent 785860bd17
commit 21b68a328c
4 changed files with 32 additions and 57 deletions

View file

@ -163,7 +163,6 @@ impl RootDatabase {
hir::db::ExprScopesQuery
hir::db::GenericParamsQuery
hir::db::AttrsQuery
hir::db::ModuleLangItemsQuery
hir::db::CrateLangItemsQuery
hir::db::LangItemQuery
hir::db::ImportMapQuery