diff options
| author | Erick Tryzelaar <erick.tryzelaar@gmail.com> | 2013-01-15 15:03:49 -0800 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2013-01-20 14:08:18 -0800 |
| commit | 5ba7e55a4c42f6a53eccb60d4098b9422dd6e345 (patch) | |
| tree | e14c312fe4142afe1528c43f0e306a8a61244864 /src/libsyntax/ext | |
| parent | 8cdc3fda11b2e341f305c03678a04c6bb01ce635 (diff) | |
| download | rust-5ba7e55a4c42f6a53eccb60d4098b9422dd6e345.tar.gz rust-5ba7e55a4c42f6a53eccb60d4098b9422dd6e345.zip | |
convert ast::{ty_field_,ty_method} into a struct
Diffstat (limited to 'src/libsyntax/ext')
| -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 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 }, }, |
