about summary refs log tree commit diff
path: root/src/test/bench/shootout-meteor.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/bench/shootout-meteor.rs')
-rw-r--r--src/test/bench/shootout-meteor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/bench/shootout-meteor.rs b/src/test/bench/shootout-meteor.rs
index 8e837864185..6e80c07a1a2 100644
--- a/src/test/bench/shootout-meteor.rs
+++ b/src/test/bench/shootout-meteor.rs
@@ -207,7 +207,7 @@ fn get_id(m: u64) -> u8 {
     for id in range(0u8, 10) {
         if m & (1 << (id + 50) as uint) != 0 {return id;}
     }
-    fail!("{:016x} does not have a valid identifier", m);
+    panic!("{:016x} does not have a valid identifier", m);
 }
 
 // Converts a list of mask to a Vec<u8>.