mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
Fix native diagnostics not working
This commit is contained in:
parent
0e282fcd04
commit
ec0f00fc03
@ -110,7 +110,7 @@ impl DiagnosticCollection {
|
|||||||
})
|
})
|
||||||
{
|
{
|
||||||
// don't signal an update if the diagnostics are the same
|
// don't signal an update if the diagnostics are the same
|
||||||
return;
|
continue;
|
||||||
}
|
}
|
||||||
if *old_gen < generation || generation == 0 {
|
if *old_gen < generation || generation == 0 {
|
||||||
target.insert(file_id, (generation, diagnostics));
|
target.insert(file_id, (generation, diagnostics));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user