diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-09-29 19:23:57 -0700 | 
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-09-30 23:21:19 -0700 | 
| commit | 630082ca8946ff2d0e814a73a2594ba65e1b29be (patch) | |
| tree | 6036f66a31aab78eaa6532e567195546c053a299 /src/test/run-pass/expr-match-struct.rs | |
| parent | 86e613c632ce156360bdf6e80f6f82ed5ab3b838 (diff) | |
| download | rust-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.rs | 2 | 
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); } | 
