1
Fork 0

Remove implicit names and values from --cfg in --check-cfg

This commit is contained in:
Urgau 2022-07-20 17:31:15 +02:00
parent 03d488b48a
commit ebf4cc361e
7 changed files with 72 additions and 79 deletions

View file

@ -117,7 +117,6 @@ pub fn create_session(
let mut check_cfg = config::to_crate_check_config(check_cfg);
check_cfg.fill_well_known();
check_cfg.fill_actual(&cfg);
sess.parse_sess.config = cfg;
sess.parse_sess.check_config = check_cfg;