diff options
Diffstat (limited to 'src/test/compile-fail/liveness-while-break.rs')
| -rw-r--r-- | src/test/compile-fail/liveness-while-break.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/liveness-while-break.rs b/src/test/compile-fail/liveness-while-break.rs index 712d586852a..02d8656baff 100644 --- a/src/test/compile-fail/liveness-while-break.rs +++ b/src/test/compile-fail/liveness-while-break.rs @@ -14,7 +14,7 @@ fn test(cond: bool) { v = 3; break; } - info!("%d", v); //~ ERROR use of possibly uninitialized variable: `v` + info2!("{}", v); //~ ERROR use of possibly uninitialized variable: `v` } fn main() { |
