From 5ba7e55a4c42f6a53eccb60d4098b9422dd6e345 Mon Sep 17 00:00:00 2001 From: Erick Tryzelaar Date: Tue, 15 Jan 2013 15:03:49 -0800 Subject: convert ast::{ty_field_,ty_method} into a struct --- src/libsyntax/ext/pipes/ast_builder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libsyntax/ext') diff --git a/src/libsyntax/ext/pipes/ast_builder.rs b/src/libsyntax/ext/pipes/ast_builder.rs index 36ef9ac0cdf..0bd72790cad 100644 --- a/src/libsyntax/ext/pipes/ast_builder.rs +++ b/src/libsyntax/ext/pipes/ast_builder.rs @@ -167,7 +167,7 @@ impl ext_ctxt: ext_ctxt_ast_builder { fn ty_field_imm(name: ident, ty: @ast::Ty) -> ast::ty_field { spanned { - node: { + node: ast::ty_field_ { ident: name, mt: ast::mt { ty: ty, mutbl: ast::m_imm }, }, -- cgit 1.4.1-3-g733a5