From: Alex Butler Date: Wed, 6 Dec 2017 16:22:09 +0000 (+0000) Subject: Fix config warnings leaking into stdout X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=db0a72318aa2a579d1ee33caa4923e16327ccb4b;p=rust.git Fix config warnings leaking into stdout --- diff --git a/src/config.rs b/src/config.rs index 1ece6171d9b..4c6390c7627 100644 --- a/src/config.rs +++ b/src/config.rs @@ -361,7 +361,7 @@ fn fill_from_parsed_config(mut self, parsed: PartialConfig) -> Config { self.$i.1 = true; self.$i.2 = val; } else { - println!("Warning: can't set `{} = {:?}`, unstable features are only \ + eprintln!("Warning: can't set `{} = {:?}`, unstable features are only \ available in nightly channel.", stringify!($i), val); } }