Remove dead code

This commit is contained in:
Aleksey Kladov 2020-03-05 11:06:02 +01:00
parent e15cef70db
commit 7b6716e50e

View File

@ -20,7 +20,7 @@
use hir_ty::{InEnvironment, InferenceResult, TraitEnvironment}; use hir_ty::{InEnvironment, InferenceResult, TraitEnvironment};
use ra_syntax::{ use ra_syntax::{
ast::{self, AstNode}, ast::{self, AstNode},
SyntaxNode, SyntaxNodePtr, TextRange, TextUnit, SyntaxNode, SyntaxNodePtr, TextUnit,
}; };
use crate::{ use crate::{
@ -53,12 +53,6 @@ pub enum PathResolution {
AssocItem(crate::AssocItem), AssocItem(crate::AssocItem),
} }
#[derive(Debug)]
pub struct ReferenceDescriptor {
pub range: TextRange,
pub name: String,
}
impl SourceAnalyzer { impl SourceAnalyzer {
pub(crate) fn new_for_body( pub(crate) fn new_for_body(
db: &impl HirDatabase, db: &impl HirDatabase,