1
Fork 0

Add span information to ExprKind::Assign

This commit is contained in:
varkor 2019-12-22 21:08:53 +00:00
parent 5ab4735559
commit 35979a92bf
25 changed files with 69 additions and 62 deletions

View file

@ -1216,7 +1216,7 @@ pub enum ExprKind {
TryBlock(P<Block>),
/// An assignment (`a = foo()`).
Assign(P<Expr>, P<Expr>),
Assign(P<Expr>, P<Expr>, Span),
/// An assignment with an operator.
///
/// E.g., `a += 1`.