diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-03-03 17:55:25 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-03-03 17:55:25 +0000 |
commit | 5abc45982b5558d4c5f8753cb531a4a0858faa0f (patch) | |
tree | c22bce8448c1b61e3c00cf8d7bb6f55d94204280 /crates/ra_ide/src/display | |
parent | 074474fe00a08d394cbdcac2a136bca825d93377 (diff) | |
parent | 53cab1cd21aa817a3588e64415a26b507ca00edd (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.rs | 8 |
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 @@ | |||
3 | use either::Either; | 3 | use either::Either; |
4 | use hir::{original_range, AssocItem, FieldSource, HasSource, InFile, ModuleSource}; | 4 | use hir::{original_range, AssocItem, FieldSource, HasSource, InFile, ModuleSource}; |
5 | use ra_db::{FileId, SourceDatabase}; | 5 | use ra_db::{FileId, SourceDatabase}; |
6 | use ra_ide_db::RootDatabase; | 6 | use ra_ide_db::{defs::Definition, RootDatabase}; |
7 | use ra_syntax::{ | 7 | use 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 | ||
14 | use crate::{ | 14 | use crate::FileSymbol; |
15 | // expand::original_range, | ||
16 | references::Definition, | ||
17 | FileSymbol, | ||
18 | }; | ||
19 | 15 | ||
20 | use super::short_label::ShortLabel; | 16 | use super::short_label::ShortLabel; |
21 | 17 | ||