mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 21:54:42 +00:00
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
9f69ed32b2
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…
Reference in a new issue