about summary refs log tree commit diff
path: root/src/test/compile-fail/borrowck-while-break.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/borrowck-while-break.rs')
-rw-r--r--src/test/compile-fail/borrowck-while-break.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/borrowck-while-break.rs b/src/test/compile-fail/borrowck-while-break.rs
index e5d4b6ef48c..8cdf1da5c93 100644
--- a/src/test/compile-fail/borrowck-while-break.rs
+++ b/src/test/compile-fail/borrowck-while-break.rs
@@ -14,7 +14,7 @@ fn test(cond: bool) {
         v = 3;
         break;
     }
-    info!("{}", v); //~ ERROR use of possibly uninitialized variable: `v`
+    println!("{}", v); //~ ERROR use of possibly uninitialized variable: `v`
 }
 
 fn main() {