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 cd5d089c361..7d4a74fe32c 100644
--- a/src/test/run-pass/parse-fail.rs
+++ b/src/test/run-pass/parse-fail.rs
@@ -11,6 +11,6 @@
 #[allow(unreachable_code)];
 
 // -*- rust -*-
-fn dont_call_me() { fail!(); info!(1); }
+fn dont_call_me() { fail2!(); info2!("{}", 1); }
 
 pub fn main() { }