diff options
Diffstat (limited to 'src/test/compile-fail/match-join.rs')
| -rw-r--r-- | src/test/compile-fail/match-join.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/match-join.rs b/src/test/compile-fail/match-join.rs index 818671e1133..5d9ae958ce0 100644 --- a/src/test/compile-fail/match-join.rs +++ b/src/test/compile-fail/match-join.rs @@ -11,11 +11,11 @@ // a good test that we merge paths correctly in the presence of a // variable that's used before it's declared -fn my_fail() -> ! { fail!(); } +fn my_fail() -> ! { fail2!(); } fn main() { match true { false => { my_fail(); } true => { } } - info!(x); //~ ERROR unresolved name `x`. + info2!("{:?}", x); //~ ERROR unresolved name `x`. let x: int; } |
