Use Edition::CURRENT

This commit is contained in:
Lukas Wirth 2024-04-14 15:29:09 +02:00
parent 9c75e9fa7d
commit 83370fe5d7
16 changed files with 17 additions and 19 deletions

View file

@ -196,7 +196,7 @@ where
while iter.peek_n(0).is_some() {
let expanded =
iter.expect_fragment(parser::PrefixEntryPoint::Expr, parser::Edition::Edition2021);
iter.expect_fragment(parser::PrefixEntryPoint::Expr, parser::Edition::CURRENT);
res.push(match expanded.value {
None => break,