aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/ty/infer/expr.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-10-30 14:19:30 +0000
committerAleksey Kladov <[email protected]>2019-10-30 14:43:14 +0000
commitf8ddef875af08f6c67fe69f7803f3926bc6f66bb (patch)
treeed4704070c4e5bb9db7225b1f5af753b83864661 /crates/ra_hir/src/ty/infer/expr.rs
parent16e620c052016010b2f17070a98bdc1e7e849ab3 (diff)
remove forward pointer for name
Diffstat (limited to 'crates/ra_hir/src/ty/infer/expr.rs')
-rw-r--r--crates/ra_hir/src/ty/infer/expr.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/ra_hir/src/ty/infer/expr.rs b/crates/ra_hir/src/ty/infer/expr.rs
index f8807c742..7ef87bfe2 100644
--- a/crates/ra_hir/src/ty/infer/expr.rs
+++ b/crates/ra_hir/src/ty/infer/expr.rs
@@ -3,12 +3,13 @@
3use std::iter::{repeat, repeat_with}; 3use std::iter::{repeat, repeat_with};
4use std::sync::Arc; 4use std::sync::Arc;
5 5
6use hir_def::name;
7
6use super::{BindingMode, Expectation, InferenceContext, InferenceDiagnostic, TypeMismatch}; 8use super::{BindingMode, Expectation, InferenceContext, InferenceDiagnostic, TypeMismatch};
7use crate::{ 9use crate::{
8 db::HirDatabase, 10 db::HirDatabase,
9 expr::{self, Array, BinaryOp, Expr, ExprId, Literal, Statement, UnaryOp}, 11 expr::{self, Array, BinaryOp, Expr, ExprId, Literal, Statement, UnaryOp},
10 generics::{GenericParams, HasGenericParams}, 12 generics::{GenericParams, HasGenericParams},
11 name,
12 nameres::Namespace, 13 nameres::Namespace,
13 path::{GenericArg, GenericArgs}, 14 path::{GenericArg, GenericArgs},
14 ty::{ 15 ty::{