Skip to content

Commit 1ca3798

Browse files
caseycalebcartwright
authored andcommitted
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
1 parent 75765f6 commit 1ca3798

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config/config_type.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ macro_rules! create_config {
409409
if self.was_set().merge_imports() {
410410
eprintln!(
411411
"Warning: the `merge_imports` option is deprecated. \
412-
Use `imports_granularity=Crate` instead"
412+
Use `imports_granularity=\"Crate\"` instead"
413413
);
414414
if !self.was_set().imports_granularity() {
415415
self.imports_granularity.2 = if self.merge_imports() {

0 commit comments

Comments
 (0)