mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
Allow setting cfgs
This commit is contained in:
parent
ee8c18cb6e
commit
cea84427e0
8 changed files with 73 additions and 89 deletions
|
@ -86,7 +86,7 @@ impl CfgOptions {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Eq)]
|
||||
#[derive(Default, Clone, Debug, PartialEq, Eq)]
|
||||
pub struct CfgDiff {
|
||||
// Invariants: No duplicates, no atom that's both in `enable` and `disable`.
|
||||
enable: Vec<CfgAtom>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue