about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/collect.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2025-03-13 16:59:55 +0000
committerMichael Goulet <michael@errs.io>2025-03-15 06:34:36 +0000
commitdc0cdfd75348ab39cf84448ff575d1b136f8a9bd (patch)
tree0264e16a9947be8bc27216e8ed2a9e60bfd42441 /compiler/rustc_hir_analysis/src/collect.rs
parent282865097d138c7f0f7a7566db5b761312dd145c (diff)
downloadrust-dc0cdfd75348ab39cf84448ff575d1b136f8a9bd.tar.gz
rust-dc0cdfd75348ab39cf84448ff575d1b136f8a9bd.zip
Squash fold into ty
Diffstat (limited to 'compiler/rustc_hir_analysis/src/collect.rs')
-rw-r--r--compiler/rustc_hir_analysis/src/collect.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_hir_analysis/src/collect.rs b/compiler/rustc_hir_analysis/src/collect.rs
index e0e435dd6f0..54a630f5b00 100644
--- a/compiler/rustc_hir_analysis/src/collect.rs
+++ b/compiler/rustc_hir_analysis/src/collect.rs
@@ -33,9 +33,8 @@ use rustc_infer::infer::{InferCtxt, TyCtxtInferExt};
 use rustc_infer::traits::ObligationCause;
 use rustc_middle::hir::nested_filter;
 use rustc_middle::query::Providers;
-use rustc_middle::ty::fold::fold_regions;
 use rustc_middle::ty::util::{Discr, IntTypeExt};
-use rustc_middle::ty::{self, AdtKind, Const, IsSuggestable, Ty, TyCtxt, TypingMode};
+use rustc_middle::ty::{self, AdtKind, Const, IsSuggestable, Ty, TyCtxt, TypingMode, fold_regions};
 use rustc_middle::{bug, span_bug};
 use rustc_span::{DUMMY_SP, Ident, Span, Symbol, kw, sym};
 use rustc_trait_selection::error_reporting::traits::suggestions::NextTypeParamName;