From bfe5d9796b38fdecab6cd7afd28e0a7f23e4915a Mon Sep 17 00:00:00 2001 From: Philipp Hansch Date: Mon, 3 Jun 2019 07:38:55 +0200 Subject: eprint -> eprintln to add trailing newline --- src/librustc_errors/annotate_rs_emitter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/librustc_errors') diff --git a/src/librustc_errors/annotate_rs_emitter.rs b/src/librustc_errors/annotate_rs_emitter.rs index f3c55ae79f7..de42389de74 100644 --- a/src/librustc_errors/annotate_rs_emitter.rs +++ b/src/librustc_errors/annotate_rs_emitter.rs @@ -206,7 +206,7 @@ impl AnnotateRsEmitterWriter { // FIXME(#59346): Figure out if we can _always_ print to stderr or not. // `emitter.rs` has the `Destination` enum that lists various possible output // destinations. - eprint!("{}", dlf.format(&dl)); + eprintln!("{}", dlf.format(&dl)); }; } } -- cgit 1.4.1-3-g733a5