Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir_ty/src/infer/pat.rs')
-rw-r--r--crates/hir_ty/src/infer/pat.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/crates/hir_ty/src/infer/pat.rs b/crates/hir_ty/src/infer/pat.rs
index df438d2ac4..5cd760393f 100644
--- a/crates/hir_ty/src/infer/pat.rs
+++ b/crates/hir_ty/src/infer/pat.rs
@@ -1,7 +1,6 @@
//! Type inference for patterns.
-use std::iter::repeat;
-use std::sync::Arc;
+use std::{iter::repeat, sync::Arc};
use chalk_ir::Mutability;
use hir_def::{
@@ -10,9 +9,10 @@ use hir_def::{
};
use hir_expand::name::Name;
-use super::{BindingMode, Expectation, InferenceContext, TypeMismatch};
use crate::{
- infer::{Adjust, Adjustment, AutoBorrow},
+ infer::{
+ Adjust, Adjustment, AutoBorrow, BindingMode, Expectation, InferenceContext, TypeMismatch,
+ },
lower::lower_to_chalk_mutability,
static_lifetime, Interner, Substitution, Ty, TyBuilder, TyExt, TyKind,
};