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 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,