We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6f30d7 commit 6e4e6b9Copy full SHA for 6e4e6b9
compiler/rustc_trait_selection/src/solve/eval_ctxt/canonical.rs
@@ -377,6 +377,10 @@ impl<'tcx> EvalCtxt<'_, 'tcx> {
377
}
378
379
380
+/// Used by proof trees to be able to recompute intermediate actions while
381
+/// evaluating a goal. The `var_values` not only include the bound variables
382
+/// of the query input, but also contain all unconstrained inference vars
383
+/// created while evaluating this goal.
384
pub(in crate::solve) fn make_canonical_state<'tcx, T: TypeFoldable<TyCtxt<'tcx>>>(
385
infcx: &InferCtxt<'tcx>,
386
var_values: &[ty::GenericArg<'tcx>],
0 commit comments