Skip to content

Commit a6030ff

Browse files
committed
infer: fix a Region-related debug message
1 parent 675bfb6 commit a6030ff

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/librustc/infer/error_reporting/nice_region_error/find_anon_type.rs

+1-6
Original file line numberDiff line numberDiff line change
@@ -225,12 +225,7 @@ impl Visitor<'tcx> for TyPathVisitor<'tcx> {
225225
}
226226

227227
(Some(rl::Region::EarlyBound(_, id, _)), ty::BrNamed(def_id, _)) => {
228-
debug!(
229-
"EarlyBound self.infcx.tcx.hir().local_def_id_from_node_id(id)={:?} \
230-
def_id={:?}",
231-
id,
232-
def_id
233-
);
228+
debug!("EarlyBound id={:?} def_id={:?}", id, def_id);
234229
if id == def_id {
235230
self.found_it = true;
236231
return; // we can stop visiting now

0 commit comments

Comments
 (0)