about summary refs log tree commit diff
path: root/src/test/run-pass/parse-fail.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/parse-fail.rs')
-rw-r--r--src/test/run-pass/parse-fail.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/parse-fail.rs b/src/test/run-pass/parse-fail.rs
index 34c5bf0234f..0dbba3654b6 100644
--- a/src/test/run-pass/parse-fail.rs
+++ b/src/test/run-pass/parse-fail.rs
@@ -10,6 +10,6 @@
 
 #![allow(unreachable_code)]
 
-fn dont_call_me() { fail!(); println!("{}", 1i); }
+fn dont_call_me() { panic!(); println!("{}", 1i); }
 
 pub fn main() { }