]> git.lizzy.rs Git - rust.git/commitdiff
fix rebase fallout
authorljedrz <ljedrz@gmail.com>
Mon, 17 Jun 2019 17:01:41 +0000 (19:01 +0200)
committerljedrz <ljedrz@gmail.com>
Mon, 17 Jun 2019 17:05:26 +0000 (19:05 +0200)
src/librustc_typeck/check/expr.rs

index fa9e0d8a8578afd94a12ad3ea7a080f2b379adee..421688097b892d4f9288bc55beefce5159665491 100644 (file)
@@ -180,7 +180,7 @@ fn check_expr_with_expectation_and_needs(
         self.diverges.set(self.diverges.get() | old_diverges);
         self.has_errors.set(self.has_errors.get() | old_has_errors);
 
-        debug!("type of {} is...", self.tcx.hir().hir_to_string(expr.hir_id));
+        debug!("type of {} is...", self.tcx.hir().node_to_string(expr.hir_id));
         debug!("... {:?}, expected is {:?}", ty, expected);
 
         ty