diff options
Diffstat (limited to 'src/test/compile-fail/liveness-block-unint.rs')
| -rw-r--r-- | src/test/compile-fail/liveness-block-unint.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/liveness-block-unint.rs b/src/test/compile-fail/liveness-block-unint.rs index 159c945f3c2..9438aa0e52e 100644 --- a/src/test/compile-fail/liveness-block-unint.rs +++ b/src/test/compile-fail/liveness-block-unint.rs @@ -12,6 +12,6 @@ fn force(f: &fn()) { f(); } fn main() { let x: int; force(|| { - info!(x); //~ ERROR capture of possibly uninitialized variable: `x` + info2!("{}", x); //~ ERROR capture of possibly uninitialized variable: `x` }); }  | 
