diff options
| author | Patrick Walton <[email protected]> | 2010-10-12 16:30:44 -0700 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2010-10-12 16:30:44 -0700 |
| commit | 81a43ef6980e19f3965d2cbbe109a9c6f82fe287 (patch) | |
| tree | 777baeda9bce74c5fc0e8b7db04ece576f6bfe58 /src/comp/front/ast.rs | |
| parent | rustc: Parse box types (diff) | |
| download | rust-81a43ef6980e19f3965d2cbbe109a9c6f82fe287.tar.xz rust-81a43ef6980e19f3965d2cbbe109a9c6f82fe287.zip | |
rustc: Add mutability to tuple literals
Diffstat (limited to 'src/comp/front/ast.rs')
| -rw-r--r-- | src/comp/front/ast.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/front/ast.rs b/src/comp/front/ast.rs index 1425db61..a7ef4e65 100644 --- a/src/comp/front/ast.rs +++ b/src/comp/front/ast.rs @@ -83,7 +83,7 @@ tag decl_ { type expr = spanned[expr_]; tag expr_ { expr_vec(vec[@expr]); - expr_tup(vec[@expr]); + expr_tup(vec[tup(bool /* mutability */, @expr)]); expr_rec(vec[tup(ident,@expr)]); expr_call(@expr, vec[@expr]); expr_binary(binop, @expr, @expr); |