diff options
| author | Eduard Burtescu <edy.burt@gmail.com> | 2014-10-01 00:59:56 +0300 |
|---|---|---|
| committer | Eduard Burtescu <edy.burt@gmail.com> | 2014-10-02 16:36:01 +0300 |
| commit | d1a57e479c13804e1cda5658f482e840c3a1cd79 (patch) | |
| tree | e23dd7e5885a6b5dc2426228bddb5511c6d31f18 /src/libsyntax/ext | |
| parent | a99e626d07b62cfea5711f018b1497f8bdc04e90 (diff) | |
| download | rust-d1a57e479c13804e1cda5658f482e840c3a1cd79.tar.gz rust-d1a57e479c13804e1cda5658f482e840c3a1cd79.zip | |
syntax: ast: remove TyBox and UnBox.
Diffstat (limited to 'src/libsyntax/ext')
| -rw-r--r-- | src/libsyntax/ext/build.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libsyntax/ext/build.rs b/src/libsyntax/ext/build.rs index f2b806f43cc..1fdb6dd505f 100644 --- a/src/libsyntax/ext/build.rs +++ b/src/libsyntax/ext/build.rs @@ -112,7 +112,6 @@ pub trait AstBuilder { fn expr_deref(&self, sp: Span, e: P<ast::Expr>) -> P<ast::Expr>; fn expr_unary(&self, sp: Span, op: ast::UnOp, e: P<ast::Expr>) -> P<ast::Expr>; - fn expr_managed(&self, sp: Span, e: P<ast::Expr>) -> P<ast::Expr>; fn expr_addr_of(&self, sp: Span, e: P<ast::Expr>) -> P<ast::Expr>; fn expr_mut_addr_of(&self, sp: Span, e: P<ast::Expr>) -> P<ast::Expr>; fn expr_field_access(&self, span: Span, expr: P<ast::Expr>, ident: ast::Ident) -> P<ast::Expr>; @@ -565,10 +564,6 @@ impl<'a> AstBuilder for ExtCtxt<'a> { self.expr(sp, ast::ExprUnary(op, e)) } - fn expr_managed(&self, sp: Span, e: P<ast::Expr>) -> P<ast::Expr> { - self.expr_unary(sp, ast::UnBox, e) - } - fn expr_field_access(&self, sp: Span, expr: P<ast::Expr>, ident: ast::Ident) -> P<ast::Expr> { let field_name = token::get_ident(ident); let field_span = Span { |
