Extract the import code into the shared module

This commit is contained in:
Kirill Bulatov 2020-11-24 23:25:13 +02:00
parent 0993f9067c
commit f4ae3650d8
30 changed files with 298 additions and 254 deletions

View file

@ -9,9 +9,9 @@ pub(crate) mod type_alias;
mod builder_ext;
use assists::utils::{ImportScope, MergeBehaviour};
use hir::{Documentation, HasAttrs, HirDisplay, ModPath, Mutability, ScopeDef, Type};
use ide_db::RootDatabase;
use ide_helpers::insert_use::{ImportScope, MergeBehaviour};
use syntax::TextRange;
use test_utils::mark;