Skip to content
Permalink
Browse files

add a useful debug printout

  • Loading branch information...
nikomatsakis committed Mar 12, 2019
1 parent 2a65cbe commit 4632e3345b77b3262dd2b33654d9d11d0fc0912d
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/librustc/traits/fulfill.rs
@@ -275,6 +275,8 @@ impl<'a, 'b, 'gcx, 'tcx> ObligationProcessor for FulfillProcessor<'a, 'b, 'gcx,
self.selcx.infcx().resolve_type_vars_if_possible(&obligation.predicate);
}

debug!("process_obligation: obligation = {:?}", obligation);

match obligation.predicate {
ty::Predicate::Trait(ref data) => {
let trait_obligation = obligation.with(data.clone());

0 comments on commit 4632e33

Please sign in to comment.
You can’t perform that action at this time.