diff options
Diffstat (limited to 'crates/ra_hir/src/ty/infer/pat.rs')
-rw-r--r-- | crates/ra_hir/src/ty/infer/pat.rs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/crates/ra_hir/src/ty/infer/pat.rs b/crates/ra_hir/src/ty/infer/pat.rs index 641d61e87..6dbf03eb2 100644 --- a/crates/ra_hir/src/ty/infer/pat.rs +++ b/crates/ra_hir/src/ty/infer/pat.rs | |||
@@ -3,14 +3,18 @@ | |||
3 | use std::iter::repeat; | 3 | use std::iter::repeat; |
4 | use std::sync::Arc; | 4 | use std::sync::Arc; |
5 | 5 | ||
6 | use hir_def::{ | ||
7 | expr::{BindingAnnotation, Pat, PatId, RecordFieldPat}, | ||
8 | path::Path, | ||
9 | type_ref::Mutability, | ||
10 | }; | ||
11 | use hir_expand::name::Name; | ||
6 | use test_utils::tested_by; | 12 | use test_utils::tested_by; |
7 | 13 | ||
8 | use super::{BindingMode, InferenceContext}; | 14 | use super::{BindingMode, InferenceContext}; |
9 | use crate::{ | 15 | use crate::{ |
10 | db::HirDatabase, | 16 | db::HirDatabase, |
11 | expr::{BindingAnnotation, Pat, PatId, RecordFieldPat}, | 17 | ty::{Substs, Ty, TypeCtor, TypeWalk}, |
12 | ty::{Mutability, Substs, Ty, TypeCtor, TypeWalk}, | ||
13 | Name, Path, | ||
14 | }; | 18 | }; |
15 | 19 | ||
16 | impl<'a, D: HirDatabase> InferenceContext<'a, D> { | 20 | impl<'a, D: HirDatabase> InferenceContext<'a, D> { |