diff options
| author | Oliver Schneider <git-spam-no-reply9815368754983@oli-obk.de> | 2016-02-08 17:16:23 +0100 |
|---|---|---|
| committer | Oliver Schneider <git-spam-no-reply9815368754983@oli-obk.de> | 2016-02-11 12:34:48 +0100 |
| commit | 498a2e416e693fa22042d3ae81c5c969fc87fe5c (patch) | |
| tree | 89ea2ea8bf0331d47b38059501df2cede6cdd5bd /src/libsyntax/print/pprust.rs | |
| parent | 69072c4f5d18d7a1762fbfb007b0ba3d6b59ad33 (diff) | |
| download | rust-498a2e416e693fa22042d3ae81c5c969fc87fe5c.tar.gz rust-498a2e416e693fa22042d3ae81c5c969fc87fe5c.zip | |
[breaking-change] don't pub export ast::IntLitType variants
Diffstat (limited to 'src/libsyntax/print/pprust.rs')
| -rw-r--r-- | src/libsyntax/print/pprust.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs index 96c5d116629..8d29cb39d3a 100644 --- a/src/libsyntax/print/pprust.rs +++ b/src/libsyntax/print/pprust.rs @@ -645,14 +645,14 @@ pub trait PrintState<'a> { } ast::LitKind::Int(i, t) => { match t { - ast::SignedIntLit(st) => { + ast::LitIntType::Signed(st) => { word(self.writer(), &st.val_to_string(i as i64)) } - ast::UnsignedIntLit(ut) => { + ast::LitIntType::Unsigned(ut) => { word(self.writer(), &ut.val_to_string(i)) } - ast::UnsuffixedIntLit => { + ast::LitIntType::Unsuffixed => { word(self.writer(), &format!("{}", i)) } } |
