about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src/solve/delegate.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-08-01 04:06:21 +0000
committerbors <bors@rust-lang.org>2025-08-01 04:06:21 +0000
commit6c02dd4eae83befde07dc4782395e2005055e9fa (patch)
treec32cb9fe9c151a9655981d1ced121939b2c49e6b /compiler/rustc_trait_selection/src/solve/delegate.rs
parentadcb3d3b4cd3b7c4cde642f3ed537037f293738e (diff)
parent066a973312066b792c5de4b41b92dcb437f22bac (diff)
downloadrust-6c02dd4eae83befde07dc4782395e2005055e9fa.tar.gz
rust-6c02dd4eae83befde07dc4782395e2005055e9fa.zip
Auto merge of #144446 - nnethercote:opt-region-constraints, r=lcnr
Optimize region constraints

r? `@lcnr`
Diffstat (limited to 'compiler/rustc_trait_selection/src/solve/delegate.rs')
-rw-r--r--compiler/rustc_trait_selection/src/solve/delegate.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/solve/delegate.rs b/compiler/rustc_trait_selection/src/solve/delegate.rs
index 1fa2a690fcb..e6a2761db5a 100644
--- a/compiler/rustc_trait_selection/src/solve/delegate.rs
+++ b/compiler/rustc_trait_selection/src/solve/delegate.rs
@@ -212,7 +212,6 @@ impl<'tcx> rustc_next_trait_solver::delegate::SolverDelegate for SolverDelegate<
         let region_assumptions = self.0.inner.borrow().region_assumptions().to_owned();
         let region_constraints = self.0.with_region_constraints(|region_constraints| {
             make_query_region_constraints(
-                self.tcx,
                 region_obligations,
                 region_constraints,
                 region_assumptions,