mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
Finish transition to cfgs from the separate atoms and features.
This commit is contained in:
parent
733ef3163c
commit
055b9b64bc
2 changed files with 1 additions and 47 deletions
|
@ -280,12 +280,6 @@ impl ProjectWorkspace {
|
|||
}
|
||||
}
|
||||
}
|
||||
for name in &krate.atom_cfgs {
|
||||
opts.insert_atom(name.into());
|
||||
}
|
||||
for (key, value) in &krate.key_value_cfgs {
|
||||
opts.insert_key_value(key.into(), value.into());
|
||||
}
|
||||
opts
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue