about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorOliver Schneider <git-spam-no-reply9815368754983@oli-obk.de>2016-02-08 17:16:23 +0100
committerOliver Schneider <git-spam-no-reply9815368754983@oli-obk.de>2016-02-11 12:34:48 +0100
commit498a2e416e693fa22042d3ae81c5c969fc87fe5c (patch)
tree89ea2ea8bf0331d47b38059501df2cede6cdd5bd /src/libsyntax/parse/parser.rs
parent69072c4f5d18d7a1762fbfb007b0ba3d6b59ad33 (diff)
downloadrust-498a2e416e693fa22042d3ae81c5c969fc87fe5c.tar.gz
rust-498a2e416e693fa22042d3ae81c5c969fc87fe5c.zip
[breaking-change] don't pub export ast::IntLitType variants
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
-rw-r--r--src/libsyntax/parse/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index d3b92ac0c0c..85a5b5b3068 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -2014,7 +2014,7 @@ impl<'a> Parser<'a> {
     pub fn mk_lit_u32(&mut self, i: u32, attrs: ThinAttributes) -> P<Expr> {
         let span = &self.span;
         let lv_lit = P(codemap::Spanned {
-            node: LitKind::Int(i as u64, ast::UnsignedIntLit(UintTy::U32)),
+            node: LitKind::Int(i as u64, ast::LitIntType::Unsigned(UintTy::U32)),
             span: *span
         });