diff options
| author | lcnr <rust@lcnr.de> | 2025-04-02 14:05:35 +0200 |
|---|---|---|
| committer | lcnr <rust@lcnr.de> | 2025-04-08 00:34:40 +0200 |
| commit | 474ec7a3f4da6bdedf2d967d72bc9c6282dfcbb2 (patch) | |
| tree | 053b8170e45a72a518340d75f518adc17b706957 /compiler/rustc_borrowck/src/root_cx.rs | |
| parent | f05a23be5c521b865d459154fd7a6cd0f08869ae (diff) | |
| download | rust-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.rs | 3 |
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. |
