Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/syntax/src/parsing/reparsing.rs')
-rw-r--r--crates/syntax/src/parsing/reparsing.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/syntax/src/parsing/reparsing.rs b/crates/syntax/src/parsing/reparsing.rs
index 5186d48c61..43435056c4 100644
--- a/crates/syntax/src/parsing/reparsing.rs
+++ b/crates/syntax/src/parsing/reparsing.rs
@@ -27,7 +27,7 @@ pub(crate) fn incremental_reparse(
}
if let Some((green, new_errors, old_range)) =
- reparse_block(node, edit, parser::Edition::Edition2021)
+ reparse_block(node, edit, parser::Edition::CURRENT)
{
return Some((green, merge_errors(errors, new_errors, old_range, edit), old_range));
}