Add span information to ExprKind::Assign
This commit is contained in:
parent
5ab4735559
commit
35979a92bf
25 changed files with 69 additions and 62 deletions
|
@ -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`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue