about summary refs log tree commit diff
diff options
context:
space:
mode:
authorljedrz <ljedrz@gmail.com>2019-07-02 09:43:33 +0200
committerljedrz <ljedrz@gmail.com>2019-07-04 12:53:12 +0200
commita6030ff699e24a2d8f09bfd833361f119a9f0633 (patch)
tree05bb06f56e5c96e2954b2b681b682ea9376a2dc5
parent675bfb6d169f29ffc3b0eadeab81901a32b79e73 (diff)
downloadrust-a6030ff699e24a2d8f09bfd833361f119a9f0633.tar.gz
rust-a6030ff699e24a2d8f09bfd833361f119a9f0633.zip
infer: fix a Region-related debug message
-rw-r--r--src/librustc/infer/error_reporting/nice_region_error/find_anon_type.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/librustc/infer/error_reporting/nice_region_error/find_anon_type.rs b/src/librustc/infer/error_reporting/nice_region_error/find_anon_type.rs
index 33723d840b8..34f3b8a2c72 100644
--- a/src/librustc/infer/error_reporting/nice_region_error/find_anon_type.rs
+++ b/src/librustc/infer/error_reporting/nice_region_error/find_anon_type.rs
@@ -225,12 +225,7 @@ impl Visitor<'tcx> for TyPathVisitor<'tcx> {
             }
 
             (Some(rl::Region::EarlyBound(_, id, _)), ty::BrNamed(def_id, _)) => {
-                debug!(
-                    "EarlyBound self.infcx.tcx.hir().local_def_id_from_node_id(id)={:?} \
-                     def_id={:?}",
-                    id,
-                    def_id
-                );
+                debug!("EarlyBound id={:?} def_id={:?}", id, def_id);
                 if id == def_id {
                     self.found_it = true;
                     return; // we can stop visiting now