aboutsummaryrefslogtreecommitdiff
path: root/src/lib/_uint.rs
diff options
context:
space:
mode:
authorPatrick Walton <[email protected]>2010-11-18 14:17:17 -0800
committerPatrick Walton <[email protected]>2010-11-18 14:19:06 -0800
commit77ff12c435aeb6181ee2678a526b6f6ea3831938 (patch)
tree499fd7149a5fc2a9f0f8c9201b4e2e21c4231f26 /src/lib/_uint.rs
parentUpdate frame logic to be compatible with SysV x86 ABI. Improves diagnostics. (diff)
downloadrust-77ff12c435aeb6181ee2678a526b6f6ea3831938.tar.xz
rust-77ff12c435aeb6181ee2678a526b6f6ea3831938.zip
rustboot: Don't use walk to traverse statements in type.ml; fixes redundant checking, improves diagnostics. Also report untyped slots.
Diffstat (limited to 'src/lib/_uint.rs')
-rw-r--r--src/lib/_uint.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/_uint.rs b/src/lib/_uint.rs
index 7fa4ea02..79b5fa24 100644
--- a/src/lib/_uint.rs
+++ b/src/lib/_uint.rs
@@ -55,6 +55,7 @@ fn to_str(mutable uint n, uint radix) -> str
case (14u) { ret 'e'; }
case (15u) { ret 'f'; }
}
+ fail;
}
if (n == 0u) { ret "0"; }