rebase
This commit is contained in:
parent
30ed152330
commit
be6a344365
@ -41,7 +41,7 @@ impl<'tcx> FulfillmentCtxt<'tcx> {
|
||||
}
|
||||
|
||||
impl<'tcx> TraitEngine<'tcx> for FulfillmentCtxt<'tcx> {
|
||||
#[instrument(level = "debug", skip(self, _infcx))]
|
||||
#[instrument(level = "debug", skip(self, infcx))]
|
||||
fn register_predicate_obligation(
|
||||
&mut self,
|
||||
infcx: &InferCtxt<'tcx>,
|
||||
|
@ -20,7 +20,7 @@ pub(crate) fn deeply_normalize<'tcx, T: TypeFoldable<TyCtxt<'tcx>>>(
|
||||
at: At<'_, 'tcx>,
|
||||
value: T,
|
||||
) -> Result<T, Vec<FulfillmentError<'tcx>>> {
|
||||
let fulfill_cx = FulfillmentCtxt::new();
|
||||
let fulfill_cx = FulfillmentCtxt::new(at.infcx);
|
||||
let mut folder = NormalizationFolder { at, fulfill_cx, depth: 0, universes: Vec::new() };
|
||||
|
||||
value.try_fold_with(&mut folder)
|
||||
|
Loading…
x
Reference in New Issue
Block a user