Remove hover::type_of

This commit is contained in:
Edwin Cheng 2020-02-28 11:37:22 +08:00
parent e0c6e106d9
commit 5f30dd6f72
2 changed files with 24 additions and 79 deletions

View file

@ -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<Option<String>> {
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(