Merge pull request #2248 from alexheretic/master

Fix config warnings leaking into stdout
This commit is contained in:
Nick Cameron 2017-12-07 08:47:58 +13:00 committed by GitHub
commit e65ceb2062
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -361,7 +361,7 @@ macro_rules! create_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);
}
}