diff options
| author | Shoyu Vanilla <modulo641@gmail.com> | 2024-08-07 23:33:39 +0900 |
|---|---|---|
| committer | Shoyu Vanilla <modulo641@gmail.com> | 2024-08-07 23:33:39 +0900 |
| commit | d366706cc3519f646fc65bcd006c2c4f1cbb250e (patch) | |
| tree | b89d50e86824402ac4444c34504f692186dbba6c /src | |
| parent | 6fc5d09ab28049c6e46af24472364aa2edf6e18f (diff) | |
| download | rust-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.rs | 2 |
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)); |
