]> git.lizzy.rs Git - rust.git/commitdiff
Merge pull request #472 from fhartwig/more-rustup
authorManish Goregaokar <manishsmail@gmail.com>
Wed, 25 Nov 2015 15:42:10 +0000 (21:12 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Wed, 25 Nov 2015 15:42:10 +0000 (21:12 +0530)
Fixes to build with current rust nightly

src/consts.rs

index 1750495d1f36fed6af0f81160a81f64d31e394f5..791bf587bb5b65e4246dbf5ef23ef7edf255be68 100644 (file)
@@ -195,9 +195,9 @@ fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
                 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()),