Skip to content

Commit

Permalink
Fix native diagnostics not working
Browse files Browse the repository at this point in the history
  • Loading branch information
ShoyuVanilla committed Aug 7, 2024
1 parent 0e282fc commit ec0f00f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/rust-analyzer/src/diagnostics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit ec0f00f

Please sign in to comment.