aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Schievink <[email protected]>2020-06-30 12:25:15 +0100
committerJonas Schievink <[email protected]>2020-06-30 12:25:15 +0100
commit56fb8a401ad38e766030755a19115251e66aafd6 (patch)
treefd2374afaff885b8857237ad052eca7a135b4daa
parent0fcbc716fd56bcf4ecda5089e651be94c60efc3a (diff)
Reorder imports
-rw-r--r--crates/ra_hir_def/src/item_scope.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/ra_hir_def/src/item_scope.rs b/crates/ra_hir_def/src/item_scope.rs
index 7fc53d86d..f36477c03 100644
--- a/crates/ra_hir_def/src/item_scope.rs
+++ b/crates/ra_hir_def/src/item_scope.rs
@@ -1,6 +1,8 @@
1//! Describes items defined or visible (ie, imported) in a certain scope. 1//! Describes items defined or visible (ie, imported) in a certain scope.
2//! This is shared between modules and blocks. 2//! This is shared between modules and blocks.
3 3
4use std::collections::hash_map::Entry;
5
4use hir_expand::name::Name; 6use hir_expand::name::Name;
5use once_cell::sync::Lazy; 7use once_cell::sync::Lazy;
6use ra_db::CrateId; 8use ra_db::CrateId;
@@ -11,7 +13,6 @@ use crate::{
11 db::DefDatabase, per_ns::PerNs, visibility::Visibility, AdtId, BuiltinType, HasModule, ImplId, 13 db::DefDatabase, per_ns::PerNs, visibility::Visibility, AdtId, BuiltinType, HasModule, ImplId,
12 LocalModuleId, Lookup, MacroDefId, ModuleDefId, TraitId, 14 LocalModuleId, Lookup, MacroDefId, ModuleDefId, TraitId,
13}; 15};
14use std::collections::hash_map::Entry;
15 16
16#[derive(Copy, Clone)] 17#[derive(Copy, Clone)]
17pub(crate) enum ImportType { 18pub(crate) enum ImportType {