From 9f53cec1da6ae9ed8735e28fca09837a0cef7667 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 25 Mar 2020 18:41:46 +0100 Subject: Cleanup memory usage stats --- crates/ra_hir_ty/src/db.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/ra_hir_ty/src/db.rs') diff --git a/crates/ra_hir_ty/src/db.rs b/crates/ra_hir_ty/src/db.rs index 11fc2ac3d..1462b053f 100644 --- a/crates/ra_hir_ty/src/db.rs +++ b/crates/ra_hir_ty/src/db.rs @@ -22,6 +22,7 @@ use hir_expand::name::Name; #[salsa::requires(salsa::Database)] pub trait HirDatabase: DefDatabase + Upcast { #[salsa::invoke(infer_wait)] + #[salsa::transparent] fn infer(&self, def: DefWithBodyId) -> Arc; #[salsa::invoke(crate::infer::infer_query)] -- cgit v1.2.3