about summary refs log tree commit diff
path: root/src/test/run-pass/expr-match-struct.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/expr-match-struct.rs')
-rw-r--r--src/test/run-pass/expr-match-struct.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/expr-match-struct.rs b/src/test/run-pass/expr-match-struct.rs
index 7cfcc38f8dd..7fa58a535b0 100644
--- a/src/test/run-pass/expr-match-struct.rs
+++ b/src/test/run-pass/expr-match-struct.rs
@@ -17,7 +17,7 @@
 struct R { i: int }
 
 fn test_rec() {
-    let rs = match true { true => R {i: 100}, _ => fail!() };
+    let rs = match true { true => R {i: 100}, _ => fail2!() };
     assert_eq!(rs.i, 100);
 }