Add support for values() with --check-cfg
This commit is contained in:
parent
2f8d1a835b
commit
50e61a1a66
4 changed files with 13 additions and 5 deletions
|
@ -207,6 +207,9 @@ pub fn parse_check_cfg(specs: Vec<String>) -> CheckCfg {
|
|||
"`values()` first argument must be a simple identifer"
|
||||
);
|
||||
}
|
||||
} else if args.is_empty() {
|
||||
cfg.well_known_values = true;
|
||||
continue 'specs;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue