mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 22:54:58 +00:00
Emit better #[cfg] diagnostics
This commit is contained in:
parent
978cc93649
commit
3421b645e6
9 changed files with 124 additions and 65 deletions
|
@ -2128,7 +2128,7 @@ fn foo_<|>test() {}
|
|||
ignore: false,
|
||||
},
|
||||
},
|
||||
cfg_exprs: [],
|
||||
cfg: None,
|
||||
},
|
||||
),
|
||||
]
|
||||
|
@ -2166,7 +2166,7 @@ mod tests<|> {
|
|||
kind: TestMod {
|
||||
path: "tests",
|
||||
},
|
||||
cfg_exprs: [],
|
||||
cfg: None,
|
||||
},
|
||||
),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue