mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 13:33:31 +00:00
Fix native diagnostics not working
This commit is contained in:
parent
0e282fcd04
commit
ec0f00fc03
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ impl DiagnosticCollection {
|
|||
})
|
||||
{
|
||||
// don't signal an update if the diagnostics are the same
|
||||
return;
|
||||
continue;
|
||||
}
|
||||
if *old_gen < generation || generation == 0 {
|
||||
target.insert(file_id, (generation, diagnostics));
|
||||
|
|
Loading…
Reference in a new issue