Remove dead code
This commit is contained in:
parent
e15cef70db
commit
7b6716e50e
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user