about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/root_cx.rs
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2025-04-02 14:05:35 +0200
committerlcnr <rust@lcnr.de>2025-04-08 00:34:40 +0200
commit474ec7a3f4da6bdedf2d967d72bc9c6282dfcbb2 (patch)
tree053b8170e45a72a518340d75f518adc17b706957 /compiler/rustc_borrowck/src/root_cx.rs
parentf05a23be5c521b865d459154fd7a6cd0f08869ae (diff)
downloadrust-474ec7a3f4da6bdedf2d967d72bc9c6282dfcbb2.tar.gz
rust-474ec7a3f4da6bdedf2d967d72bc9c6282dfcbb2.zip
move `ClosureRegionRequirements` to `rustc_borrowck`
Diffstat (limited to 'compiler/rustc_borrowck/src/root_cx.rs')
-rw-r--r--compiler/rustc_borrowck/src/root_cx.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_borrowck/src/root_cx.rs b/compiler/rustc_borrowck/src/root_cx.rs
index ed9e244f753..13daa5c7221 100644
--- a/compiler/rustc_borrowck/src/root_cx.rs
+++ b/compiler/rustc_borrowck/src/root_cx.rs
@@ -2,12 +2,11 @@ use rustc_abi::FieldIdx;
 use rustc_data_structures::fx::FxHashMap;
 use rustc_hir::def_id::LocalDefId;
 use rustc_middle::bug;
-use rustc_middle::mir::{ClosureRegionRequirements, ConcreteOpaqueTypes};
 use rustc_middle::ty::{OpaqueHiddenType, Ty, TyCtxt, TypeVisitableExt};
 use rustc_span::ErrorGuaranteed;
 use smallvec::SmallVec;
 
-use crate::PropagatedBorrowCheckResults;
+use crate::{ClosureRegionRequirements, ConcreteOpaqueTypes, PropagatedBorrowCheckResults};
 
 /// The shared context used by both the root as well as all its nested
 /// items.