diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2012-08-07 14:24:04 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2012-08-07 14:25:53 -0700 |
| commit | 727c7c74994cf54baecab8ab6b03c50ace44d634 (patch) | |
| tree | 7a3d1ae73f49614ed0163ba20a03f23451d69f00 /src/libsyntax/ext/pipes | |
| parent | bc267c696c015525ea303e03d448d1507b6afeb6 (diff) | |
| download | rust-727c7c74994cf54baecab8ab6b03c50ace44d634.tar.gz rust-727c7c74994cf54baecab8ab6b03c50ace44d634.zip | |
rustc: Add stub support for struct variants to the AST
Diffstat (limited to 'src/libsyntax/ext/pipes')
| -rw-r--r-- | src/libsyntax/ext/pipes/ast_builder.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ext/pipes/ast_builder.rs b/src/libsyntax/ext/pipes/ast_builder.rs index b8c37f84452..06a22b63fe0 100644 --- a/src/libsyntax/ext/pipes/ast_builder.rs +++ b/src/libsyntax/ext/pipes/ast_builder.rs @@ -254,7 +254,7 @@ impl ast_builder of ext_ctxt_ast_builder for ext_ctxt { {node: {name: name, attrs: ~[], - args: args, + kind: ast::tuple_variant_kind(args), id: self.next_id(), disr_expr: none, vis: ast::public}, |
