From cf540064492a724bcaa155a2a484eadb26e3e66c Mon Sep 17 00:00:00 2001 From: Florian Hartwig Date: Wed, 25 Nov 2015 16:28:29 +0100 Subject: [PATCH] Fixes to build with current rust nightly --- src/consts.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/consts.rs b/src/consts.rs index 1750495d1f3..791bf587bb5 100644 --- a/src/consts.rs +++ b/src/consts.rs @@ -195,9 +195,9 @@ impl fmt::Display for Constant { let (sign, suffix) = match *ity { LitIntType::SignedIntLit(ref sity, ref sign) => (if let Sign::Minus = *sign { "-" } else { "" }, - ast_util::int_ty_to_string(*sity, None)), + ast_util::int_ty_to_string(*sity)), LitIntType::UnsignedIntLit(ref uity) => - ("", ast_util::uint_ty_to_string(*uity, None)), + ("", ast_util::uint_ty_to_string(*uity)), LitIntType::UnsuffixedIntLit(ref sign) => (if let Sign::Minus = *sign { "-" } else { "" }, "".into()),