mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-15 01:55:03 +00:00
Don't print empty lines to stderr (#940)
This commit is contained in:
parent
7a758ea20a
commit
847bad603e
@ -440,7 +440,9 @@ pub enum Input {
|
||||
|
||||
pub fn run(input: Input, config: &Config) -> Summary {
|
||||
let (mut summary, file_map, report) = format_input(input, config);
|
||||
msg!("{}", report);
|
||||
if report.has_warnings() {
|
||||
msg!("{}", report);
|
||||
}
|
||||
|
||||
let mut out = stdout();
|
||||
let write_result = filemap::write_all_files(&file_map, &mut out, config);
|
||||
|
Loading…
Reference in New Issue
Block a user