aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_db
diff options
context:
space:
mode:
authorJonas Schievink <[email protected]>2020-12-16 23:26:01 +0000
committerJonas Schievink <[email protected]>2020-12-16 23:26:01 +0000
commit21b68a328ca1f8e926f0364727ed105310a573b5 (patch)
tree94159153e6f1b26bc7f1b888aeee698ab182ed98 /crates/ide_db
parent785860bd171da1a18aed78a5020732831596cd78 (diff)
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.
Diffstat (limited to 'crates/ide_db')
-rw-r--r--crates/ide_db/src/apply_change.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/ide_db/src/apply_change.rs b/crates/ide_db/src/apply_change.rs
index e2251f2b7..71c19ed13 100644
--- a/crates/ide_db/src/apply_change.rs
+++ b/crates/ide_db/src/apply_change.rs
@@ -163,7 +163,6 @@ impl RootDatabase {
163 hir::db::ExprScopesQuery 163 hir::db::ExprScopesQuery
164 hir::db::GenericParamsQuery 164 hir::db::GenericParamsQuery
165 hir::db::AttrsQuery 165 hir::db::AttrsQuery
166 hir::db::ModuleLangItemsQuery
167 hir::db::CrateLangItemsQuery 166 hir::db::CrateLangItemsQuery
168 hir::db::LangItemQuery 167 hir::db::LangItemQuery
169 hir::db::ImportMapQuery 168 hir::db::ImportMapQuery