Skip to content

Commit 566f34f

Browse files
authored
Merge pull request #2205 from topecongiro/issue-2202
Print unstable option's name on warning
2 parents cf11f7b + 4cb1dcc commit 566f34f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/config.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,8 +363,8 @@ macro_rules! create_config {
363363
self.$i.1 = true;
364364
self.$i.2 = val;
365365
} else {
366-
println!("Warning: can't set some features as unstable \
367-
features are only available in nightly channel.");
366+
println!("Warning: can't set `{} = {:?}`, unstable features are only \
367+
available in nightly channel.", stringify!($i), val);
368368
}
369369
}
370370
}

0 commit comments

Comments
 (0)