Skip to content

Commit

Permalink
Auto merge of #17824 - ShoyuVanilla:fix-diags, r=Veykril
Browse files Browse the repository at this point in the history
fix: Native diagnostics not working

              This should be a `continue` now

_Originally posted by `@Veykril` in #17775 (comment)

I've tested the release compile output with IDE in the original PR, but my test workspace had only one `.rs` file 🤦 😢
  • Loading branch information
bors committed Aug 7, 2024
2 parents 0e282fc + ec0f00f commit 9f69ed3
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 9f69ed3

Please sign in to comment.