Improve pasta copyability of merge_imports deprecation message

Add double quotes around `Crate` so that it can be copied directly into a `Cargo.toml` file
This commit is contained in:
Casey Rodarmor 2021-05-09 20:01:24 -07:00 committed by Caleb Cartwright
parent 75765f656e
commit 1ca3798d2c

View file

@ -409,7 +409,7 @@ macro_rules! create_config {
if self.was_set().merge_imports() {
eprintln!(
"Warning: the `merge_imports` option is deprecated. \
Use `imports_granularity=Crate` instead"
Use `imports_granularity=\"Crate\"` instead"
);
if !self.was_set().imports_granularity() {
self.imports_granularity.2 = if self.merge_imports() {