Syntatically accept become expressions

This commit is contained in:
Maybe Waffle 2022-11-16 18:36:17 +00:00
parent 8d1fa473dd
commit d7713feb99
14 changed files with 71 additions and 2 deletions

View file

@ -320,6 +320,7 @@ impl<'cx, 'a> Context<'cx, 'a> {
| ExprKind::Underscore
| ExprKind::While(_, _, _)
| ExprKind::Yeet(_)
| ExprKind::Become(_)
| ExprKind::Yield(_) => {}
}
}