diff options
| author | Adolfo OchagavĂa <aochagavia92@gmail.com> | 2014-11-23 12:14:35 +0100 |
|---|---|---|
| committer | Adolfo OchagavĂa <aochagavia92@gmail.com> | 2014-11-23 12:17:43 +0100 |
| commit | 35316972ff2e7ea02a4583141d3ac69b79610067 (patch) | |
| tree | 0cbf393272f214705891aea92023bf2d5a6fb0fc /src/libsyntax/ext | |
| parent | 9a857b4472142b6d0bf65e9185c4c2619e722fb0 (diff) | |
| download | rust-35316972ff2e7ea02a4583141d3ac69b79610067.tar.gz rust-35316972ff2e7ea02a4583141d3ac69b79610067.zip | |
Remove type parameters from ExprField and ExprTupField
Diffstat (limited to 'src/libsyntax/ext')
| -rw-r--r-- | src/libsyntax/ext/build.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/ext/build.rs b/src/libsyntax/ext/build.rs index b18a0c8411c..2c7f9e889f8 100644 --- a/src/libsyntax/ext/build.rs +++ b/src/libsyntax/ext/build.rs @@ -577,7 +577,7 @@ impl<'a> AstBuilder for ExtCtxt<'a> { }; let id = Spanned { node: ident, span: field_span }; - self.expr(sp, ast::ExprField(expr, id, Vec::new())) + self.expr(sp, ast::ExprField(expr, id)) } fn expr_tup_field_access(&self, sp: Span, expr: P<ast::Expr>, idx: uint) -> P<ast::Expr> { let field_span = Span { @@ -587,7 +587,7 @@ impl<'a> AstBuilder for ExtCtxt<'a> { }; let id = Spanned { node: idx, span: field_span }; - self.expr(sp, ast::ExprTupField(expr, id, Vec::new())) + self.expr(sp, ast::ExprTupField(expr, id)) } fn expr_addr_of(&self, sp: Span, e: P<ast::Expr>) -> P<ast::Expr> { self.expr(sp, ast::ExprAddrOf(ast::MutImmutable, e)) |
