about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/autoderef.rs
diff options
context:
space:
mode:
authorJana Dönszelmann <jana@donsz.nl>2025-08-24 13:25:36 +0200
committerJana Dönszelmann <jana@donsz.nl>2025-09-08 15:07:12 -0700
commit6087d89004eda5e1f6406182b9866497ecb22e99 (patch)
tree6b99769152229cbbf7259514f36d10f7a42a645e /compiler/rustc_hir_analysis/src/autoderef.rs
parentb82171de5fe2a13a12f35ce4368ef34a477f55c4 (diff)
downloadrust-6087d89004eda5e1f6406182b9866497ecb22e99.tar.gz
rust-6087d89004eda5e1f6406182b9866497ecb22e99.zip
fixup limit handling code
Diffstat (limited to 'compiler/rustc_hir_analysis/src/autoderef.rs')
-rw-r--r--compiler/rustc_hir_analysis/src/autoderef.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir_analysis/src/autoderef.rs b/compiler/rustc_hir_analysis/src/autoderef.rs
index e27e68d3662..e8237471e1b 100644
--- a/compiler/rustc_hir_analysis/src/autoderef.rs
+++ b/compiler/rustc_hir_analysis/src/autoderef.rs
@@ -1,7 +1,7 @@
+use rustc_hir::limit::Limit;
 use rustc_infer::infer::InferCtxt;
 use rustc_infer::traits::PredicateObligations;
 use rustc_middle::ty::{self, Ty, TyCtxt, TypeVisitableExt};
-use rustc_session::Limit;
 use rustc_span::def_id::{LOCAL_CRATE, LocalDefId};
 use rustc_span::{ErrorGuaranteed, Span};
 use rustc_trait_selection::traits::ObligationCtxt;