Syntatically accept become
expressions
This commit is contained in:
parent
8d1fa473dd
commit
d7713feb99
14 changed files with 71 additions and 2 deletions
|
@ -320,6 +320,7 @@ impl<'cx, 'a> Context<'cx, 'a> {
|
|||
| ExprKind::Underscore
|
||||
| ExprKind::While(_, _, _)
|
||||
| ExprKind::Yeet(_)
|
||||
| ExprKind::Become(_)
|
||||
| ExprKind::Yield(_) => {}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue