diff --git a/crates/ra_hir/src/source_analyzer.rs b/crates/ra_hir/src/source_analyzer.rs index 33c566025e9..af2a8b57cde 100644 --- a/crates/ra_hir/src/source_analyzer.rs +++ b/crates/ra_hir/src/source_analyzer.rs @@ -20,7 +20,7 @@ use hir_ty::{InEnvironment, InferenceResult, TraitEnvironment}; use ra_syntax::{ ast::{self, AstNode}, - SyntaxNode, SyntaxNodePtr, TextRange, TextUnit, + SyntaxNode, SyntaxNodePtr, TextUnit, }; use crate::{ @@ -53,12 +53,6 @@ pub enum PathResolution { AssocItem(crate::AssocItem), } -#[derive(Debug)] -pub struct ReferenceDescriptor { - pub range: TextRange, - pub name: String, -} - impl SourceAnalyzer { pub(crate) fn new_for_body( db: &impl HirDatabase,