mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +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
|
// 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…
Add table
Add a link
Reference in a new issue