summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2019-12-22 23:09:54 +0000
committervarkor <github@varkor.com>2019-12-23 11:20:13 +0000
commit9a602243c422f183f574ff53e5d3e9e85fcc1210 (patch)
treeb01c52309fd74cf74ca91d0940f3366aa9648415 /src/libsyntax
parent35979a92bf6dba402885a1488ecfd84046e4bd71 (diff)
downloadrust-9a602243c422f183f574ff53e5d3e9e85fcc1210.tar.gz
rust-9a602243c422f183f574ff53e5d3e9e85fcc1210.zip
Add new folder for destructuring assignment tests
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/ast.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs
index c00fc761a6a..c98942abaf3 100644
--- a/src/libsyntax/ast.rs
+++ b/src/libsyntax/ast.rs
@@ -1216,6 +1216,7 @@ pub enum ExprKind {
     TryBlock(P<Block>),
 
     /// An assignment (`a = foo()`).
+    /// The `Span` argument is the span of the `=` token.
     Assign(P<Expr>, P<Expr>, Span),
     /// An assignment with an operator.
     ///