about summary refs log tree commit diff
path: root/src/test/run-fail/borrowck-wg-two-array-indices.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-fail/borrowck-wg-two-array-indices.rs')
-rw-r--r--src/test/run-fail/borrowck-wg-two-array-indices.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-fail/borrowck-wg-two-array-indices.rs b/src/test/run-fail/borrowck-wg-two-array-indices.rs
index ad684488760..98bb72c9340 100644
--- a/src/test/run-fail/borrowck-wg-two-array-indices.rs
+++ b/src/test/run-fail/borrowck-wg-two-array-indices.rs
@@ -13,5 +13,5 @@ pub fn main()
     let z = @mut [1,2,3];
     let z2 = z;
     add(&mut z[0], &mut z2[0]);
-    print(fmt!("%d\n", z[0]));
+    printfln!("%d", z[0]);
 }