about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src/traits/mod.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-05-15 21:57:41 -0400
committerMichael Goulet <michael@errs.io>2024-05-16 14:24:22 -0400
commit138881b315e41ccadaa5a64df6793cf9f05b542f (patch)
tree4da78fb053524bf6153feec5bcb94b02ec1692bb /compiler/rustc_trait_selection/src/traits/mod.rs
parent26846556021a9800d35bdb1de4d6d3b988c6d22f (diff)
downloadrust-138881b315e41ccadaa5a64df6793cf9f05b542f.tar.gz
rust-138881b315e41ccadaa5a64df6793cf9f05b542f.zip
Uplift Goal to rustc_type_ir
Diffstat (limited to 'compiler/rustc_trait_selection/src/traits/mod.rs')
-rw-r--r--compiler/rustc_trait_selection/src/traits/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/mod.rs b/compiler/rustc_trait_selection/src/traits/mod.rs
index ba7f7209900..b38d266271a 100644
--- a/compiler/rustc_trait_selection/src/traits/mod.rs
+++ b/compiler/rustc_trait_selection/src/traits/mod.rs
@@ -142,7 +142,7 @@ pub fn type_known_to_meet_bound_modulo_regions<'tcx>(
 fn pred_known_to_hold_modulo_regions<'tcx>(
     infcx: &InferCtxt<'tcx>,
     param_env: ty::ParamEnv<'tcx>,
-    pred: impl Upcast<'tcx, ty::Predicate<'tcx>>,
+    pred: impl Upcast<TyCtxt<'tcx>, ty::Predicate<'tcx>>,
 ) -> bool {
     let obligation = Obligation::new(infcx.tcx, ObligationCause::dummy(), param_env, pred);