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:
commit
7614de46ae
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
|
||||
return;
|
||||
continue;
|
||||
}
|
||||
if *old_gen < generation || generation == 0 {
|
||||
target.insert(file_id, (generation, diagnostics));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue