aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/display
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-03-03 17:55:25 +0000
committerGitHub <[email protected]>2020-03-03 17:55:25 +0000
commit5abc45982b5558d4c5f8753cb531a4a0858faa0f (patch)
treec22bce8448c1b61e3c00cf8d7bb6f55d94204280 /crates/ra_ide/src/display
parent074474fe00a08d394cbdcac2a136bca825d93377 (diff)
parent53cab1cd21aa817a3588e64415a26b507ca00edd (diff)
Merge #3428
3428: Move reference classification to ra_ide_db r=matklad a=matklad Lost some marks along the way :-( bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_ide/src/display')
-rw-r--r--crates/ra_ide/src/display/navigation_target.rs8
1 files changed, 2 insertions, 6 deletions
diff --git a/crates/ra_ide/src/display/navigation_target.rs b/crates/ra_ide/src/display/navigation_target.rs
index c9c14561a..d57451cc8 100644
--- a/crates/ra_ide/src/display/navigation_target.rs
+++ b/crates/ra_ide/src/display/navigation_target.rs
@@ -3,7 +3,7 @@
3use either::Either; 3use either::Either;
4use hir::{original_range, AssocItem, FieldSource, HasSource, InFile, ModuleSource}; 4use hir::{original_range, AssocItem, FieldSource, HasSource, InFile, ModuleSource};
5use ra_db::{FileId, SourceDatabase}; 5use ra_db::{FileId, SourceDatabase};
6use ra_ide_db::RootDatabase; 6use ra_ide_db::{defs::Definition, RootDatabase};
7use ra_syntax::{ 7use ra_syntax::{
8 ast::{self, DocCommentsOwner, NameOwner}, 8 ast::{self, DocCommentsOwner, NameOwner},
9 match_ast, AstNode, SmolStr, 9 match_ast, AstNode, SmolStr,
@@ -11,11 +11,7 @@ use ra_syntax::{
11 TextRange, 11 TextRange,
12}; 12};
13 13
14use crate::{ 14use crate::FileSymbol;
15 // expand::original_range,
16 references::Definition,
17 FileSymbol,
18};
19 15
20use super::short_label::ShortLabel; 16use super::short_label::ShortLabel;
21 17