Skip to content

Commit be6a344

Browse files
committed
rebase
1 parent 30ed152 commit be6a344

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/rustc_trait_selection/src/solve/fulfill.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ impl<'tcx> FulfillmentCtxt<'tcx> {
4141
}
4242

4343
impl<'tcx> TraitEngine<'tcx> for FulfillmentCtxt<'tcx> {
44-
#[instrument(level = "debug", skip(self, _infcx))]
44+
#[instrument(level = "debug", skip(self, infcx))]
4545
fn register_predicate_obligation(
4646
&mut self,
4747
infcx: &InferCtxt<'tcx>,

compiler/rustc_trait_selection/src/solve/normalize.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pub(crate) fn deeply_normalize<'tcx, T: TypeFoldable<TyCtxt<'tcx>>>(
2020
at: At<'_, 'tcx>,
2121
value: T,
2222
) -> Result<T, Vec<FulfillmentError<'tcx>>> {
23-
let fulfill_cx = FulfillmentCtxt::new();
23+
let fulfill_cx = FulfillmentCtxt::new(at.infcx);
2424
let mut folder = NormalizationFolder { at, fulfill_cx, depth: 0, universes: Vec::new() };
2525

2626
value.try_fold_with(&mut folder)

0 commit comments

Comments
 (0)