Skip to content

Commit

Permalink
eprint -> eprintln to add trailing newline
Browse files Browse the repository at this point in the history
  • Loading branch information
phansch committed Jun 4, 2019
1 parent 4a6b91c commit bfe5d97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/librustc_errors/annotate_rs_emitter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
};
}
}
2 changes: 1 addition & 1 deletion src/test/ui/annotate-snippet/missing-type.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ error[E0412]: cannot find type `Iter` in this scope
|
4 | let x: Iter;
| ^^^^ not found in this scope
|
|

0 comments on commit bfe5d97

Please sign in to comment.