From 271017e6bf5b5f46464d09db7fc869c92998fc80 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 6 Feb 2020 16:23:28 +0100 Subject: Move NameKind up --- crates/ra_ide/src/imports_locator.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'crates/ra_ide/src/imports_locator.rs') diff --git a/crates/ra_ide/src/imports_locator.rs b/crates/ra_ide/src/imports_locator.rs index 23bf43b07..0dca0c86c 100644 --- a/crates/ra_ide/src/imports_locator.rs +++ b/crates/ra_ide/src/imports_locator.rs @@ -4,16 +4,14 @@ use hir::{db::HirDatabase, ModuleDef, SourceBinder}; use ra_assists::ImportsLocator; use ra_ide_db::{ + defs::NameKind, symbol_index::{self, FileSymbol}, RootDatabase, }; use ra_prof::profile; use ra_syntax::{ast, AstNode, SyntaxKind::NAME}; -use crate::{ - references::{classify_name, NameKind}, - Query, -}; +use crate::{references::classify_name, Query}; pub(crate) struct ImportsLocatorIde<'a> { source_binder: SourceBinder<'a, RootDatabase>, -- cgit v1.2.3