aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-02-18 13:23:45 +0000
committerGitHub <[email protected]>2020-02-18 13:23:45 +0000
commite59445cdde30cb73bc72e2266032f5e0125e6805 (patch)
tree9786a0f3b2e13aaf714cc5e96b83656f3a09696e
parentc447fe9bc06006a7080da782cf67d739c91b534c (diff)
parent583b1e155a8f1489b7b3e2e1d2e8da050822f5bf (diff)
Merge #3217
3217: Remove dat FIXME r=matklad a=Veetaha Co-authored-by: Veetaha <[email protected]>
-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() {