diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-02-24 07:39:55 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-02-24 12:08:36 +0530 |
| commit | e711ac7e759b7668932b3d6a612ba7b1600e5234 (patch) | |
| tree | 92e3e1be41ea629c13047fac80b86784a152f680 | |
| parent | 54041c2711c1c0931ca7a58da1119ea53dd90140 (diff) | |
| download | rust-e711ac7e759b7668932b3d6a612ba7b1600e5234.tar.gz rust-e711ac7e759b7668932b3d6a612ba7b1600e5234.zip | |
Remove double expr_u32 (fixup #22700)
| -rw-r--r-- | src/libsyntax/ext/build.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libsyntax/ext/build.rs b/src/libsyntax/ext/build.rs index 5d9eeeeda1b..656d507ed69 100644 --- a/src/libsyntax/ext/build.rs +++ b/src/libsyntax/ext/build.rs @@ -708,9 +708,6 @@ impl<'a> AstBuilder for ExtCtxt<'a> { fn expr_u8(&self, sp: Span, u: u8) -> P<ast::Expr> { self.expr_lit(sp, ast::LitInt(u as u64, ast::UnsignedIntLit(ast::TyU8))) } - fn expr_u32(&self, sp: Span, u: u32) -> P<ast::Expr> { - self.expr_lit(sp, ast::LitInt(u as u64, ast::UnsignedIntLit(ast::TyU32))) - } fn expr_bool(&self, sp: Span, value: bool) -> P<ast::Expr> { self.expr_lit(sp, ast::LitBool(value)) } |
