Fix missing parameter in panic!

This commit is contained in:
mcarton 2015-12-23 22:36:37 +01:00
parent 69c9edee54
commit 4958878ad2

View File

@ -75,7 +75,7 @@ impl Constant {
if let ConstantInt(val, _) = *self {
val // TODO we may want to check the sign if any
} else {
panic!("Could not convert a {:?} to u64");
panic!("Could not convert a {:?} to u64", self);
}
}