aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/ra_syntax/src/parsing/reparsing.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/parsing/reparsing.rs b/crates/ra_syntax/src/parsing/reparsing.rs
index aad70d015..2d65b91f1 100644
--- a/crates/ra_syntax/src/parsing/reparsing.rs
+++ b/crates/ra_syntax/src/parsing/reparsing.rs
@@ -173,7 +173,6 @@ fn merge_errors(
173 173
174 for old_err in old_errors { 174 for old_err in old_errors {
175 let old_err_range = old_err.range(); 175 let old_err_range = old_err.range();
176 // FIXME: make sure that .start() was here previously by a mistake
177 if old_err_range.end() <= range_before_reparse.start() { 176 if old_err_range.end() <= range_before_reparse.start() {
178 res.push(old_err); 177 res.push(old_err);
179 } else if old_err_range.start() >= range_before_reparse.end() { 178 } else if old_err_range.start() >= range_before_reparse.end() {