aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-03-05 10:06:02 +0000
committerAleksey Kladov <[email protected]>2020-03-05 10:06:23 +0000
commit7b6716e50ed3fa99fc25dcd80df1b97fd03aef39 (patch)
tree4abcd4a5601db8607f207d7c294dcfaacf4e30da /crates/ra_hir/src
parente15cef70db98681dc82201e6054cc89283e093e0 (diff)
Remove dead code
Diffstat (limited to 'crates/ra_hir/src')
-rw-r--r--crates/ra_hir/src/source_analyzer.rs8
1 files changed, 1 insertions, 7 deletions
diff --git a/crates/ra_hir/src/source_analyzer.rs b/crates/ra_hir/src/source_analyzer.rs
index 33c566025..af2a8b57c 100644
--- a/crates/ra_hir/src/source_analyzer.rs
+++ b/crates/ra_hir/src/source_analyzer.rs
@@ -20,7 +20,7 @@ use hir_expand::{hygiene::Hygiene, name::AsName, HirFileId, InFile};
20use hir_ty::{InEnvironment, InferenceResult, TraitEnvironment}; 20use hir_ty::{InEnvironment, InferenceResult, TraitEnvironment};
21use ra_syntax::{ 21use ra_syntax::{
22 ast::{self, AstNode}, 22 ast::{self, AstNode},
23 SyntaxNode, SyntaxNodePtr, TextRange, TextUnit, 23 SyntaxNode, SyntaxNodePtr, TextUnit,
24}; 24};
25 25
26use crate::{ 26use crate::{
@@ -53,12 +53,6 @@ pub enum PathResolution {
53 AssocItem(crate::AssocItem), 53 AssocItem(crate::AssocItem),
54} 54}
55 55
56#[derive(Debug)]
57pub struct ReferenceDescriptor {
58 pub range: TextRange,
59 pub name: String,
60}
61
62impl SourceAnalyzer { 56impl SourceAnalyzer {
63 pub(crate) fn new_for_body( 57 pub(crate) fn new_for_body(
64 db: &impl HirDatabase, 58 db: &impl HirDatabase,