about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src/traits/query
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/traits/query
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/traits/query')
-rw-r--r--compiler/rustc_trait_selection/src/traits/query/type_op/custom.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/query/type_op/custom.rs b/compiler/rustc_trait_selection/src/traits/query/type_op/custom.rs
index f027ba1c5cb..0ca2d216228 100644
--- a/compiler/rustc_trait_selection/src/traits/query/type_op/custom.rs
+++ b/compiler/rustc_trait_selection/src/traits/query/type_op/custom.rs
@@ -108,7 +108,6 @@ where
     let region_assumptions = infcx.take_registered_region_assumptions();
     let region_constraint_data = infcx.take_and_reset_region_constraints();
     let region_constraints = query_response::make_query_region_constraints(
-        infcx.tcx,
         region_obligations,
         &region_constraint_data,
         region_assumptions,