From 1493141bfdb478c42fb073ef6872540de3b125f0 Mon Sep 17 00:00:00 2001 From: Kevin Mehall Date: Fri, 26 Jul 2013 23:49:42 -0400 Subject: Add support for `..base` on static struct initializers. --- src/libsyntax/ast.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libsyntax') 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), -- cgit 1.4.1-3-g733a5