about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-04-16 01:17:04 +0000
committerbors <bors@rust-lang.org>2015-04-16 01:17:04 +0000
commite40449e0d545561c73a9b9b324b5971b533a87b7 (patch)
tree1cc279da06782ef745b75c0dc0979a1ca5b82582 /src/libsyntax/parse
parentabf0548b5caaa389a5b29813132d2cf4c8b0f1ed (diff)
parent5a3a599428f5af024857d19b5d360b148e885fa2 (diff)
downloadrust-e40449e0d545561c73a9b9b324b5971b533a87b7.tar.gz
rust-e40449e0d545561c73a9b9b324b5971b533a87b7.zip
Auto merge of #24485 - brson:is, r=alexcrichton
It was an oversight that this was not done in the great int upheaval.

[breaking-change]
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/mod.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libsyntax/parse/mod.rs b/src/libsyntax/parse/mod.rs
index 226e2037b2f..4b7b7b66582 100644
--- a/src/libsyntax/parse/mod.rs
+++ b/src/libsyntax/parse/mod.rs
@@ -714,8 +714,6 @@ pub fn integer_lit(s: &str, suffix: Option<&str>, sd: &SpanHandler, sp: Span) ->
             "u16" => ast::UnsignedIntLit(ast::TyU16),
             "u32" => ast::UnsignedIntLit(ast::TyU32),
             "u64" => ast::UnsignedIntLit(ast::TyU64),
-            "is" => ast::SignedIntLit(ast::TyIs, ast::Plus),
-            "us" => ast::UnsignedIntLit(ast::TyUs),
             _ => {
                 // i<digits> and u<digits> look like widths, so lets
                 // give an error message along those lines