Skip to content

Commit dc287a9

Browse files
Update some debug logging
1 parent 106070b commit dc287a9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/librustc/middle/traits/fulfill.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ impl<'tcx> FulfillmentContext<'tcx> {
133133
cause: ObligationCause<'tcx>)
134134
-> Ty<'tcx>
135135
{
136-
debug!("normalize_associated_type(projection_ty={:?})",
136+
debug!("normalize_projection_type(projection_ty={:?})",
137137
projection_ty);
138138

139139
assert!(!projection_ty.has_escaping_regions());
@@ -147,7 +147,7 @@ impl<'tcx> FulfillmentContext<'tcx> {
147147
self.register_predicate_obligation(infcx, obligation);
148148
}
149149

150-
debug!("normalize_associated_type: result={:?}", normalized.value);
150+
debug!("normalize_projection_type: result={:?}", normalized.value);
151151

152152
normalized.value
153153
}
@@ -185,11 +185,11 @@ impl<'tcx> FulfillmentContext<'tcx> {
185185
assert!(!obligation.has_escaping_regions());
186186

187187
if self.is_duplicate_or_add(infcx.tcx, &obligation.predicate) {
188-
debug!("register_predicate({:?}) -- already seen, skip", obligation);
188+
debug!("register_predicate_obligation({:?}) -- already seen, skip", obligation);
189189
return;
190190
}
191191

192-
debug!("register_predicate({:?})", obligation);
192+
debug!("register_predicate_obligation({:?})", obligation);
193193
let obligation = PendingPredicateObligation {
194194
obligation: obligation,
195195
stalled_on: vec![]
@@ -274,7 +274,7 @@ impl<'tcx> FulfillmentContext<'tcx> {
274274
let mut errors = Vec::new();
275275

276276
loop {
277-
debug!("select_where_possible: starting another iteration");
277+
debug!("select: starting another iteration");
278278

279279
// Process pending obligations.
280280
let outcome = {
@@ -287,7 +287,7 @@ impl<'tcx> FulfillmentContext<'tcx> {
287287
region_obligations))
288288
};
289289

290-
debug!("select_where_possible: outcome={:?}", outcome);
290+
debug!("select: outcome={:?}", outcome);
291291

292292
// these are obligations that were proven to be true.
293293
for pending_obligation in outcome.completed {

0 commit comments

Comments
 (0)