mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
Remove hover::type_of
This commit is contained in:
parent
e0c6e106d9
commit
5f30dd6f72
2 changed files with 24 additions and 79 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue