diff options
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_syntax/src/parsing/reparsing.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/parsing/reparsing.rs b/crates/ra_syntax/src/parsing/reparsing.rs index 4faeeab45..57453e220 100644 --- a/crates/ra_syntax/src/parsing/reparsing.rs +++ b/crates/ra_syntax/src/parsing/reparsing.rs | |||
@@ -168,7 +168,7 @@ fn merge_errors( | |||
168 | let mut res = Vec::new(); | 168 | let mut res = Vec::new(); |
169 | 169 | ||
170 | for old_err in old_errors { | 170 | for old_err in old_errors { |
171 | let old_err_range = *old_err.range(); | 171 | let old_err_range = old_err.range(); |
172 | // FIXME: make sure that .start() was here previously by a mistake | 172 | // FIXME: make sure that .start() was here previously by a mistake |
173 | if old_err_range.end() <= range_before_reparse.start() { | 173 | if old_err_range.end() <= range_before_reparse.start() { |
174 | res.push(old_err); | 174 | res.push(old_err); |