Move Namespace enum closer to usage

This commit is contained in:
Aleksey Kladov 2019-11-04 23:02:35 +03:00
parent 50364bd478
commit 739babc391
9 changed files with 29 additions and 26 deletions

View file

@ -30,8 +30,8 @@ use crate::{
impl_block::ImplBlock,
resolve::{Resolver, Scope, TypeNs},
traits::TraitData,
ty::{InferenceResult, TraitRef},
Either, HasSource, Name, ScopeDef, Ty, {ImportId, Namespace},
ty::{InferenceResult, Namespace, TraitRef},
Either, HasSource, ImportId, Name, ScopeDef, Ty,
};
/// hir::Crate describes a single crate. It's the main interface with which