Print unstable option's name on warning
This commit is contained in:
parent
426ba1cdab
commit
4cb1dccb97
@ -363,8 +363,8 @@ fn fill_from_parsed_config(mut self, parsed: PartialConfig) -> 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user