]> git.lizzy.rs Git - rust.git/commitdiff
Remove double expr_u32 (fixup #22700)
authorManish Goregaokar <manishsmail@gmail.com>
Tue, 24 Feb 2015 02:09:55 +0000 (07:39 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Tue, 24 Feb 2015 06:38:36 +0000 (12:08 +0530)
src/libsyntax/ext/build.rs

index 5d9eeeeda1b82cdf5e9547f8e48c5831990cd527..656d507ed69b826952ecbe61bb354f1c72c69836 100644 (file)
@@ -708,9 +708,6 @@ fn expr_u32(&self, sp: Span, u: u32) -> P<ast::Expr> {
     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))
     }