about summary refs log tree commit diff
path: root/src/test/run-pass/while-loop-constraints-2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/while-loop-constraints-2.rs')
-rw-r--r--src/test/run-pass/while-loop-constraints-2.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/while-loop-constraints-2.rs b/src/test/run-pass/while-loop-constraints-2.rs
index fb629a8deae..a07d122c8e2 100644
--- a/src/test/run-pass/while-loop-constraints-2.rs
+++ b/src/test/run-pass/while-loop-constraints-2.rs
@@ -18,7 +18,7 @@ pub fn main() {
     while z < 50 {
         z += 1;
         while false { x = y; y = z; }
-        info!(y);
+        info2!("{}", y);
     }
     assert!((y == 42 && z == 50));
 }