[breaking-change] don't pub export ast::IntLitType variants

This commit is contained in:
Oliver Schneider
2016-02-08 17:16:23 +01:00
parent 69072c4f5d
commit 498a2e416e
11 changed files with 42 additions and 43 deletions

View File

@@ -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))
}
}