mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
Remove dead code
This commit is contained in:
parent
e15cef70db
commit
7b6716e50e
1 changed files with 1 additions and 7 deletions
|
@ -20,7 +20,7 @@ use hir_expand::{hygiene::Hygiene, name::AsName, HirFileId, InFile};
|
|||
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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue