From: 0x0G <0x0G@users.noreply.github.com> Date: Mon, 4 Apr 2016 10:49:16 +0000 (+0300) Subject: Fix. rustfmt write to stderr instead stdout X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=6e393b3d53aba6f3d18b76fd820c148f9e4b62e7;p=rust.git Fix. rustfmt write to stderr instead stdout Fix. rustfmt write to stderr instead stdout --- diff --git a/src/bin/rustfmt.rs b/src/bin/rustfmt.rs index 062c60e1065..666185f837e 100644 --- a/src/bin/rustfmt.rs +++ b/src/bin/rustfmt.rs @@ -212,7 +212,7 @@ fn execute() -> i32 { path = path_tmp; }; if let Some(path) = path.as_ref() { - msg!("Using rustfmt config file {}", path.display()); + println!("Using rustfmt config file {}", path.display()); } for file in files { // Check the file directory if the config-path could not be read or not provided @@ -222,9 +222,9 @@ fn execute() -> i32 { for {}", file.display())); if let Some(path) = path_tmp.as_ref() { - msg!("Using rustfmt config file {} for {}", - path.display(), - file.display()); + println!("Using rustfmt config file {} for {}", + path.display(), + file.display()); } config = config_tmp; }