Skip to content

Commit 08c0e84

Browse files
committed
add debug! to evaluate_obligation
1 parent 1dba4b0 commit 08c0e84

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/librustc_traits/evaluate_obligation.rs

+2
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ fn evaluate_obligation<'tcx>(
1717
tcx: TyCtxt<'tcx>,
1818
canonical_goal: CanonicalPredicateGoal<'tcx>,
1919
) -> Result<EvaluationResult, OverflowError> {
20+
debug!("evaluate_obligation(canonical_goal={:#?})", canonical_goal);
2021
tcx.infer_ctxt().enter_with_canonical(
2122
DUMMY_SP,
2223
&canonical_goal,
2324
|ref infcx, goal, _canonical_inference_vars| {
25+
debug!("evaluate_obligation: goal={:#?}", goal);
2426
let ParamEnvAnd {
2527
param_env,
2628
value: predicate,

0 commit comments

Comments
 (0)