Uplift Goal to rustc_type_ir
This commit is contained in:
parent
2684655602
commit
138881b315
22 changed files with 130 additions and 109 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue