Skip to content

Commit bfe5d97

Browse files
committed
eprint -> eprintln to add trailing newline
1 parent 4a6b91c commit bfe5d97

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/librustc_errors/annotate_rs_emitter.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ impl AnnotateRsEmitterWriter {
206206
// FIXME(#59346): Figure out if we can _always_ print to stderr or not.
207207
// `emitter.rs` has the `Destination` enum that lists various possible output
208208
// destinations.
209-
eprint!("{}", dlf.format(&dl));
209+
eprintln!("{}", dlf.format(&dl));
210210
};
211211
}
212212
}

src/test/ui/annotate-snippet/missing-type.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ error[E0412]: cannot find type `Iter` in this scope
33
|
44
4 | let x: Iter;
55
| ^^^^ not found in this scope
6-
|
6+
|

0 commit comments

Comments
 (0)