]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_mir/borrow_check/constraint_generation.rs
Rollup merge of #69605 - JohnTitor:opt-def-id, r=petrochenkov
[rust.git] / src / librustc_mir / borrow_check / constraint_generation.rs
index 19b7e0cf59bb4bff2d3442a25d3236cd28e22c31..46cfe0897a9ac86149a600d69681a6a76767d902 100644 (file)
@@ -1,4 +1,3 @@
-use rustc::infer::InferCtxt;
 use rustc::mir::visit::TyContext;
 use rustc::mir::visit::Visitor;
 use rustc::mir::{
@@ -8,6 +7,7 @@
 use rustc::ty::fold::TypeFoldable;
 use rustc::ty::subst::SubstsRef;
 use rustc::ty::{self, RegionVid, Ty};
+use rustc_infer::infer::InferCtxt;
 
 use crate::borrow_check::{
     borrow_set::BorrowSet, facts::AllFacts, location::LocationTable, nll::ToRegionVid,