about summary refs log tree commit diff
path: root/src/test/run-pass/expr-match-struct.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-09-29 19:23:57 -0700
committerAlex Crichton <alex@alexcrichton.com>2013-09-30 23:21:19 -0700
commit630082ca8946ff2d0e814a73a2594ba65e1b29be (patch)
tree6036f66a31aab78eaa6532e567195546c053a299 /src/test/run-pass/expr-match-struct.rs
parent86e613c632ce156360bdf6e80f6f82ed5ab3b838 (diff)
downloadrust-630082ca8946ff2d0e814a73a2594ba65e1b29be.tar.gz
rust-630082ca8946ff2d0e814a73a2594ba65e1b29be.zip
rpass: Remove usage of fmt!
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);
 }