Skip to content

Commit 37cc714

Browse files
committed
Don't use println in the compiler
1 parent d5efa96 commit 37cc714

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/hir/map/collector.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ impl<'a, 'hir> NodeCollector<'a, 'hir> {
232232
};
233233

234234
if hir_id == ::hir::DUMMY_HIR_ID {
235-
println!("Maybe you forgot to lower the node id {:?}?", id);
235+
debug!("Maybe you forgot to lower the node id {:?}?", id);
236236
}
237237

238238
bug!("inconsistent DepNode for `{}`: \

0 commit comments

Comments
 (0)