Ignore unstable key when overriding config
This commit is contained in:
parent
4ac0d35ebb
commit
3eb8e4d33c
@ -500,7 +500,7 @@ fn read_config(filename: &Path) -> Config {
|
||||
};
|
||||
|
||||
for (key, val) in &sig_comments {
|
||||
if key != "target" && key != "config" {
|
||||
if key != "target" && key != "config" && key != "unstable" {
|
||||
config.override_value(key, val);
|
||||
if config.is_default(key) {
|
||||
warn!("Default value {} used explicitly for {}", val, key);
|
||||
|
@ -1 +0,0 @@
|
||||
normalize_doc_attributes = true
|
@ -1,4 +1,5 @@
|
||||
// rustfmt-unstable: true
|
||||
// rustfmt-normalize_doc_attributes: true
|
||||
|
||||
#[doc = "This comment
|
||||
is split
|
||||
|
@ -1,4 +1,5 @@
|
||||
// rustfmt-unstable: true
|
||||
// rustfmt-normalize_doc_attributes: true
|
||||
|
||||
///This comment
|
||||
///is split
|
||||
|
Loading…
x
Reference in New Issue
Block a user