From 37cc714aa708b665411534742b221c8e0ccd0e4b Mon Sep 17 00:00:00 2001 From: Oliver Schneider Date: Tue, 26 Jun 2018 14:39:37 +0200 Subject: [PATCH] Don't use `println` in the compiler --- src/librustc/hir/map/collector.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc/hir/map/collector.rs b/src/librustc/hir/map/collector.rs index f16bf1d77445..5c09a263ad12 100644 --- a/src/librustc/hir/map/collector.rs +++ b/src/librustc/hir/map/collector.rs @@ -232,7 +232,7 @@ impl<'a, 'hir> NodeCollector<'a, 'hir> { }; if hir_id == ::hir::DUMMY_HIR_ID { - println!("Maybe you forgot to lower the node id {:?}?", id); + debug!("Maybe you forgot to lower the node id {:?}?", id); } bug!("inconsistent DepNode for `{}`: \