Move scopes to hir_def

This commit is contained in:
Aleksey Kladov 2019-11-14 11:56:13 +03:00
parent 4efd345b09
commit f924ae3b86
7 changed files with 360 additions and 368 deletions

View file

@ -13,10 +13,7 @@ use rustc_hash::FxHashSet;
use crate::{
code_model::Crate,
db::{DefDatabase, HirDatabase},
expr::{
scope::{ExprScopes, ScopeId},
PatId,
},
expr::{ExprScopes, PatId, ScopeId},
generics::GenericParams,
impl_block::ImplBlock,
Adt, Const, Enum, EnumVariant, Function, MacroDef, ModuleDef, PerNs, Static, Struct, Trait,