about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorKevin Mehall <km@kevinmehall.net>2013-07-26 23:49:42 -0400
committerKevin Mehall <km@kevinmehall.net>2013-07-28 22:07:27 -0400
commit1493141bfdb478c42fb073ef6872540de3b125f0 (patch)
treed81f4922881f7826ce267eca640e9f438e4dfeef /src/libsyntax
parent4cc3bbb83d3e45cac17537514d08257e5a94cc61 (diff)
downloadrust-1493141bfdb478c42fb073ef6872540de3b125f0.tar.gz
rust-1493141bfdb478c42fb073ef6872540de3b125f0.zip
Add support for `..base` on static struct initializers.
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/ast.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs
index 470e05223db..51c47acff0e 100644
--- a/src/libsyntax/ast.rs
+++ b/src/libsyntax/ast.rs
@@ -498,7 +498,7 @@ pub enum expr_ {
     expr_mac(mac),
 
     // A struct literal expression.
-    expr_struct(Path, ~[Field], Option<@expr>),
+    expr_struct(Path, ~[Field], Option<@expr> /* base */),
 
     // A vector literal constructed from one repeated element.
     expr_repeat(@expr /* element */, @expr /* count */, mutability),