diff options
Diffstat (limited to 'src/test/compile-fail/liveness-if-with-else.rs')
| -rw-r--r-- | src/test/compile-fail/liveness-if-with-else.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/liveness-if-with-else.rs b/src/test/compile-fail/liveness-if-with-else.rs index e2cf820f191..cf13f7117ee 100644 --- a/src/test/compile-fail/liveness-if-with-else.rs +++ b/src/test/compile-fail/liveness-if-with-else.rs @@ -8,12 +8,12 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -fn foo(x: int) { info!(x); } +fn foo(x: int) { info2!("{:?}", x); } fn main() { let x: int; if 1 > 2 { - info!("whoops"); + info2!("whoops"); } else { x = 10; } |
