Skip to content

Commit 4632e33

Browse files
committed
add a useful debug printout
1 parent 2a65cbe commit 4632e33

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/librustc/traits/fulfill.rs

+2
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,8 @@ impl<'a, 'b, 'gcx, 'tcx> ObligationProcessor for FulfillProcessor<'a, 'b, 'gcx,
275275
self.selcx.infcx().resolve_type_vars_if_possible(&obligation.predicate);
276276
}
277277

278+
debug!("process_obligation: obligation = {:?}", obligation);
279+
278280
match obligation.predicate {
279281
ty::Predicate::Trait(ref data) => {
280282
let trait_obligation = obligation.with(data.clone());

0 commit comments

Comments
 (0)