diff --git a/src/cli/autoformat/mod.rs b/src/cli/autoformat/mod.rs index 9a93942f8..2bed439cd 100644 --- a/src/cli/autoformat/mod.rs +++ b/src/cli/autoformat/mod.rs @@ -57,7 +57,7 @@ impl Autoformat { println!("formatted {}", file); } Err(e) => { - println!("failed to write formatted content to file: {}", e); + eprintln!("failed to write formatted content to file: {}", e); } } }