From 907d44a75113d318102ff05a66b4dcdafa1b5e7f Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 12 Sep 2018 17:13:11 +0300 Subject: any-cache --- crates/libanalysis/src/module_map_db.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'crates/libanalysis/src/module_map_db.rs') diff --git a/crates/libanalysis/src/module_map_db.rs b/crates/libanalysis/src/module_map_db.rs index 72173c7bc..4d4bd9104 100644 --- a/crates/libanalysis/src/module_map_db.rs +++ b/crates/libanalysis/src/module_map_db.rs @@ -30,10 +30,6 @@ impl Query for ParentModule { } impl Eval for ModuleDescr { - fn cacheable() -> bool { true } - fn cache(cache: &mut Cache) -> &mut QueryCache { - &mut cache.module_descr - } fn eval(ctx: &QueryCtx, file_id: &FileId) -> Arc { let file = ctx.get::(file_id); Arc::new(descr::ModuleDescr::new(file.ast())) -- cgit v1.2.3