diff options
author | Aleksey Kladov <[email protected]> | 2019-11-27 09:13:07 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-11-27 09:13:07 +0000 |
commit | e91ebfc752bdfa8fc20be6ea97a14aa6a4d897ae (patch) | |
tree | 0b097685cdd13f91b36362296eefa1d2edee540d /crates/ra_hir/src/ty/infer/path.rs | |
parent | 3a0929fca7a52605526c6f89be4e3e86c5d0359d (diff) |
Cleanup imports
Diffstat (limited to 'crates/ra_hir/src/ty/infer/path.rs')
-rw-r--r-- | crates/ra_hir/src/ty/infer/path.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crates/ra_hir/src/ty/infer/path.rs b/crates/ra_hir/src/ty/infer/path.rs index be2067dd4..8d8b56d2d 100644 --- a/crates/ra_hir/src/ty/infer/path.rs +++ b/crates/ra_hir/src/ty/infer/path.rs | |||
@@ -1,14 +1,15 @@ | |||
1 | //! Path expression resolution. | 1 | //! Path expression resolution. |
2 | 2 | ||
3 | use hir_def::{ | 3 | use hir_def::{ |
4 | path::PathSegment, | 4 | path::{Path, PathSegment}, |
5 | resolver::{ResolveValueResult, Resolver, TypeNs, ValueNs}, | 5 | resolver::{ResolveValueResult, Resolver, TypeNs, ValueNs}, |
6 | }; | 6 | }; |
7 | use hir_expand::name::Name; | ||
7 | 8 | ||
8 | use crate::{ | 9 | use crate::{ |
9 | db::HirDatabase, | 10 | db::HirDatabase, |
10 | ty::{method_resolution, Substs, Ty, TypeWalk, ValueTyDefId}, | 11 | ty::{method_resolution, Substs, Ty, TypeWalk, ValueTyDefId}, |
11 | AssocItem, Container, Function, Name, Path, | 12 | AssocItem, Container, Function, |
12 | }; | 13 | }; |
13 | 14 | ||
14 | use super::{ExprOrPatId, InferenceContext, TraitRef}; | 15 | use super::{ExprOrPatId, InferenceContext, TraitRef}; |