diff options
Diffstat (limited to 'crates/ra_ide/src/lib.rs')
-rw-r--r-- | crates/ra_ide/src/lib.rs | 5 |
1 files changed, 0 insertions, 5 deletions
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 { | |||
455 | self.with_db(|db| diagnostics::diagnostics(db, file_id)) | 455 | self.with_db(|db| diagnostics::diagnostics(db, file_id)) |
456 | } | 456 | } |
457 | 457 | ||
458 | /// Computes the type of the expression at the given position. | ||
459 | pub fn type_of(&self, frange: FileRange) -> Cancelable<Option<String>> { | ||
460 | self.with_db(|db| hover::type_of(db, frange)) | ||
461 | } | ||
462 | |||
463 | /// Returns the edit required to rename reference at the position to the new | 458 | /// Returns the edit required to rename reference at the position to the new |
464 | /// name. | 459 | /// name. |
465 | pub fn rename( | 460 | pub fn rename( |