Auto merge of #17824 - ShoyuVanilla:fix-diags, r=Veykril

fix: Native diagnostics not working

              This should be a `continue` now

_Originally posted by `@Veykril` in https://github.com/rust-lang/rust-analyzer/pull/17775#discussion_r1706845633_

I've tested the release compile output with IDE in the original PR, but my test workspace had only one `.rs` file 🤦 😢
This commit is contained in:
bors 2024-08-07 14:47:34 +00:00
commit 9f69ed32b2

View file

@ -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));