From 78ccbba3e296e8dbbb8cae3a70ec6adc7087dade Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Wed, 22 Nov 2017 10:08:00 -0500 Subject: [PATCH] add debug log with result of writeback --- src/librustc_typeck/check/writeback.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/librustc_typeck/check/writeback.rs b/src/librustc_typeck/check/writeback.rs index f287d286656..1052f031bbf 100644 --- a/src/librustc_typeck/check/writeback.rs +++ b/src/librustc_typeck/check/writeback.rs @@ -55,6 +55,8 @@ impl<'a, 'gcx, 'tcx> FnCtxt<'a, 'gcx, 'tcx> { wbcx.tables.tainted_by_errors = self.is_tainted_by_errors(); + debug!("writeback: tables for {:?} are {:#?}", item_def_id, wbcx.tables); + self.tcx.alloc_tables(wbcx.tables) } }