kill approximatelly_resolve_symbol

This commit is contained in:
Aleksey Kladov 2019-01-05 20:00:03 +03:00
parent da32463cbf
commit ee461a2111
4 changed files with 11 additions and 90 deletions

View file

@ -274,26 +274,6 @@ impl<T> RangeInfo<T> {
}
}
/// Result of "goto def" query.
#[derive(Debug)]
pub struct ReferenceResolution {
/// The range of the reference itself. Client does not know what constitutes
/// a reference, it handles us only the offset. It's helpful to tell the
/// client where the reference was.
pub reference_range: TextRange,
/// What this reference resolves to.
pub resolves_to: Vec<NavigationTarget>,
}
impl ReferenceResolution {
fn new(reference_range: TextRange) -> ReferenceResolution {
ReferenceResolution {
reference_range,
resolves_to: Vec::new(),
}
}
}
/// `AnalysisHost` stores the current state of the world.
#[derive(Debug, Default)]
pub struct AnalysisHost {