Print unstable option's name on warning

This commit is contained in:
Seiichi Uchida 2017-11-29 20:31:58 +09:00
parent 426ba1cdab
commit 4cb1dccb97

View file

@ -363,8 +363,8 @@ macro_rules! create_config {
self.$i.1 = true;
self.$i.2 = val;
} else {
println!("Warning: can't set some features as unstable \
features are only available in nightly channel.");
println!("Warning: can't set `{} = {:?}`, unstable features are only \
available in nightly channel.", stringify!($i), val);
}
}
}