diff options
| author | Michael Goulet <michael@errs.io> | 2025-03-13 16:59:55 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2025-03-15 06:34:36 +0000 |
| commit | dc0cdfd75348ab39cf84448ff575d1b136f8a9bd (patch) | |
| tree | 0264e16a9947be8bc27216e8ed2a9e60bfd42441 /compiler/rustc_borrowck/src/diagnostics | |
| parent | 282865097d138c7f0f7a7566db5b761312dd145c (diff) | |
| download | rust-dc0cdfd75348ab39cf84448ff575d1b136f8a9bd.tar.gz rust-dc0cdfd75348ab39cf84448ff575d1b136f8a9bd.zip | |
Squash fold into ty
Diffstat (limited to 'compiler/rustc_borrowck/src/diagnostics')
| -rw-r--r-- | compiler/rustc_borrowck/src/diagnostics/region_errors.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_borrowck/src/diagnostics/region_errors.rs b/compiler/rustc_borrowck/src/diagnostics/region_errors.rs index 55b6367f35f..6b11f1a3681 100644 --- a/compiler/rustc_borrowck/src/diagnostics/region_errors.rs +++ b/compiler/rustc_borrowck/src/diagnostics/region_errors.rs @@ -14,9 +14,8 @@ use rustc_infer::infer::{NllRegionVariableOrigin, RelateParamBound}; use rustc_middle::bug; use rustc_middle::hir::place::PlaceBase; use rustc_middle::mir::{AnnotationSource, ConstraintCategory, ReturnConstraint}; -use rustc_middle::ty::fold::fold_regions; use rustc_middle::ty::{ - self, GenericArgs, Region, RegionVid, Ty, TyCtxt, TypeFoldable, TypeVisitor, + self, GenericArgs, Region, RegionVid, Ty, TyCtxt, TypeFoldable, TypeVisitor, fold_regions, }; use rustc_span::{Ident, Span, kw}; use rustc_trait_selection::error_reporting::InferCtxtErrorExt; |
