From 5f30dd6f72e239474ee425e466711c40b78972f2 Mon Sep 17 00:00:00 2001 From: Edwin Cheng Date: Fri, 28 Feb 2020 11:37:22 +0800 Subject: Remove hover::type_of --- crates/ra_ide/src/lib.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'crates/ra_ide/src/lib.rs') diff --git a/crates/ra_ide/src/lib.rs b/crates/ra_ide/src/lib.rs index d509de14e..f61028f78 100644 --- a/crates/ra_ide/src/lib.rs +++ b/crates/ra_ide/src/lib.rs @@ -455,11 +455,6 @@ impl Analysis { self.with_db(|db| diagnostics::diagnostics(db, file_id)) } - /// Computes the type of the expression at the given position. - pub fn type_of(&self, frange: FileRange) -> Cancelable> { - self.with_db(|db| hover::type_of(db, frange)) - } - /// Returns the edit required to rename reference at the position to the new /// name. pub fn rename( -- cgit v1.2.3