Skip to content

Commit e711ac7

Browse files
committed
Remove double expr_u32 (fixup rust-lang#22700)
1 parent 54041c2 commit e711ac7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/libsyntax/ext/build.rs

-3
Original file line numberDiff line numberDiff line change
@@ -708,9 +708,6 @@ impl<'a> AstBuilder for ExtCtxt<'a> {
708708
fn expr_u8(&self, sp: Span, u: u8) -> P<ast::Expr> {
709709
self.expr_lit(sp, ast::LitInt(u as u64, ast::UnsignedIntLit(ast::TyU8)))
710710
}
711-
fn expr_u32(&self, sp: Span, u: u32) -> P<ast::Expr> {
712-
self.expr_lit(sp, ast::LitInt(u as u64, ast::UnsignedIntLit(ast::TyU32)))
713-
}
714711
fn expr_bool(&self, sp: Span, value: bool) -> P<ast::Expr> {
715712
self.expr_lit(sp, ast::LitBool(value))
716713
}

0 commit comments

Comments
 (0)