mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-14 06:03:58 +00:00
Reorder imports
This commit is contained in:
parent
0fcbc716fd
commit
56fb8a401a
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
||||||
//! Describes items defined or visible (ie, imported) in a certain scope.
|
//! Describes items defined or visible (ie, imported) in a certain scope.
|
||||||
//! This is shared between modules and blocks.
|
//! This is shared between modules and blocks.
|
||||||
|
|
||||||
|
use std::collections::hash_map::Entry;
|
||||||
|
|
||||||
use hir_expand::name::Name;
|
use hir_expand::name::Name;
|
||||||
use once_cell::sync::Lazy;
|
use once_cell::sync::Lazy;
|
||||||
use ra_db::CrateId;
|
use ra_db::CrateId;
|
||||||
|
@ -11,7 +13,6 @@ use crate::{
|
||||||
db::DefDatabase, per_ns::PerNs, visibility::Visibility, AdtId, BuiltinType, HasModule, ImplId,
|
db::DefDatabase, per_ns::PerNs, visibility::Visibility, AdtId, BuiltinType, HasModule, ImplId,
|
||||||
LocalModuleId, Lookup, MacroDefId, ModuleDefId, TraitId,
|
LocalModuleId, Lookup, MacroDefId, ModuleDefId, TraitId,
|
||||||
};
|
};
|
||||||
use std::collections::hash_map::Entry;
|
|
||||||
|
|
||||||
#[derive(Copy, Clone)]
|
#[derive(Copy, Clone)]
|
||||||
pub(crate) enum ImportType {
|
pub(crate) enum ImportType {
|
||||||
|
|
Loading…
Reference in a new issue