remove forward pointer for type_ref

This commit is contained in:
Aleksey Kladov 2019-10-30 17:28:30 +03:00
parent e564334320
commit e5300ad3ba
14 changed files with 27 additions and 24 deletions

View file

@ -6,7 +6,10 @@ pub(crate) mod validation;
use std::{ops::Index, sync::Arc};
use hir_def::path::GenericArgs;
use hir_def::{
path::GenericArgs,
type_ref::{Mutability, TypeRef},
};
use ra_arena::{impl_arena_id, map::ArenaMap, Arena, RawId};
use ra_syntax::{ast, AstPtr};
use rustc_hash::FxHashMap;
@ -14,7 +17,6 @@ use rustc_hash::FxHashMap;
use crate::{
db::HirDatabase,
ty::primitive::{UncertainFloatTy, UncertainIntTy},
type_ref::{Mutability, TypeRef},
DefWithBody, Either, HasSource, Name, Path, Resolver, Source,
};