about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorShoyu Vanilla <modulo641@gmail.com>2024-08-07 23:33:39 +0900
committerShoyu Vanilla <modulo641@gmail.com>2024-08-07 23:33:39 +0900
commitd366706cc3519f646fc65bcd006c2c4f1cbb250e (patch)
treeb89d50e86824402ac4444c34504f692186dbba6c /src
parent6fc5d09ab28049c6e46af24472364aa2edf6e18f (diff)
downloadrust-d366706cc3519f646fc65bcd006c2c4f1cbb250e.tar.gz
rust-d366706cc3519f646fc65bcd006c2c4f1cbb250e.zip
Fix native diagnostics not working
Diffstat (limited to 'src')
-rw-r--r--src/tools/rust-analyzer/crates/rust-analyzer/src/diagnostics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/rust-analyzer/crates/rust-analyzer/src/diagnostics.rs b/src/tools/rust-analyzer/crates/rust-analyzer/src/diagnostics.rs
index b99a8de2fc2..034c49c3d5c 100644
--- a/src/tools/rust-analyzer/crates/rust-analyzer/src/diagnostics.rs
+++ b/src/tools/rust-analyzer/crates/rust-analyzer/src/diagnostics.rs
@@ -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));