diff options
author | Aleksey Kladov <[email protected]> | 2019-10-30 14:28:30 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-10-30 14:43:14 +0000 |
commit | e5300ad3baf80c9903235a98a12b6cfd409e9f10 (patch) | |
tree | ad15ef9afdda85d9978fa2e4fccbc890723fab08 /crates/ra_hir/src/ty/infer.rs | |
parent | e56433432057712086ca623c4a1ef40089004839 (diff) |
remove forward pointer for type_ref
Diffstat (limited to 'crates/ra_hir/src/ty/infer.rs')
-rw-r--r-- | crates/ra_hir/src/ty/infer.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/crates/ra_hir/src/ty/infer.rs b/crates/ra_hir/src/ty/infer.rs index 05c6b5aad..7466ee341 100644 --- a/crates/ra_hir/src/ty/infer.rs +++ b/crates/ra_hir/src/ty/infer.rs | |||
@@ -21,7 +21,11 @@ use std::sync::Arc; | |||
21 | use ena::unify::{InPlaceUnificationTable, NoError, UnifyKey, UnifyValue}; | 21 | use ena::unify::{InPlaceUnificationTable, NoError, UnifyKey, UnifyValue}; |
22 | use rustc_hash::FxHashMap; | 22 | use rustc_hash::FxHashMap; |
23 | 23 | ||
24 | use hir_def::{name, path::known}; | 24 | use hir_def::{ |
25 | name, | ||
26 | path::known, | ||
27 | type_ref::{Mutability, TypeRef}, | ||
28 | }; | ||
25 | use ra_arena::map::ArenaMap; | 29 | use ra_arena::map::ArenaMap; |
26 | use ra_prof::profile; | 30 | use ra_prof::profile; |
27 | use test_utils::tested_by; | 31 | use test_utils::tested_by; |
@@ -40,7 +44,6 @@ use crate::{ | |||
40 | expr::{BindingAnnotation, Body, ExprId, PatId}, | 44 | expr::{BindingAnnotation, Body, ExprId, PatId}, |
41 | resolve::{Resolver, TypeNs}, | 45 | resolve::{Resolver, TypeNs}, |
42 | ty::infer::diagnostics::InferenceDiagnostic, | 46 | ty::infer::diagnostics::InferenceDiagnostic, |
43 | type_ref::{Mutability, TypeRef}, | ||
44 | Adt, AssocItem, ConstData, DefWithBody, FnData, Function, HasBody, Path, StructField, | 47 | Adt, AssocItem, ConstData, DefWithBody, FnData, Function, HasBody, Path, StructField, |
45 | }; | 48 | }; |
46 | 49 | ||